On 3/19/13 8:08 AM, Hinrich Schuetze wrote: > Ok, great, thanks very much! > > As far as I can tell the compiler command that fails is (see below): > > gcc -L/sw/bootstrap/lib -L../lib -L../optlib -framework CoreFoundation > -o dpkg-deb build.o extract.o info.o \ > main.o -ldpkg -lopt > > Below I've pasted a larger part of the terminal output that starts > with the last "ar" command. I read somewhere that using "ar rs" would > help instead of "ar r" -- just a random thought > > Thanks - Hinrich > > excerpt from terminal output: > > ar r libdpkg.a compat.o database.o dbmodify.o dump.o ehandle.o > fields.o lock.o mlib.o myopt.o nfmalloc.o parse.o parsehelp.o > showcright.o showpkg.o tarfn.o varbuf.o vercmp.o md5.o utils.o > ar: creating archive libdpkg.a > ranlib libdpkg.a > make -C "dpkg-deb" "all" > gcc -I/sw/bootstrap/include -I/sw/bootstrap/include -Wall > -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wbad-function-cast -Wcast-qual -Wcast-align -Winline > -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE > -DLOCALEDIR=\"/sw/bootstrap/share/locale\" > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/intl > -I../intl > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21 > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/dpkg-deb > -I../include -I.. -I. > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib > -F/System/Library/Frameworks/CoreFoundation.framework -c build.c > build.c:396:31: warning: passing 'const char [8]' to parameter of type > 'char *' discards qualifiers [-Wincompatible-pointer-types] > internalGzip(0, 1, "9", _("control")); > ^~~~~~~~~ > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/config.h:361:18: > note: expanded from macro '_' > # define _(Text) Text > ^ > build.c:147:67: note: passing argument to parameter 'desc' here > int internalGzip(int fd1, int fd2, const char *compression, char *desc, ...) { > ^ > build.c:460:39: warning: passing 'const char [8]' to parameter of type > 'char *' discards qualifiers [-Wincompatible-pointer-types] > internalGzip(0, 1, compression, _("control")); > ^~~~~~~~~ > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/config.h:361:18: > note: expanded from macro '_' > # define _(Text) Text > ^ > build.c:147:67: note: passing argument to parameter 'desc' here > int internalGzip(int fd1, int fd2, const char *compression, char *desc, ...) { > ^ > 2 warnings generated. > gcc -I/sw/bootstrap/include -I/sw/bootstrap/include -Wall > -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wbad-function-cast -Wcast-qual -Wcast-align -Winline > -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE > -DLOCALEDIR=\"/sw/bootstrap/share/locale\" > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/intl > -I../intl > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21 > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/dpkg-deb > -I../include -I.. -I. > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib > -F/System/Library/Frameworks/CoreFoundation.framework -c extract.c > extract.c:124:20: warning: comparison of unsigned expression < 0 is > always false [-Wtautological-compare] > if (memberlen<0) > ~~~~~~~~~^~ > 1 warning generated. > gcc -I/sw/bootstrap/include -I/sw/bootstrap/include -Wall > -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wbad-function-cast -Wcast-qual -Wcast-align -Winline > -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE > -DLOCALEDIR=\"/sw/bootstrap/share/locale\" > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/intl > -I../intl > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21 > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/dpkg-deb > -I../include -I.. -I. > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib > -F/System/Library/Frameworks/CoreFoundation.framework -c info.c > gcc -I/sw/bootstrap/include -I/sw/bootstrap/include -Wall > -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wbad-function-cast -Wcast-qual -Wcast-align -Winline > -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE > -DLOCALEDIR=\"/sw/bootstrap/share/locale\" > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/intl > -I../intl > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21 > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/dpkg-deb > -I../include -I.. -I. > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib > -F/System/Library/Frameworks/CoreFoundation.framework -c main.c > main.c:173:3: warning: implicit declaration of function 'nffreeall' is > invalid in C99 [-Wimplicit-function-declaration] > standard_shutdown(0); > ^ > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include/dpkg.h:165:5: > note: expanded from macro 'standard_shutdown' > nffreeall();\ > ^ > 1 warning generated. > gcc -L/sw/bootstrap/lib -L../lib -L../optlib -framework CoreFoundation > -o dpkg-deb build.o extract.o info.o main.o -ldpkg -lopt > ld: archive has no table of contents for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[2]: *** [dpkg-deb] Error 1 > make[1]: *** [all-dpkg-deb] Error 2 > make: *** [all-recursive] Error 2 > ### execution of make failed, exit code 2 > phase compiling: dpkg-bootstrap-1.10.21-1220 failed >
Hmm...I don't reproduce this failure on 10.8 with Xcode 4.6.1. And I don't get a "no recognized Xcode CLI" notice. Even though you have the proper clang compiler from the Xcode 4.6.1 command-line tools, you might need to install those tools again, to insure that you have everything in sync. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners