On Mon, Mar 26, 2012 at 02:49:17PM +0200, Dominique Dhumieres wrote: > Updating to gdb-7.4-1 on > > Package manager version: 0.32.3 > Distribution version: selfupdate-rsync Mon Mar 26 14:44:51 2012, 10.6, x86_64 > Trees: local/main stable/main stable/crypto unstable/main unstable/crypto > Xcode: 3.2.6 > Max. Fink build jobs: > > failed with: > > ... > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include > -DHAVE_mach_o_x86_64_vec -DHAVE_mach_o_i386_vec -DHAVE_mach_o_le_vec > -DHAVE_mach_o_be_vec -DHAVE_mach_o_fat_vec -DHAVE_pef_vec -DHAVE_pef_xlib_vec > -DHAVE_sym_vec -DBINDIR=\"/sw64/bin\" -I/sw64/include -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -g > -Wno-unused-value -MT mach-o-i386.lo -MD -MP -MF .deps/mach-o-i386.Tpo -c > mach-o-i386.c -o mach-o-i386.o > mv -f .deps/mach-o-i386.Tpo .deps/mach-o-i386.Plo > /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. > -I./../include -DHAVE_mach_o_x86_64_vec -DHAVE_mach_o_i386_vec > -DHAVE_mach_o_le_vec -DHAVE_mach_o_be_vec -DHAVE_mach_o_fat_vec > -DHAVE_pef_vec -DHAVE_pef_xlib_vec -DHAVE_sym_vec -DBINDIR='"/sw64/bin"' > -I/sw64/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow > -Werror -O2 -g -Wno-unused-value -MT mach-o.lo -MD -MP -MF .deps/mach-o.Tpo > -c -o mach-o.lo mach-o.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include > -DHAVE_mach_o_x86_64_vec -DHAVE_mach_o_i386_vec -DHAVE_mach_o_le_vec > -DHAVE_mach_o_be_vec -DHAVE_mach_o_fat_vec -DHAVE_pef_vec -DHAVE_pef_xlib_vec > -DHAVE_sym_vec -DBINDIR=\"/sw64/bin\" -I/sw64/include -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -g > -Wno-unused-value -MT mach-o.lo -MD -MP -MF .deps/mach-o.Tpo -c mach-o.c -o > mach-o.o > cc1: warnings being treated as errors > mach-o.c: In function 'bfd_mach_o_header_p': > mach-o.c:2978: warning: 'header.reserved' may be used uninitialized in this > function > make[4]: *** [mach-o.lo] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-bfd] Error 2 > make: *** [all] Error 2 > ### execution of make failed, exit code 2 > Use of uninitialized value $mbj in numeric gt (>) at > /sw64/lib/perl5/Fink/PkgVersion.pm line 5109. > Use of uninitialized value in concatenation (.) or string at > /sw64/lib/perl5/Fink/PkgVersion.pm line 5163. > Removing runtime build-lock... > Removing build-lock package... > /sw64/bin/dpkg-lockwait -r fink-buildlock-gdb-7.4-1 > (Reading database ... 430756 files and directories currently installed.) > Removing fink-buildlock-gdb-7.4-1 ... > Failed: phase compiling: gdb-7.4-1 failed > > TIA
Dominique, The gdb-7.4-1 packaging builds fine here on darwin10 under x86_64 fink with either Xcode 4.2 or 3.2.6. Can you check to see if you have binutils or coreutils installed and if deinstalling one or both eliminates the failures? If so, you might see if the gdb build understands the use of... AR_FOR_TARGET=/usr/bin/ar \ AS_FOR_TARGET=/usr/bin/as \ LD_FOR_TARGET=/usr/bin/ld \ NM_FOR_TARGET=/usr/bin/nm \ OBJDUMP_FOR_TARGET=/usr/bin/objdump \ RANLIB_FOR_TARGET=/usr/bin/ranlib \ STRIP_FOR_TARGET=/usr/bin/strip \ OTOOL=/usr/bin/otool \ OTOOL64=/usr/bin/otool if those environmental settings are passed to configure. This approach is used by MacPorts to protect their gcc builds from binutils (https://trac.macports.org/browser/trunk/dports/lang/gcc46/Portfile). Jack > > Dominique ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users