Hello,

Fink is trying to update my gcc47 installation to 4.7.2-1000, but - * even 
after moving away /usr/local/ (to /usr/local-ok as below, or even away from 
/usr) * - it keeps failing with the following error:

OSX> ls -l /usr
total 16
lrwxr-xr-x     1 root  wheel      8 Oct 29 21:04 X11 -> /opt/X11
lrwxr-xr-x     1 root  wheel      8 Oct 29 21:04 X11R6 -> /opt/X11
drwxr-xr-x  1146 root  wheel  38964 Nov 19 09:52 bin
drwxr-xr-x   283 root  wheel   9622 Nov  8 10:56 include
drwxr-xr-x     3 root  wheel    102 Mar 21  2011 java
drwxr-xr-x   325 root  wheel  11050 Nov  8 11:22 lib
drwxr-xr-x   143 root  wheel   4862 Nov  3 19:33 libexec
drwxr-xr-x     7 root  wheel    238 Jun 16 11:02 llvm-gcc-4.2
drwxr-xr-x   134 root  wheel   4556 Dec  7 06:28 local-ok
drwxr-xr-x   271 root  wheel   9214 Nov  3 19:33 sbin
drwxr-xr-x    62 root  wheel   2108 Nov  3 19:33 share
drwxr-xr-x     4 root  wheel    136 Jul 29 18:01 standalone
OSX> fink update-all
Information about 11619 packages read in 1 seconds.
The package 'tinker' will be built and installed.
Reading build dependency for tinker-6.1.01-1...
Reading dependency for tinker-6.1.01-1...
Reading runtime dependency for tinker-6.1.01-1...
Reading build conflict for tinker-6.1.01-1...
The package 'gcc47' will be built and installed.
Reading build dependency for gcc47-4.7.2-1000...
Reading dependency for gcc47-4.7.2-1000...
Reading runtime dependency for gcc47-4.7.2-1000...
Reading dependency for gcc47-shlibs-4.7.2-1000...
Reading dependency for gcc47-compiler-4.7.2-1000...
Reading build conflict for gcc47-4.7.2-1000...
The following package will be installed or updated:
 tinker
The following additional package will be installed:
 gcc47
Do you want to continue? [Y/n] y
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gcc47-4.7.2-1000 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-gcc47-4.7.2-1000' in 
`/sw/src/fink.build/fink-buildlock-gcc47-4.7.2-1000_2012.12.09-02.50.38_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-gcc47-4.7.2-1000_2012.12.09-02.50.38_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-gcc47-4.7.2-1000.
(Reading database ... 244998 files and directories currently installed.)
Unpacking fink-buildlock-gcc47-4.7.2-1000 (from 
.../fink-buildlock-gcc47-4.7.2-1000_2012.12.09-02.50.38_darwin-x86_64.deb) ...
Setting up fink-buildlock-gcc47-4.7.2-1000 (2012.12.09-02.50.38) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.ZHuoy
/sw/bin/tar  --no-same-owner --no-same-permissions -xvf 
/sw/src/gcc-4.7.2.tar.bz2
gcc-4.7.2/
gcc-4.7.2/missing
gcc-4.7.2/COPYING

(...)

gcc-4.7.2/MD5SUMS
sudo -u fink-bld [ENV] sh -c /tmp/fink.p1Kju
cp /sw/src/ecj-4.5.jar .
sudo -u fink-bld [ENV] sh -c /tmp/fink.dU3yk
[ -r /sw/fink/dists/stable/main/finkinfo/languages/gcc47.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.l7Ejx
patch -p1 < /sw/fink/dists/stable/main/finkinfo/languages/gcc47.patch
patching file libjava/configure
Hunk #1 succeeded at 1620 (offset 10 lines).
Hunk #2 succeeded at 3366 (offset 11 lines).
patching file libjava/configure.ac
patching file gcc/config/darwin.h
patching file gcc/doc/tm.texi
Hunk #1 succeeded at 9495 (offset 8 lines).
patching file gcc/doc/tm.texi.in
Hunk #1 succeeded at 9388 (offset 2 lines).
patching file gcc/dwarf2out.c
Hunk #1 succeeded at 22527 (offset 26 lines).
patching file gcc/target.def
Hunk #1 succeeded at 2758 (offset 10 lines).
patching file libquadmath/configure
sudo -u fink-bld [ENV] sh -c /tmp/fink.czF6j
/tmp/fink.x9eXj
#!/bin/bash -ev
 set +x
 if [ -e /usr/local/lib/libgmp.a ] || [ -e /usr/local/lib/libgmp.dylib ]; then
    echo "-----WARNING-----WARNING-----WARNING-----"
    echo "You seem to have GMP installed in /usr/local."
    echo "This is known to cause gcc47 to fail to build."
    echo "Please move aside /usr/local and try again."
    echo "-----WARNING-----WARNING-----WARNING-----"
    exit 1
 fi
-----WARNING-----WARNING-----WARNING-----
You seem to have GMP installed in /usr/local.
This is known to cause gcc47 to fail to build.
Please move aside /usr/local and try again.
-----WARNING-----WARNING-----WARNING-----
### execution of /tmp/fink.x9eXj failed, exit code 1
### execution of /tmp/fink.czF6j failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc47-4.7.2-1000
(Reading database ... 244999 files and directories currently installed.)
Removing fink-buildlock-gcc47-4.7.2-1000 ...
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-x86_64
New package: 
dists/stable/main/binary-darwin-x86_64/devel/fink-package-precedence_0.15-1_darwin-x86_64.deb
New package: 
dists/stable/main/binary-darwin-x86_64/devel/flag-sort_0.5-1_darwin-x86_64.deb
Failed: phase compiling: gcc47-4.7.2-1000 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

The Fink Users List 
<[email protected]<mailto:[email protected]>>
The Fink Beginners List 
<[email protected]<mailto:[email protected]>>,

with a carbon copy to the maintainer:

Jack Howarth <[email protected]<mailto:[email protected]>>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.34.4
Distribution version: selfupdate-rsync Sun Dec  9 02:37:30 2012, 10.6, x86_64
Trees: local/main stable/main unstable/main unstable/crypto
Xcode.app: 4.2
Xcode command-line tools: 4.2
Max. Fink build jobs:  6

What am I doing wrong?

Thanks,

Luca

----------------------------------------------------------------
Luca Jovine, Ph.D.
Assistant Professor & EMBO Young Investigator
Karolinska Institutet
Department of Biosciences and Nutrition & Center for Biosciences
Hälsovägen 7, SE-141 83 Huddinge, Sweden
Voice: +46.(0)8.524-81136  FAX: +46.(0)8.6081-501
E-mail: [email protected]<mailto:[email protected]>
W3: http://jovinelab.org
----------------------------------------------------------------



------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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