FYI, Steven Bosscher has made amazing progress towards
implementing Mach-O link time optimization for FSF gcc
working on my machine under fink...

http://gcc.gnu.org/ml/gcc-bugs/2010-05/msg00035.html

One issue I have run into though is how to reliably produce
the necessary fink autoconf-2.64 package for regenerating
configure files in FSF gcc (which requires exactly 2.64).
Steven is now testing under i386 fink and I ran into the
same random issue as before when trying to replace the
stock autoconf file in unstable with one for 2.64. Using
the autoconf.info of...

Package: autoconf
Version: 2.64
Revision: 200
Epoch: 2
Depends: m4 (>= 1.4.11)
BuildDepends: texi2html, fink (>= 0.24.12)
Conflicts: autoconf2.13, autoconf25 (<= 2.54-1), autoconf2.6
Replaces: autoconf2.13, autoconf25 (<= 2.54-1), autoconf2.6
Source: mirror:gnu:autoconf/autoconf-%v.tar.bz2
Source-MD5: ef400d672005e0be21e0d20648169074 
Patchfile: autoconf.patch
Patchfile-MD5: 8b60b50f8a73e87cc5b2136923502427
ConfigureParams: --infodir='${prefix}/share/info' 
--mandir='${prefix}/share/man' --program-suffix=-%v
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
CompileScript: <<
        PERL=/usr/bin/perl ./configure %c
        make
<<
InfoTest: TestScript: make check || :
InstallScript: <<
#!/bin/sh -ev
 install -d -m 755 %i/share/doc/installed-packages
 touch %i/share/doc/installed-packages/autoconf2.5
 make install DESTDIR=%d
 pushd doc && make html && popd
 install -d -m 755 %i/share/doc/%n/html
 install -m 644 doc/*.html %i/share/doc/%n/html/

 # for backwards compatibility with stuff that expects "autoconf-2.5" to be the
 # "new" autoconf...  (*cough* KDE *cough*)
 for bin in autoconf autoheader autom4te autoreconf autoscan autoupdate 
ifnames; do
  ln -sf $bin-%v %i/bin/$bin
  ln -sf $bin %i/bin/$bin-2.59
 done

 rm -f %i/share/emacs/site-lisp/*.elc
 rm -f %i/share/emacs/site-lisp/*.el
<<
SplitOff: <<
  Package: autoconf2.5
  Depends: %N (= %v-%r)
  Description: Dummy package for upgrades from old autoconf 2.5
  DescDetail: <<
    This package exists only for upgrading the old autoconf2.5 (2.59 and older) 
    package.  It is safe to delete.
  <<
  Files: %p/share/doc/installed-packages/%n
<<

DocFiles: README COPYING AUTHORS NEWS THANKS
InfoDocs: autoconf.info standards.info
#
Description: System for generating configure scripts
DescDetail: <<
GNU Autoconf is a package for generating configure scripts. These scripts are 
present in a large number of free software packages and are used to detect 
system features at compilation time.

This package installs the latest Autoconf version. It has some compatibility 
problems with older packages. If you want to work on a package that requires 
Autoconf 2.13, install the autoconf2.13 package instead.

Previously by Christoph Pfisterer <chr...@users.sourceforge.net>
also by Chris Zubrzycki <bere...@users.sourceforge.net>
<<
License: GPL
Homepage: http://www.gnu.org/software/autoconf/
Maintainer: Peter O'Gorman <pe...@pogma.com>


I find this fails under i386 fink with the error...

[MacPro:local/main/finkinfo] root# fink install autoconf.info
Scanning package description files..........
Information about 8902 packages read in 2 seconds.
Failed: no package found for specification 'autoconf.info'!
[MacPro:local/main/finkinfo] root# fink install autoconf
Information about 8902 packages read in 0 seconds.
The following package will be installed or updated:
 autoconf
Setting runtime build-lock...
dpkg-deb -b /sw_i386/src/fink.build/root-fink-buildlock-autoconf-2.64-200 
/sw_i386/src/fink.build
dpkg-deb: building package `fink-buildlock-autoconf-2.64-200' in 
`/sw_i386/src/fink.build/fink-buildlock-autoconf-2.64-200_2010.05.01-14.55.59_darwin-i386.deb'.
Installing build-lock package...
/sw_i386/bin/dpkg-lockwait -i 
/sw_i386/src/fink.build/fink-buildlock-autoconf-2.64-200_2010.05.01-14.55.59_darwin-i386.deb
Selecting previously deselected package fink-buildlock-autoconf-2.64-200.
(Reading database ... 16002 files and directories currently installed.)
Unpacking fink-buildlock-autoconf-2.64-200 (from 
.../fink-buildlock-autoconf-2.64-200_2010.05.01-14.55.59_darwin-i386.deb) ...
dpkg: dependency problems prevent configuration of 
fink-buildlock-autoconf-2.64-200:
 fink-buildlock-autoconf-2.64-200 depends on autoconf (= 2.64-200); however:
  Version of autoconf on system is 1:2.63-3.
/sw_i386/bin/dpkg: error processing fink-buildlock-autoconf-2.64-200 
(--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 fink-buildlock-autoconf-2.64-200
### execution of /sw_i386/bin/dpkg-lockwait failed, exit code 1
Can't set build lock for autoconf (2:2.64-200)

If any of the above dpkg error messages mention conflicting packages or missing 
dependencies -- for example, telling you that the package
fink-buildlock-autoconf-2:2.64-200 conflicts with something else -- fink has 
probably gotten confused by trying  to build many packages at once. Try 
building just
this current package autoconf (i.e, "fink build autoconf"). When that has 
completed successfully,  you could retry whatever you did that led to the 
present error.

Regardless of the cause of the lock failure, don't worry: you have not wasted 
compiling time! Packages that had been completely built before this error 
occurred will
not have to be recompiled.

See http://wiki.finkproject.org/index.php/Fink:buildlocks for more information. 
/sw_i386/bin/dpkg-lockwait -r fink-buildlock-autoconf-2.64-200 >/dev/null
Failed: buildlock failure

Any idea why this is happening and how to avoid it. It would be nice to
try to keep an autoconf package in fink that could be used by the darwin
FSF gcc developers (if they decided to work with the fink installed tools).
               Jack

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to