[m-dev.] boehm_gc/libatomic_ops calling automake/autoconf

Keri Harris keri at gentoo.org
Sat Nov 6 07:39:47 AEDT 2010


When compiling boehm_gc/libatomic_ops for the Mercury libgrades 
autoconf/automake is called by maintainer-mode:

gmake[4]: Entering directory `/var/tmp/portage/dev-lang/mercury-10.04.2-
r1/work/mercury-
compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/libatomic_ops'
 cd . && /bin/sh /var/tmp/portage/dev-lang/mercury-10.04.2-r1/work/mercury-
compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/libatomic_ops/missing --run 
automake-1.10 --gnu 
aclocal.m4:16: warning: this file was generated for autoconf 2.64.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.ac:5: version mismatch.  This is Automake 1.10.3,
configure.ac:5: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:5: comes from Automake 1.10.2.  You should recreate
configure.ac:5: aclocal.m4 with aclocal and run automake again.
WARNING: `automake-1.10' is probably too old.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.

This look due to the manner in which the prepare_install_dir script creates 
the libgrade boehm_gc/libatomic_ops directory (we don't ensure timestamps on 
all the Makefiles/configure scripts and dependencies are preserved, forcing a 
reconf):

cp -r boehm_gc/libatomic_ops ${installdir}/boehm_gc


Thanks

Keri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mercury-compiler-prepare-install-dir.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/developers/attachments/20101106/6cc6e589/attachment.bin>


More information about the developers mailing list