On Wed, 2 Dec 2009, Ralf Wildenhues wrote:
We'll deal with each such failure one by one. I would like to find and understand any bugs that might be lurking here, and not paper over them.--- a/tests/aclocal9.test +++ b/tests/aclocal9.test @@ -42,6 +42,8 @@ $AUTOCONF grep macro11 foo grep macro21 foo +sleep 1 + $ACLOCAL -I m4_2 -I m4_1 $AUTOCONF ./configureI don't yet understand why this should be necessary.
Hi Ralf, almost certainly this has to do with the rounding/truncation of sub-second timestamps, possibly handled in a different way by Autotools and GNU Make 3.81.
So, off to find out where my hypothesis goes wrong. Can you apply this diff, run the test as cd tests $srcdir/aclocal9.test repeatedly until it fails for you, then send the two aclocal-log-? files as well as the test output? Thanks. Which Autoconf version do you use?
2.65 as required for the ObjC++ patch.
--- a/tests/aclocal9.test +++ b/tests/aclocal9.test @@ -36,13 +36,15 @@ cat >m4_2/somedefs.m4 <<EOF AC_DEFUN([MACRO1], [echo macro12 > foo]) EOF -$ACLOCAL -I m4_1 -I m4_2 +$ACLOCAL -I m4_1 -I m4_2 --verbose 2> aclocal-log-1 +tail aclocal.m4 $AUTOCONF ./configure grep macro11 foo grep macro21 foo -$ACLOCAL -I m4_2 -I m4_1 +$ACLOCAL -I m4_2 -I m4_1 --verbose 2> aclocal-log-2 +tail aclocal.m4 $AUTOCONF ./configure grep macro12 foo
To fit into my infrastructure I did: cd test make TESTS='aclocal9.test' check but that should be equivalent. The third attempt failed; the files you asked for are attached, together with the output from "ls -lrt --fu aclocal9.dir". In case you need more info please let me know. Regards Peter
aclocal-log-1
Description: Binary data
aclocal-log-2
Description: Binary data
============================================== GNU Automake 1.11a: tests/test-suite.log ============================================== 1 of 1 test failed. .. contents:: :depth: 2 FAIL: aclocal9.test (exit: 1) ============================= /.th/thsrc/archive/gnu/automake/automake-git-build-linux-gnu/tests:/bin:/opt/TeX/bin:/home/pcl321/peb/bin/Linux:/home/pcl321/peb/bin:/usr/local/bin:/usr/local/X11R6/bin:/usr/local/tex/bin:/usr/local/java/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:/usr/local/condor/bin:/usr/local/condor/sbin:/usr/local/openmpi/bin:/opt/Absoft/bin:/opt/Adobe/bin:/opt/ITT/bin:/opt/Intel/bin:/opt/KDE/bin:/opt/KDE/sbin:/opt/Maplesoft/bin:/opt/MathWorks/bin:/opt/Mozilla/bin:/opt/OpenOffice/bin:/opt/PGI/bin:/opt/TeX/bin:/opt/UPS/bin:/opt/UPS/sbin:/opt/Wolfram/bin:/opt/Wolfram/sbin:/usr/afs/bin:/usr/afs/sbin:/usr/heimdal/bin:/usr/heimdal/sbin:. === Running test ../../automake-git/tests/aclocal9.test ++ pwd /.th/thsrc/archive/gnu/automake/automake-git-build-linux-gnu/tests/aclocal9.dir + set -e + cat + mkdir m4_1 m4_2 + cat + cat + aclocal-1.11a -Werror -I m4_1 -I m4_2 --verbose + tail aclocal.m4 done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4_1/somedefs.m4]) + autoconf + ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes + grep macro11 foo macro11 + grep macro21 foo macro21 + aclocal-1.11a -Werror -I m4_2 -I m4_1 --verbose + tail aclocal.m4 rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4_1/somedefs.m4]) m4_include([m4_2/somedefs.m4]) + autoconf + ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes + grep macro12 foo + exit_status=1 + set +e + cd /.th/thsrc/archive/gnu/automake/automake-git-build-linux-gnu/tests + case $exit_status,$keep_testdirs in + test 0 '!=' 0 + echo 'aclocal9: exit 1' aclocal9: exit 1 + exit 1
Output from "ls -lrt --fu aclocal9.dir": total 192 -rwxr-xr-x 1 peb THEORY 11419 2009-12-04 11:57:00.504967137 +0100 missing -rwxr-xr-x 1 peb THEORY 13663 2009-12-04 11:57:00.504967137 +0100 install-sh -rwxr-xr-x 1 peb THEORY 18615 2009-12-04 11:57:00.504967137 +0100 depcomp drwxr-xr-x 2 peb THEORY 8 2009-12-04 11:57:00.509038757 +0100 m4_2 drwxr-xr-x 2 peb THEORY 8 2009-12-04 11:57:00.509038757 +0100 m4_1 -rw-r--r-- 1 peb THEORY 86 2009-12-04 11:57:00.509038757 +0100 configure.in -rw-r--r-- 1 peb THEORY 15948 2009-12-04 11:57:00.882197557 +0100 aclocal-log-1 -rwxr-xr-x 1 peb THEORY 66329 2009-12-04 11:57:01.118709661 +0100 configure drwxr-xr-x 2 peb THEORY 4096 2009-12-04 11:57:01.505099509 +0100 autom4te.cache -rw-r--r-- 1 peb THEORY 15993 2009-12-04 11:57:01.525161570 +0100 aclocal-log-2 -rw-r--r-- 1 peb THEORY 22331 2009-12-04 11:57:01.529182308 +0100 aclocal.m4 -rw-r--r-- 1 peb THEORY 16 2009-12-04 11:57:01.739640973 +0100 foo -rw-r--r-- 1 peb THEORY 4931 2009-12-04 11:57:01.759754356 +0100 config.log