On 5/19/13 8:24 AM, Tommy Berndt wrote: > Greetings from rainy Germany! > > I'm trying to selfupdate, but for reasons I don't really understand, it > fails. Google found some similar questions, but mostly they were about > post-upgrade problems (10.6 -> 10.7), but I'm on 10.8.3, and I believe that > this isn't the first selfupdate I've made since I'd upgraded to 10.8. > Have screwed up the configuration or can you tell me if something else is > amiss? > > Here is the call of gcc that trips: > > gcc -g -O2 iconv.o -Wl,-framework -Wl,CoreFoundation -o .libs/iconv > -L/sw/src/fink.build/libiconv-1.12-6/libiconv-1.12/../_inst/sw/lib > ../srclib/libicrt.a ../lib/.libs/libiconv.dylib > /sw/src/fink.build/libiconv-1.12-6/libiconv-1.12/../_inst/sw/lib/libintl.a > ld: warning: ignoring file iconv.o, file was built for i386 which is not the > architecture being linked (x86_64): iconv.o > ld: warning: ignoring file ../srclib/libicrt.a, file was built for archive > which is not the architecture being linked (x86_64): ../srclib/libicrt.a > ld: warning: ignoring file ../lib/.libs/libiconv.dylib, file was built for > unsupported file format ( 0xce 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 0 0x 3 0x 0 > 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked > (x86_64): ../lib/.libs/libiconv.dylib > ld: warning: ignoring file > /sw/src/fink.build/libiconv-1.12-6/libiconv-1.12/../_inst/sw/lib/libintl.a, > file was built for archive which is not the architecture being linked > (x86_64): > /sw/src/fink.build/libiconv-1.12-6/libiconv-1.12/../_inst/sw/lib/libintl.a > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[1]: *** [install] Error 1 > make: *** [install] Error 2 > ### execution of make failed, exit code 2 > ### execution of /tmp/fink.Z7len failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-libiconv-1.12-6 > > And the other information requested: > Package manager version: 0.34.8 > Distribution version: selfupdate-rsync Sun May 19 16:56:22 2013, 10.8, i386 > Trees: local/main stable/main stable/crypto unstable/main unstable/crypto > local/injected > Xcode.app: 4.6.2 > Xcode command-line tools: 4.6.0.0.1.1365549073 > Max. Fink build jobs: 1 > > Thanks in advance and best regards, > Tommy >
Fink on 10.8 is for x86_64-only. That's what's causing your build problem. If selfupdate succeeded for you, then it must not have involved building anything other than fink, since it just Perl scripts. We don't support updating Fink in place from 10.6 or earlier to 10.7 *or* 10.8, even for x86_64. I recommend consulting the suggestions from http://finkers.wordpress.com/2011/09/26/fink-and-lion/ to capture your list of installed packages. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
