Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#23992 closed defect (fixed)

Mumble build fails under 10.5.8

Reported by: jp@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: mumble

Description

Mumble fails to build on my system because it apparently expects the Logitech LCD SDK to be installed.

--->  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 -j2 all " returned error 2
Command output: rm -f libmumbleoverlay.bundle
/Developer/usr/bin/g++-4.2 -framework CoreFoundation -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -bundle -undefined dynamic_lookup -dynamic -o libmumbleoverlay.bundle mach_override.o overlay.o   -L/opt/mumble-1.2/lib   
launcher.m: In function 'main':
launcher.m:104: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
launcher.m:149: warning: passing argument 2 of 'insertObject:atIndex:' as unsigned due to prototype
launcher.m:157: warning: initialization from incompatible pointer type
launcher.m:158: warning: initialization from incompatible pointer type
mv -f libmumbleoverlay.bundle ../../release/
/Developer/usr/bin/g++-4.2 -headerpad_max_install_names -Wl,-dead_strip -framework Carbon -framework ApplicationServices -framework Cocoa -sectcreate __TEXT __info_plist launcher.plist -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -o ../../debug/mumble-overlay debug/launcher.o    -L/opt/mumble-1.2/lib  
cd g15helper/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
/usr/bin/make -f Makefile.Debug all
/Developer/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 -arch i386 -Wall -W -isysroot /Developer/SDKs/MacOSX10.5.sdk -DNO_UPDATE_CHECK -DRESTRICT=__restrict__ -DAPPLE -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/mumble-1.2/boost-1_41_0/include -I/opt/mumble-1.2/include -I/opt/mumble-1.2/lglcd-sdk/SDK/Src/ -o release/g15helper_macx.o g15helper_macx.c
/Developer/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 -g -gdwarf-2 -arch i386 -Wall -W -isysroot /Developer/SDKs/MacOSX10.5.sdk -DNO_UPDATE_CHECK -DRESTRICT=__restrict__ -DAPPLE -DUSE_LOGFILE -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/mumble-1.2/boost-1_41_0/include -I/opt/mumble-1.2/include -I/opt/mumble-1.2/lglcd-sdk/SDK/Src/ -o debug/g15helper_macx.o g15helper_macx.c
g15helper_macx.c:41:19: error: lglcd.h: No such file or directory
g15helper_macx.c: In function 'main':
g15helper_macx.c:72: error: 'lgLcdConnectContextEx' undeclared (first use in this function)
compilation terminated due to -Wfatal-errors.
{standard input}:2:FATAL:.abort  detected.  Assembly stopping.
make[2]: *** [release/g15helper_macx.o] Error 1
make[1]: *** [release-all] Error 2
make[1]: *** Waiting for unfinished jobs....
g15helper_macx.c:41:19: error: lglcd.h: No such file or directory
g15helper_macx.c: In function 'main':
g15helper_macx.c:72: error: 'lgLcdConnectContextEx' undeclared (first use in this function)
compilation terminated due to -Wfatal-errors.
{standard input}:108:FATAL:.abort  detected.  Assembly stopping.
make[2]: *** [debug/g15helper_macx.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-g15helper-all-ordered] Error 2

There is currently no port available for this library. The mumble wiki says that this library is optional, so a quick fix would be to change the build configuration in a way that it doesent depend on this library.

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: snc@… removed
Keywords: lglcd removed
Owner: changed from macports-tickets@… to snc@…
Port: mumble added

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Version: 1.8.21.9.2

I believe we just need to add CONFIG+=no-g15. I'll inspect all the config options and see if others should be changed.

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

It built for me after disabling g15. r73734.

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

and r73736 for mumble.

Note: See TracTickets for help on using tickets.