[MacPorts] #23294: mumble-1.21 Build failure
MacPorts
noreply at macports.org
Thu Jan 14 18:17:20 PST 2010
#23294: mumble-1.21 Build failure
-------------------------------------+--------------------------------------
Reporter: boydb@… | Owner: snc@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: tiger | Port: mumble
-------------------------------------+--------------------------------------
Comment(by boydb@…):
Replying to [comment:8 snc@…]:
> Replying to [comment:6 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?
--
Ticket URL: <http://trac.macports.org/ticket/23294#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list