New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23294 (closed defect: wontfix)

Opened 5 years ago

Last modified 4 years ago

mumble-1.21 Build failure

Reported by: boydb@… Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: tiger Cc:
Port: mumble

Description (last modified by snc@…) (diff)

Attempting to build mumble on an Intel Mac running 10.4.11:

$ sudo port install mumble
--->  Computing dependencies for mumble
--->  Building mumble
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1" && /usr/bin/make -j1 all " returned error 2
Command output: cd speexbuild/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
/usr/bin/gcc-4.2 -c -pipe -Wfatal-errors -Wshadow -Wconversion -Wsign-compare -fvisibility=hidden -mmacosx-version-min=10.4 -Xarch_i386 -mmmx -Xarch_i386 -msse -Xarch_i386 -msse2 -O2 -fPIC -w -arch i386 -isysroot /SDKs/MacOSX10.5.sdk -DNO_UPDATE_CHECK -DRESTRICT=__restrict__ -DNDEBUG -DHAVE_CONFIG_H -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I../speex/include -I../speex/libspeex -I../speexbuild -o release/mdf.o ../speex/libspeex/mdf.c
make[2]: /usr/bin/gcc-4.2: Command not found
make[2]: *** [release/mdf.o] Error 127
make[1]: *** [release-all] Error 2
make: *** [sub-speexbuild-all-ordered] Error 2

Error: Status 1 encountered during processing.
$ sudo port -d install mumble
... snip ...
--->  Building mumble
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (mumble)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' QMAKESPEC='/opt/local/libexec/qt4-mac/mkspecs/macx-g++'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1" && /usr/bin/make -j1 all'
cd speexbuild/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
/usr/bin/gcc-4.2 -c -pipe -Wfatal-errors -Wshadow -Wconversion -Wsign-compare -fvisibility=hidden -mmacosx-version-min=10.4 -Xarch_i386 -mmmx -Xarch_i386 -msse -Xarch_i386 -msse2 -O2 -fPIC -w -arch i386 -isysroot /SDKs/MacOSX10.5.sdk -DNO_UPDATE_CHECK -DRESTRICT=__restrict__ -DNDEBUG -DHAVE_CONFIG_H -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I../speex/include -I../speex/libspeex -I../speexbuild -o release/mdf.o ../speex/libspeex/mdf.c
make[2]: /usr/bin/gcc-4.2: Command not found
make[2]: *** [release/mdf.o] Error 127
make[1]: *** [release-all] Error 2
make: *** [sub-speexbuild-all-ordered] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1" && /usr/bin/make -j1 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1" && /usr/bin/make -j1 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for mumble): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Not sure where the actual error is being thrown, though this is the second error in the build process; building the qt4-mac dependency on this 10.4.11 box generated an error as outlined in this bug, and was worked around as per my comment there.

Change History

comment:1 Changed 5 years ago by jmr@…

  • Cc boydb@… removed
  • Owner changed from macports-tickets@… to snc@…
  • Port changed from mumble, qt4-mac to mumble

If you're running on a 10.3.9 system it's the strangest one I've ever seen. Check "About This Mac".

comment:2 Changed 5 years ago by jmr@…

Or maybe not, given that gcc-4.2 is not found... Panther has not been supported since 2007 when Leopard was released. I'm curious how you managed to get 1.8.2 installed, if that's indeed the base version you are running.

comment:3 Changed 5 years ago by snc@…

If I'm not mistaken, gcc4.2 wasn't shipped until 10.5.

comment:4 Changed 5 years ago by snc@…

Also, keep in mind in the compile flags:

-mmacosx-version-min=10.4

comment:5 Changed 5 years ago by jmr@…

And just to complete the confusion, Panther doesn't run on Intel Macs.

comment:6 follow-up: ↓ 8 Changed 5 years ago by boydb@…

Bad me! Sorry for all the confusion; my laptop runs 10.3.9, which is what I'm using to writing bugs about (since it's getting rather old for the paces I put it through). The tower that this bug is generating on is running 10.4.11 (2 Dual core Xeon Intel Mac Pro tower).

comment:7 Changed 5 years ago by jmr@…

  • Keywords tiger added

comment:8 in reply to: ↑ 6 ; follow-up: ↓ 11 Changed 5 years ago by snc@…

Replying to boydb@…:

Can you verify that you have GCC 4.2? It's either the case of a missing compiler or we need to make sure we're UsingTheRightCompiler.

comment:9 follow-up: ↓ 12 Changed 5 years ago by snc@…

  • Description modified (diff)

comment:10 Changed 5 years ago by jmr@…

Tiger doesn't have gcc-4.2.

comment:11 in reply to: ↑ 8 Changed 5 years ago by boydb@…

Replying to snc@…:

Replying to boydb@…:

Can you verify that you have GCC 4.2? It's either the case of a missing compiler or we need to make sure we're UsingTheRightCompiler.

Aha, there's the error:

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)

So I've got version 4.0, where 4.2 is trying to be called. Following the instructions on the UsingTheRightCompiler seem to reveal that this makefile isn't using the proper variables, right?

$ sudo port install mumble configure.compiler=apple-gcc-4.0
Password:
--->  Computing dependencies for mumble
--->  Building mumble
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1" && /usr/bin/make -j1 all " returned error 2
Command output: cd speexbuild/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
/usr/bin/gcc-4.2 -c -pipe -Wfatal-errors -Wshadow -Wconversion -Wsign-compare -fvisibility=hidden -mmacosx-version-min=10.4 -Xarch_i386 -mmmx -Xarch_i386 -msse -Xarch_i386 -msse2 -O2 -fPIC -w -arch i386 -isysroot /SDKs/MacOSX10.5.sdk -DNO_UPDATE_CHECK -DRESTRICT=__restrict__ -DNDEBUG -DHAVE_CONFIG_H -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I../speex/include -I../speex/libspeex -I../speexbuild -o release/mdf.o ../speex/libspeex/mdf.c
make[2]: /usr/bin/gcc-4.2: Command not found
make[2]: *** [release/mdf.o] Error 127
make[1]: *** [release-all] Error 2
make: *** [sub-speexbuild-all-ordered] Error 2

Error: Status 1 encountered during processing.
sudo port install mumble configure.compiler=gcc-4.0
--->  Computing dependencies for mumble
--->  Building mumble
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1" && /usr/bin/make -j1 all " returned error 2
Command output: cd speexbuild/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
/usr/bin/gcc-4.2 -c -pipe -Wfatal-errors -Wshadow -Wconversion -Wsign-compare -fvisibility=hidden -mmacosx-version-min=10.4 -Xarch_i386 -mmmx -Xarch_i386 -msse -Xarch_i386 -msse2 -O2 -fPIC -w -arch i386 -isysroot /SDKs/MacOSX10.5.sdk -DNO_UPDATE_CHECK -DRESTRICT=__restrict__ -DNDEBUG -DHAVE_CONFIG_H -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I../speex/include -I../speex/libspeex -I../speexbuild -o release/mdf.o ../speex/libspeex/mdf.c
make[2]: /usr/bin/gcc-4.2: Command not found
make[2]: *** [release/mdf.o] Error 127
make[1]: *** [release-all] Error 2
make: *** [sub-speexbuild-all-ordered] Error 2

Error: Status 1 encountered during processing.

So, it looks like this port's makefile needs a patch? Someone more skilled at that than I want to tackle that?

comment:12 in reply to: ↑ 9 Changed 5 years ago by boydb@…

Replying to snc@…: You might want to change the last paragraph of the initial description of this bug to say 10.4.11, since you changed the one at the beginning

comment:13 Changed 4 years ago by snc@…

  • Status changed from new to assigned
  • Description modified (diff)

comment:14 follow-up: ↓ 15 Changed 4 years ago by snc@…

I can do a simple find/replace in compiler.pri to fix the compiler issue. Unfortunately I cannot build mumble on 10.6 so I have no real way of checking this. Do you or someone you know have interest in testing some patches?

comment:15 in reply to: ↑ 14 Changed 4 years ago by boydb@…

I've since upgraded my computer to OS 10.6, so no longer am experiencing this issue; don't know if others on 10.4 are still experiencing it or can help test patches.

comment:16 Changed 4 years ago by snc@…

  • Status changed from assigned to closed
  • Resolution set to wontfix

Alright, since you're no longer affected and no one else is on this ticket I'll close it.

Note: See TracTickets for help on using tickets.