On 5/14/14, 8:55 AM, Jonas Maebe wrote: > Hi, > > I'm getting the following error (it's not rebuilding > fink_0.36.4-51_darwin-i386.deb because it just did so): > > $ sudo fink self-update > /usr/bin/rsync -az -q > rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP > /sw/fink/TIMESTAMP.tmp > I will now run the rsync command to retrieve the latest package descriptions. > /usr/bin/rsync -rtz --delete-after --delete -q --include='10.4/' > --include='10.4/stable/' --include='10.4/stable/main/' > --include='10.4/stable/main/finkinfo/' > --include='10.4/stable/main/finkinfo/*/' > --include='10.4/stable/main/finkinfo/*' > --include='10.4/stable/main/finkinfo/**/*' --include='10.4/' > --include='10.4/stable/' --include='10.4/stable/crypto/' > --include='10.4/stable/crypto/finkinfo/' > --include='10.4/stable/crypto/finkinfo/*/' > --include='10.4/stable/crypto/finkinfo/*' > --include='10.4/stable/crypto/finkinfo/**/*' --include='10.4/' > --include='10.4/unstable/' --include='10.4/unstable/main/' > --include='10.4/unstable/main/finkinfo/' > --include='10.4/unstable/main/finkinfo/*/' > --include='10.4/unstable/main/finkinfo/*' > --include='10.4/unstable/main/finkinfo/**/*' --include='10.4/' > --include='10.4/unstable/' --include='10.4/unstable/crypto/' > --include='10.4/unstable/crypto/finkinfo/' > --include='10.4/unstable/crypto/finkinfo/*/' > --include='10.4/unstable/crypto/finkinfo/*' --incl u de='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/' > Scanning package description files.......... > Information about 12765 packages read in 33 seconds. > The following package will be installed or updated: > fink > Reading buildlock packages... > /sw/bin/dpkg-lockwait -i > /sw/fink/dists/stable/main/binary-darwin-i386/base/fink_0.36.4-51_darwin-i386.deb > (Reading database ... 104550 files and directories currently installed.) > Preparing to replace fink 0.36.4-51 (using > .../fink_0.36.4-51_darwin-i386.deb) ... > Unpacking replacement fink ... > Setting up fink (0.36.4-51) ... > Checking system... i386-apple-darwin10.8.0 > WARNING: /usr/bin/gcc is not a symlink!Under Mac OS X 10.6.8, Fink must be > bootstrapped or updated with gcc > 4.2, however, you currently have gcc (unknown version) selected. > Make sure that your developer tools are current for your system and > have not been locally modified. > /sw/bin/dpkg: error processing fink (--install): > subprocess post-installation script returned error exit status 29 > Errors were encountered while processing: > fink > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 > Failed: can't install package fink-0.36.4-51 > > > GCC is a symlink and version 4.2 though: > > $ ls -l /usr/bin/gcc* > lrwxr-xr-x 1 root wheel 22 Feb 26 21:08 /usr/bin/gcc -> > /Developer/usr/bin/gcc > lrwxr-xr-x 1 root wheel 26 Feb 26 21:08 /usr/bin/gcc-4.0 -> > /Developer/usr/bin/gcc-4.0 > lrwxr-xr-x 1 root wheel 26 Feb 26 21:08 /usr/bin/gcc-4.2 -> > /Developer/usr/bin/gcc-4.2 > > $ /usr/bin/gcc --version > i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > It's the compiler from Xcode 3.2.5. I think I stayed with it's the last > version that came with the iOS SDK 4.2 and that's the last version my old > iPod Touch 2G can run. Do I have to install Xcode 3.2.6 next to it for fink > (and install its command line tools globally), or can the fink check be > adapted to also (again) recognise the Xcode 3.2.5 gcc compiler? (if that is > in fact the issue) At least previous fink versions worked fine with this > Xcode/gcc version. > > Thanks, > > > Jonas
No, you shouldn't need Xcode 3.2.6. The problem is that the message is a little vague. Is that particular symlink configuration something you set up yourself? My Xcode 3.2.6 installation on 10.6 has: $ ls -l /usr/bin/gcc* lrwxr-xr-x 1 root wheel 7 May 28 2013 /usr/bin/gcc -> gcc-4.2 -rwxr-xr-x 1 root wheel 97392 Oct 23 2010 /usr/bin/gcc-4.0 -rwxr-xr-x 1 root wheel 166128 Oct 23 2010 /usr/bin/gcc-4.2 What fink is testing for is whether /usr/bin/gcc is a symlink to "gcc-4.2", and since yours points to a "gcc" that doesn't work. I'm not sure whether the symlink test is really appropriate--it's from the 10.2-10.4 era. Perhaps as a workaround you could at leas temporarily change your /usr/bin/gcc symlink to point to /usr/bin/gcc-4.2. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ 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