Opened 15 years ago

Last modified 14 years ago

#23294 closed defect

mumble-1.21 Build failure — at Version 9

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

Description (last modified by nerdling (Jeremy Lavergne))

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.3.9 box generated an error as outlined in this bug, and was worked around as per my comment there.

Change History (9)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

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

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 15 years ago by jmroot (Joshua Root)

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 15 years ago by nerdling (Jeremy Lavergne)

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

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

Also, keep in mind in the compile flags:

-mmacosx-version-min=10.4

comment:5 Changed 15 years ago by jmroot (Joshua Root)

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

comment:6 Changed 15 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 15 years ago by jmroot (Joshua Root)

Keywords: tiger added

comment:8 in reply to:  6 Changed 15 years ago by nerdling (Jeremy Lavergne)

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 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Note: See TracTickets for help on using tickets.