On 1/2/13 3:15 AM, Guy Kremnitzer wrote:
> Hi,
> fink selfupdate fails with the following error:
> 
> cd src && make install
> prefix='/sw/src/fink.build/root-libiconv-1.12-5/sw'
> exec_prefix='/sw/src/fink.build/root-libiconv-1.12-5/sw'
> libdir='/sw/src/fink.build/root-libiconv-1.12-5/sw/lib'
> test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod
> 777 .
> if [ ! -d /sw/src/fink.build/root-libiconv-1.12-5/sw/bin ] ; then
> /bin/sh ../build-aux/mkinstalldirs
> /sw/src/fink.build/root-libiconv-1.12-5/sw/bin ; fi
> mkdir /sw/src/fink.build/root-libiconv-1.12-5/sw/bin
> case "darwin11.4.2" in \
>  hpux*) gcc
> -L/sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib -g
> -O2 `if test -n ''; then
>  /sw/src/fink.build/root-libiconv-1.12-5/sw/bin; fi` iconv.o
> ../srclib/libicrt.a -L/sw/src/fink.build/root-libiconv-1.12-5/sw/lib
> -liconv   `if test -n ''; then echo " -Wl,+b
> -Wl,/sw/src/fink.build/root-libiconv-1.12-5/sw/lib"; fi` -o iconv;; \
>      *) /bin/sh ../libtool --mode=link gcc
> -L/sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib -g
> -O2 `if test -n ''; then
>  /sw/src/fink.build/root-libiconv-1.12-5/sw/bin; fi` iconv.o
> ../srclib/libicrt.a ../lib/libiconv.la
> /sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib/libintl.a
> -Wl,-framework,CoreFoundation  -o iconv;; \
> esac
> gcc -g -O2 iconv.o -Wl,-framework -Wl,CoreFoundation -o .libs/iconv
>  -L/sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib
> ../srclib/libicrt.a ../lib/.libs/libiconv.dylib
> /sw/src/fink.build/libiconv-1.12-5/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)
> ld: warning: ignoring file ../srclib/libicrt.a, file was built for
> archive which is not the architecture being linked (x86_64)
> ld: warning: ignoring file ../lib/.libs/libiconv.dylib, file was built
> for unsupported file format which is not the architecture being linked
> (x86_64)
> ld: warning: ignoring file
> /sw/src/fink.build/libiconv-1.12-5/libiconv-1.12/../_inst/sw/lib/libintl.a,
> file was built for archive which is not the architecture being linked
> (x86_64)
> Undefined symbols for architecture x86_64:
>   "_main", referenced from:
>       start in crt1.10.6.o
> 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.RZU7g failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-libiconv-1.12-5
> (Reading database ... 63208 files and directories currently installed.)
> Removing fink-buildlock-libiconv-1.12-5 ...
> Failed: phase installing: libiconv-1.12-5 failed
> 
> 
> 
> System Info:
> Package manager version: 0.34.4
> Distribution version: selfupdate-rsync Wed Jan  2 11:53:13 2013, 10.7, i386
> Trees: local/main stable/main stable/crypto unstable/main
> unstable/crypto local/injected
> Xcode.app: 4.5.2
> Xcode command-line tools: 4.3.0.0.1.1249367152
> Max. Fink build jobs:  1
> 
> I have tried to move /usr/local/ before building, but that didn't change
> anything.
> It seems the distribution version (i386) and my system (x86_64) are not
> in sync but I don't know how to go about to change this.
> 
> Thanks for your help,
> Guy.
> 
> 

Fink doesn't support i386 on 10.7.  Nor do we support upgrading in place
to 10.7 from an earlier OS X (I'm guessing that's what you did).  The
only solution here is to reinstall Fink.
http://www.finkproject.org/download/10.7-upgrade.php?phpLang=en has some
suggestions about how to capture your list of installed packages to
speed this operation up a bit.

(Also, you should update your Xcode Command Line Tools to match your
Xcode.app version--the Xcode Preferences should give you the option to
update it).
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
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

Reply via email to