On 4/26/13 6:42 AM, laurent pagani wrote:
> Hi,
>
> After a fink selfupdate, an install of Xcode 4.6.2 (including command line 
> tools), a renaming of /usr/local in /usr/mylocal to avoid interferences, I 
> tried to update the Gildas package and it fails :
>
>> fink update gildas
> The following package will be installed or updated:
>   gildas
> The following 10 additional packages will be installed:
>   cairo cairo-shlibs gcc48 gcc48-compiler gcc48-shlibs libmpc3 libmpc3-shlibs
>   libpng15 pixman pixman-shlibs
> Do you want to continue? [Y/n]
>
> […]
> New package: 
> dists/stable/main/binary-darwin-x86_64/libs/gmp5_5.1.1-1_darwin-x86_64.deb
> New package: 
> dists/stable/main/binary-darwin-x86_64/libs/libgmpxx5-shlibs_5.1.1-1_darwin-x86_64.deb
> Failed: phase compiling: libmpc3-1.0.1-1 failed
>
> Package manager version: 0.34.7
> Distribution version: selfupdate-rsync Fri Apr 26 13:37:14 2013, 10.7, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.6.2
> Xcode command-line tools: 4.6.0.0.1.1365549073
> Max. Fink build jobs:  8
>
> I limited the max build jobs to 1 as suggested and the same failure came 
> back. I retried with 8 processes and now the message has slightly changed :
>
> checking for __gmpz_init in -lgmp... yes
> checking for MPFR... no
> configure: error: libmpfr not found or uses a different ABI (including static 
> vs shared).
> ### execution of /tmp/fink.QOqgx failed, exit code 1
> ### execution of /tmp/fink.fZoen failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-libmpc3-1.0.1-1
> Suppression de fink-buildlock-libmpc3-1.0.1-1 ...
> Failed: phase compiling: libmpc3-1.0.1-1 failed
>
> I searched libmpfr :
>
> Lorenzo>sudo find / -name "libmpfr*"
> /sw/fink/10.7/stable/main/binary-darwin-x86_64/libs/libmpfr4-shlibs_3.1.0-2_darwin-x86_64.deb
> /sw/fink/10.7/stable/main/binary-darwin-x86_64/libs/libmpfr4_3.1.0-2_darwin-x86_64.deb
> /sw/fink/10.7/stable/main/finkinfo/libs/libmpfr4.info
> /sw/fink/10.7/stable/main/finkinfo/libs/libmpfr4.patch
> /sw/fink/debs/libmpfr4-shlibs_3.1.0-2_darwin-x86_64.deb
> /sw/fink/debs/libmpfr4_3.1.0-2_darwin-x86_64.deb
> /sw/lib/libmpfr.4.dylib
> /sw/lib/libmpfr.dylib
> /sw/lib/libmpfr.la
> /sw/share/doc/libmpfr4
> /sw/share/doc/libmpfr4-shlibs
> /sw/var/lib/dpkg/info/libmpfr4-shlibs.list
> /sw/var/lib/dpkg/info/libmpfr4-shlibs.shlibs
> /sw/var/lib/dpkg/info/libmpfr4.list
> /sw/var/lib/dpkg/info/libmpfr4.postinst
> /sw/var/lib/dpkg/info/libmpfr4.prerm
> /usr/mylocal/lib/libmpfr.a
> /usr/mylocal/lib/libmpfr.la
>
> In more detail (ls -l …)
>
> -rw-r--r--  1 root  wheel  526868 Jan  9  2012 
> /sw/fink/10.7/stable/main/binary-darwin-x86_64/libs/libmpfr4-shlibs_3.1.0-2_darwin-x86_64.deb
> -rw-r--r--  1 root  wheel  465348 Jan  9  2012 
> /sw/fink/10.7/stable/main/binary-darwin-x86_64/libs/libmpfr4_3.1.0-2_darwin-x86_64.deb
> -rw-r--r--  1 root  wheel    2611 Mar 14 07:31 
> /sw/fink/10.7/stable/main/finkinfo/libs/libmpfr4.info
> -rw-r--r--  1 root  wheel   72193 May  8  2012 
> /sw/fink/10.7/stable/main/finkinfo/libs/libmpfr4.patch
> lrwxr-xr-x  1 root  wheel      87 Jan  9  2012 
> /sw/fink/debs/libmpfr4-shlibs_3.1.0-2_darwin-x86_64.deb -> 
> ../10.7/stable/main/binary-darwin-x86_64/libs/libmpfr4-shlibs_3.1.0-2_darwin-x86_64.deb
> lrwxr-xr-x  1 root  wheel      80 Jan  9  2012 
> /sw/fink/debs/libmpfr4_3.1.0-2_darwin-x86_64.deb -> 
> ../10.7/stable/main/binary-darwin-x86_64/libs/libmpfr4_3.1.0-2_darwin-x86_64.deb
> -rwxr-xr-x  1 root  admin  342572 Jan  9  2012 /sw/lib/libmpfr.4.dylib
> lrwxr-xr-x  1 root  admin      15 Jan  9  2012 /sw/lib/libmpfr.dylib -> 
> libmpfr.4.dylib
> -rwxr-xr-x  1 root  admin     905 Jan  9  2012 /sw/lib/libmpfr.la
> -rw-r--r--  1 root  wheel     511 Jan  9  2012 
> /sw/var/lib/dpkg/info/libmpfr4-shlibs.list
> -rw-r--r--  1 root  admin      59 Jan  9  2012 
> /sw/var/lib/dpkg/info/libmpfr4-shlibs.shlibs
> -rw-r--r--  1 root  wheel     961 Jan  9  2012 
> /sw/var/lib/dpkg/info/libmpfr4.list
> -rwxr-xr-x  1 root  admin     415 Jan  9  2012 
> /sw/var/lib/dpkg/info/libmpfr4.postinst
> -rwxr-xr-x  1 root  admin     227 Jan  9  2012 
> /sw/var/lib/dpkg/info/libmpfr4.prerm
>
> I have not found any hint on the FAQ page.
> Thanks for helping me here
> Laurent
>
> Laurent Pagani
> LERMA, UMR8112 du CNRS
> Observatoire de Paris
> 75014 Paris
> France
> Tel: (33) 1 40 51 20 13
> Fax: (33) 1 40 51 20 02
> e-mail: laurent.pag...@obspm.fr
> http://aramis.obspm.fr/~pagani
>
> "Falling leaves are a good sign. It's when you see them jumping back onto the 
> trees that you're in trouble" Lucy van Pelt (C. Schulz)
>
>

Check in /sw/src/fink.build/libmpc3-1.0.1-1/mpc-1.0.1/build/config.log 
at about line 547.  I get (10.8.3 with Xcode 4.6.2):

configure:13257: checking for MPFR
configure:13272: gcc -o conftest -O2 -pedantic -fomit-frame-pointer -m64 
-mtune=corei7 -march=corei7 -I/sw/include -I/sw/include -I/sw/include 
-L/sw/lib -L/sw/lib -L/sw/lib conftest.c -lmpfr -lgmp  >&5
configure:13272: $? = 0
configure:13273: result: yes
configure:13291: checking for recent GMP
...

Seeing why that test fails should make the cause of the failure more clear.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
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

Reply via email to