Package: automake;
Reported by: Peter Rosin <peda <at> lysator.liu.se>
Date: Tue, 28 May 2013 23:49:01 UTC
Severity: minor
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14494 in the body.
You can then email your comments to 14494 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Tue, 28 May 2013 23:49:01 GMT) Full text and rfc822 format available.Peter Rosin <peda <at> lysator.liu.se>
:bug-automake <at> gnu.org
.
(Tue, 28 May 2013 23:49:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Peter Rosin <peda <at> lysator.liu.se> To: bug-automake <at> gnu.org Subject: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 01:46:49 +0200
Hi! On MSYS, t/distcheck-pr10470.sh from the master branch fails with this log file: Running from installcheck: no Test Protocol: none PATH = /home/peda/automake/t/wrap:/home/peda/automake/t/ax:[elided] ++ pwd /home/peda/automake/t/distcheck-pr10470.dir + mkdir foo.d + sh -c 'cd foo.d && sleep '\''4'\''' + sleep 1 + rm -rf foo.d rm: cannot remove directory `foo.d': Permission denied + echo AC_OUTPUT + cat + cat + chmod a+x foo.test + aclocal-1.99a -Werror + autoconf + automake-1.99a --foreign -Werror -Wall parallel-tests: error: required file './test-driver' not found parallel-tests: 'automake --add-missing' can install 'test-driver' + am_exit_trap 1 + exit_status=1 + set +e + cd /home/peda/automake + test none = tap + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x distcheck-pr10470: exit 1
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 08:40:02 GMT) Full text and rfc822 format available.Message #8 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Peter Rosin <peda <at> lysator.liu.se> To: 14494 <at> debbugs.gnu.org Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 10:38:15 +0200
On 2013-05-29 01:46, Peter Rosin wrote: > Hi! > > On MSYS, t/distcheck-pr10470.sh from the master branch fails with this > log file: The problem is the same on the micro branch (87e49f4f040c8ab). Cheers, Peter
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 08:53:02 GMT) Full text and rfc822 format available.Message #11 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Peter Rosin <peda <at> lysator.liu.se> Cc: 14494 <at> debbugs.gnu.org Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 10:50:40 +0200
On 05/29/2013 01:46 AM, Peter Rosin wrote: > Hi! > Hi Peter, thanks for the report (and the plethora of the following ones :-) > On MSYS, t/distcheck-pr10470.sh from the master branch fails with this > log file: > Ah, this test is always skipped on POSIX systems, so I never got to update it when the default was switched from serial-tests to parallel-tests. It has probably bit-rotten a little. > Running from installcheck: no > Test Protocol: none > PATH = /home/peda/automake/t/wrap:/home/peda/automake/t/ax:[elided] > ++ pwd > /home/peda/automake/t/distcheck-pr10470.dir > + mkdir foo.d > + sh -c 'cd foo.d && sleep '\''4'\''' > + sleep 1 > + rm -rf foo.d > rm: cannot remove directory `foo.d': Permission denied > + echo AC_OUTPUT > + cat > + cat > + chmod a+x foo.test > + aclocal-1.99a -Werror > + autoconf > + automake-1.99a --foreign -Werror -Wall > parallel-tests: error: required file './test-driver' not found > parallel-tests: 'automake --add-missing' can install 'test-driver' > + am_exit_trap 1 > + exit_status=1 > + set +e > + cd /home/peda/automake > + test none = tap > + case $am_explicit_skips in > + test 1 -eq 0 > + keep_testdirs=yes > + am_keeping_testdirs > + case $keep_testdirs in > + return 0 > + set +x > distcheck-pr10470: exit 1 > > The same failure should be present also in the 'micro' branch (as I see you have already confirmed). And it should be easily fixable by adding the "--add-missing" option to the Automake invocation. Can you confirm? If yes, feel free to push the obvious patch to fix the issue (a reference to the bug number in the commit message would be nice, as usual). Thanks, Stefano
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 13:35:03 GMT) Full text and rfc822 format available.Message #14 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Peter Rosin <peda <at> lysator.liu.se> To: Stefano Lattarini <stefano.lattarini <at> gmail.com> Cc: 14494 <at> debbugs.gnu.org Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 15:33:10 +0200
On 2013-05-29 10:50, Stefano Lattarini wrote: > On 05/29/2013 01:46 AM, Peter Rosin wrote: >> Hi! >> > Hi Peter, thanks for the report (and the plethora of the following > ones :-) > >> On MSYS, t/distcheck-pr10470.sh from the master branch fails with this >> log file: >> > Ah, this test is always skipped on POSIX systems, so I never got to update > it when the default was switched from serial-tests to parallel-tests. It > has probably bit-rotten a little. *snip* > The same failure should be present also in the 'micro' branch (as I see you > have already confirmed). And it should be easily fixable by adding the > "--add-missing" option to the Automake invocation. Can you confirm? If > yes, feel free to push the obvious patch to fix the issue (a reference to > the bug number in the commit message would be nice, as usual). When I do that, I get further, but the test is still b0rked... Cheers, Peter Running from installcheck: no Test Protocol: none PATH = /home/peda/automake/t/wrap:/home/peda/automake/t/ax:[elided] ++ pwd /home/peda/automake/t/distcheck-pr10470.dir + mkdir foo.d + sh -c 'cd foo.d && sleep '\''4'\''' + sleep 1 + rm -rf foo.d rm: cannot remove directory `foo.d': Permission denied + echo AC_OUTPUT + cat + cat + chmod a+x foo.test + aclocal-1.13 -Werror + autoconf + automake-1.13 --foreign -Werror -Wall -a parallel-tests: installing './test-driver' + ./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 checking whether make supports nested variables... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile + run_make -M -e FAIL distcheck + am__make_redirect_stdout=no + am__make_redirect_stderr=no + am__make_redirect_stdall=no + am__make_flags= + am__make_rc_exp=0 + am_make_rc=0 + test 4 -gt 0 + case $1 in + am__make_redirect_stdall=yes + shift + test 3 -gt 0 + case $1 in + am__make_rc_exp=FAIL + shift + shift + test 1 -gt 0 + case $1 in + break + using_gmake + case $am__using_gmake in + make --version -v + grep GNU GNU Make 3.81 + am__using_gmake=yes + return 0 + : + test x '!=' x + : exec make distcheck + set +x + test 0 -eq 253 + test yes = yes + cat output make dist-gzip am__post_remove_distdir='@:' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi test -d "distcheck-pr10470-1.0" || mkdir "distcheck-pr10470-1.0" test -n "" \ || find "distcheck-pr10470-1.0" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /home/peda/automake/t/distcheck-pr10470.dir/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "distcheck-pr10470-1.0" tardir=distcheck-pr10470-1.0 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >distcheck-pr10470-1.0.tar.gz make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi case 'distcheck-pr10470-1.0.tar.gz' in \ *.tar.gz*) \ GZIP=--best gzip -dc distcheck-pr10470-1.0.tar.gz | ${TAR-tar} xf - ;;\ *.tar.bz2*) \ bzip2 -dc distcheck-pr10470-1.0.tar.bz2 | ${TAR-tar} xf - ;;\ *.tar.lz*) \ lzip -dc distcheck-pr10470-1.0.tar.lz | ${TAR-tar} xf - ;;\ *.tar.xz*) \ xz -dc distcheck-pr10470-1.0.tar.xz | ${TAR-tar} xf - ;;\ *.tar.Z*) \ uncompress -c distcheck-pr10470-1.0.tar.Z | ${TAR-tar} xf - ;;\ *.shar.gz*) \ GZIP=--best gzip -dc distcheck-pr10470-1.0.shar.gz | unshar ;;\ *.zip*) \ unzip distcheck-pr10470-1.0.zip ;;\ esac chmod -R a-w distcheck-pr10470-1.0 chmod u+w distcheck-pr10470-1.0 mkdir distcheck-pr10470-1.0/_build distcheck-pr10470-1.0/_inst chmod a-w distcheck-pr10470-1.0 test -d distcheck-pr10470-1.0/_build || exit 0; \ dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd distcheck-pr10470-1.0/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \ && am__cwd=`pwd` \ && CDPATH="${ZSH_VERSION+.}:" && cd distcheck-pr10470-1.0/_build \ && ../configure --srcdir=.. --prefix="$dc_install_base" \ \ \ && make \ && make dvi \ && make check \ && make install \ && make installcheck \ && make uninstall \ && make distuninstallcheck_dir="$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$dc_destdir") \ && make DESTDIR="$dc_destdir" install \ && make DESTDIR="$dc_destdir" uninstall \ && make DESTDIR="$dc_destdir" \ distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \ } || { rm -rf "$dc_destdir"; exit 1; }) \ && rm -rf "$dc_destdir" \ && make dist \ && rm -rf distcheck-pr10470-1.0.tar.gz \ && make distcleancheck \ && cd "$am__cwd" \ || exit 1 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 checking whether make supports nested variables... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `dvi'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make check-TESTS make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[3]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' PASS: foo.test make[4]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' ============================================================================ Testsuite summary for distcheck-pr10470 1.0 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `installcheck'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `uninstall'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `uninstall'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make dist-gzip am__post_remove_distdir='@:' make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi test -d "distcheck-pr10470-1.0" || mkdir "distcheck-pr10470-1.0" test -n "" \ || find "distcheck-pr10470-1.0" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "distcheck-pr10470-1.0" tardir=distcheck-pr10470-1.0 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >distcheck-pr10470-1.0.tar.gz make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' test -z "foo.log" || rm -f foo.log test -z "foo.trs" || rm -f foo.trs test -z "test-suite.log" || rm -f test-suite.log test -z "" || rm -f test . = ".." || test -z "" || rm -f rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile find: `./foo.log': Permission denied make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi find: `distcheck-pr10470-1.0/_build/foo.log': Permission denied ======================================================= distcheck-pr10470-1.0 archives ready for distribution: distcheck-pr10470-1.0.tar.gz ======================================================= + case $am__make_rc_exp in + test 0 -gt 0 + return 1 + am_exit_trap 1 + exit_status=1 + set +e + cd /home/peda/automake + test none = tap + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x distcheck-pr10470: exit 1
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 14:26:01 GMT) Full text and rfc822 format available.Message #17 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Peter Rosin <peda <at> lysator.liu.se> Cc: 14494 <at> debbugs.gnu.org Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 16:23:37 +0200
On 05/29/2013 03:33 PM, Peter Rosin wrote: > On 2013-05-29 10:50, Stefano Lattarini wrote: >> On 05/29/2013 01:46 AM, Peter Rosin wrote: >>> Hi! >>> >> Hi Peter, thanks for the report (and the plethora of the following >> ones :-) >> >>> On MSYS, t/distcheck-pr10470.sh from the master branch fails with this >>> log file: >>> >> Ah, this test is always skipped on POSIX systems, so I never got to update >> it when the default was switched from serial-tests to parallel-tests. It >> has probably bit-rotten a little. > > *snip* > >> The same failure should be present also in the 'micro' branch (as I see you >> have already confirmed). And it should be easily fixable by adding the >> "--add-missing" option to the Automake invocation. Can you confirm? If >> yes, feel free to push the obvious patch to fix the issue (a reference to >> the bug number in the commit message would be nice, as usual). > > When I do that, I get further, but the test is still b0rked... > Oh damn, that's due to a botched edit on my part during the $MAKE -> run_make conversion. Just drop the "-e FAIL" part from the 'run_make' command line and everything should be fine. Thanks, and sorry for the breakage, Stefano
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 14:51:01 GMT) Full text and rfc822 format available.Message #20 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Peter Rosin <peda <at> lysator.liu.se> To: Stefano Lattarini <stefano.lattarini <at> gmail.com> Cc: 14494 <at> debbugs.gnu.org Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 16:49:01 +0200
On 2013-05-29 16:23, Stefano Lattarini wrote: > On 05/29/2013 03:33 PM, Peter Rosin wrote: >> On 2013-05-29 10:50, Stefano Lattarini wrote: >>> On 05/29/2013 01:46 AM, Peter Rosin wrote: >>>> Hi! >>>> >>> Hi Peter, thanks for the report (and the plethora of the following >>> ones :-) >>> >>>> On MSYS, t/distcheck-pr10470.sh from the master branch fails with this >>>> log file: >>>> >>> Ah, this test is always skipped on POSIX systems, so I never got to update >>> it when the default was switched from serial-tests to parallel-tests. It >>> has probably bit-rotten a little. >> >> *snip* >> >>> The same failure should be present also in the 'micro' branch (as I see you >>> have already confirmed). And it should be easily fixable by adding the >>> "--add-missing" option to the Automake invocation. Can you confirm? If >>> yes, feel free to push the obvious patch to fix the issue (a reference to >>> the bug number in the commit message would be nice, as usual). >> >> When I do that, I get further, but the test is still b0rked... >> > Oh damn, that's due to a botched edit on my part during the $MAKE -> run_make > conversion. Just drop the "-e FAIL" part from the 'run_make' command line > and everything should be fine. Still no go... Cheers, Peter Running from installcheck: no Test Protocol: none PATH = /home/peda/automake/t/wrap:/home/peda/automake/t/ax:[elided] ++ pwd /home/peda/automake/t/distcheck-pr10470.dir + mkdir foo.d + sh -c 'cd foo.d && sleep '\''4'\''' + sleep 1 + rm -rf foo.d rm: cannot remove directory `foo.d': Permission denied + echo AC_OUTPUT + cat + cat + chmod a+x foo.test + aclocal-1.13 -Werror + autoconf + automake-1.13 --foreign -Werror -Wall -a parallel-tests: installing './test-driver' + ./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 checking whether make supports nested variables... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile + run_make -M distcheck + am__make_redirect_stdout=no + am__make_redirect_stderr=no + am__make_redirect_stdall=no + am__make_flags= + am__make_rc_exp=0 + am_make_rc=0 + test 2 -gt 0 + case $1 in + am__make_redirect_stdall=yes + shift + test 1 -gt 0 + case $1 in + break + using_gmake + case $am__using_gmake in + make --version -v + grep GNU GNU Make 3.81 + am__using_gmake=yes + return 0 + : + test x '!=' x + : exec make distcheck + set +x + test 0 -eq 253 + test yes = yes + cat output make dist-gzip am__post_remove_distdir='@:' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi test -d "distcheck-pr10470-1.0" || mkdir "distcheck-pr10470-1.0" test -n "" \ || find "distcheck-pr10470-1.0" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /home/peda/automake/t/distcheck-pr10470.dir/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "distcheck-pr10470-1.0" tardir=distcheck-pr10470-1.0 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >distcheck-pr10470-1.0.tar.gz make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi case 'distcheck-pr10470-1.0.tar.gz' in \ *.tar.gz*) \ GZIP=--best gzip -dc distcheck-pr10470-1.0.tar.gz | ${TAR-tar} xf - ;;\ *.tar.bz2*) \ bzip2 -dc distcheck-pr10470-1.0.tar.bz2 | ${TAR-tar} xf - ;;\ *.tar.lz*) \ lzip -dc distcheck-pr10470-1.0.tar.lz | ${TAR-tar} xf - ;;\ *.tar.xz*) \ xz -dc distcheck-pr10470-1.0.tar.xz | ${TAR-tar} xf - ;;\ *.tar.Z*) \ uncompress -c distcheck-pr10470-1.0.tar.Z | ${TAR-tar} xf - ;;\ *.shar.gz*) \ GZIP=--best gzip -dc distcheck-pr10470-1.0.shar.gz | unshar ;;\ *.zip*) \ unzip distcheck-pr10470-1.0.zip ;;\ esac chmod -R a-w distcheck-pr10470-1.0 chmod u+w distcheck-pr10470-1.0 mkdir distcheck-pr10470-1.0/_build distcheck-pr10470-1.0/_inst chmod a-w distcheck-pr10470-1.0 test -d distcheck-pr10470-1.0/_build || exit 0; \ dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd distcheck-pr10470-1.0/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \ && am__cwd=`pwd` \ && CDPATH="${ZSH_VERSION+.}:" && cd distcheck-pr10470-1.0/_build \ && ../configure --srcdir=.. --prefix="$dc_install_base" \ \ \ && make \ && make dvi \ && make check \ && make install \ && make installcheck \ && make uninstall \ && make distuninstallcheck_dir="$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$dc_destdir") \ && make DESTDIR="$dc_destdir" install \ && make DESTDIR="$dc_destdir" uninstall \ && make DESTDIR="$dc_destdir" \ distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \ } || { rm -rf "$dc_destdir"; exit 1; }) \ && rm -rf "$dc_destdir" \ && make dist \ && rm -rf distcheck-pr10470-1.0.tar.gz \ && make distcleancheck \ && cd "$am__cwd" \ || exit 1 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 checking whether make supports nested variables... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `dvi'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make check-TESTS make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[3]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' PASS: foo.test make[4]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' ============================================================================ Testsuite summary for distcheck-pr10470 1.0 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `installcheck'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `uninstall'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Nothing to be done for `uninstall'. make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make dist-gzip am__post_remove_distdir='@:' make[2]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi test -d "distcheck-pr10470-1.0" || mkdir "distcheck-pr10470-1.0" test -n "" \ || find "distcheck-pr10470-1.0" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "distcheck-pr10470-1.0" tardir=distcheck-pr10470-1.0 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >distcheck-pr10470-1.0.tar.gz make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' test -z "foo.log" || rm -f foo.log test -z "foo.trs" || rm -f foo.trs test -z "test-suite.log" || rm -f test-suite.log test -z "" || rm -f test . = ".." || test -z "" || rm -f rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile find: `./foo.log': Permission denied make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi find: `distcheck-pr10470-1.0/_build/foo.log': Permission denied ======================================================= distcheck-pr10470-1.0 archives ready for distribution: distcheck-pr10470-1.0.tar.gz ======================================================= + case $am__make_rc_exp in + test 0 -ge 0 + test 0 -le 255 + test 0 -eq 0 + grep 'rm:.*' output + fatal_ 'expected code path not covered' + warn_ 'distcheck-pr10470: hard error: expected code path not covered' + echo 'distcheck-pr10470: hard error: expected code path not covered' + _am_exit 99 + set +e + test 77 = 99 + exit 99 + exit 99 + am_exit_trap 99 + exit_status=99 + set +e + cd /home/peda/automake + test none = tap + case $am_explicit_skips in + test 99 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x distcheck-pr10470: exit 99
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 14:57:02 GMT) Full text and rfc822 format available.Message #23 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Peter Rosin <peda <at> lysator.liu.se> Cc: 14494 <at> debbugs.gnu.org Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 16:54:58 +0200
On 05/29/2013 04:49 PM, Peter Rosin wrote: > > [SNIP] > > Still no go... > > [SNIP] > > make[2]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' > if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi > make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' > make[1]: Entering directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' > test -z "foo.log" || rm -f foo.log > test -z "foo.trs" || rm -f foo.trs > test -z "test-suite.log" || rm -f test-suite.log > test -z "" || rm -f > test . = ".." || test -z "" || rm -f > rm -f config.status config.cache config.log configure.lineno config.status.lineno > rm -f Makefile > find: `./foo.log': Permission denied > make[1]: Leaving directory `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build' > if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi > find: `distcheck-pr10470-1.0/_build/foo.log': Permission denied > ======================================================= > distcheck-pr10470-1.0 archives ready for distribution: > distcheck-pr10470-1.0.tar.gz > ======================================================= > + case $am__make_rc_exp in > + test 0 -ge 0 > + test 0 -le 255 > + test 0 -eq 0 > + grep 'rm:.*' output > What if you do something like: $EGREP "(^| )(rm|find):.*$distdir" output instead? > + fatal_ 'expected code path not covered' > + warn_ 'distcheck-pr10470: hard error: expected code path not covered' > + echo 'distcheck-pr10470: hard error: expected code path not covered' > [SNIP] Thanks, Stefano
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 15:23:02 GMT) Full text and rfc822 format available.Message #26 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Peter Rosin <peda <at> lysator.liu.se> To: "automake-patches <at> gnu.org" <automake-patches <at> gnu.org> Cc: 14494 <at> debbugs.gnu.org Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 17:20:52 +0200
On 2013-05-29 16:54, Stefano Lattarini wrote: > What if you do something like: > > $EGREP "(^| )(rm|find):.*$distdir" output > > instead? Yup, that did it. Thanks! I'm pushing the following. Cheers, Peter From eb33ae2b29f33bcf65afc036c9a92a61f77f75e3 Mon Sep 17 00:00:00 2001 From: Peter Rosin <peda <at> lysator.liu.se> Date: Wed, 29 May 2013 17:10:40 +0200 Subject: [PATCH] tests: prune some weed in a non-POSIX test Fixes automake bug#14494. * t/distcheck-pr10470.sh: Make sure the test-driver is installed. Adjust to run_make changes. Adjust grep pattern to match new output. Signed-off-by: Peter Rosin <peda <at> lysator.liu.se> Co-authored-by: Stefano Lattarini <stefano.lattarini <at> gmail.com> --- t/distcheck-pr10470.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/t/distcheck-pr10470.sh b/t/distcheck-pr10470.sh index f6cb160..a2781df 100644 --- a/t/distcheck-pr10470.sh +++ b/t/distcheck-pr10470.sh @@ -45,13 +45,13 @@ chmod a+x foo.test $ACLOCAL $AUTOCONF -$AUTOMAKE +$AUTOMAKE -a ./configure # We can build the distribution. -run_make -M -e FAIL distcheck +run_make -M distcheck # Sanity check: verify that our code has hit a problem removing # the distdir, but has recovered from it. -grep "rm:.*$destdir" output || fatal_ "expected code path not covered" +$EGREP "(^| )(rm|find):.*$distdir" output || fatal_ "expected code path not covered" : -- 1.7.9
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 15:37:02 GMT) Full text and rfc822 format available.Message #29 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Peter Rosin <peda <at> lysator.liu.se> Cc: 14494 <at> debbugs.gnu.org, "automake-patches <at> gnu.org" <automake-patches <at> gnu.org> Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 17:35:14 +0200
On 05/29/2013 05:20 PM, Peter Rosin wrote: > On 2013-05-29 16:54, Stefano Lattarini wrote: >> What if you do something like: >> >> $EGREP "(^| )(rm|find):.*$distdir" output >> >> instead? > > Yup, that did it. Thanks! > > I'm pushing the following. > Nice, thank you. Now only bug#14499 remains to be addressed, right? Does the patch I sent fix the issue? Thanks, Stefano
bug-automake <at> gnu.org
:bug#14494
; Package automake
.
(Wed, 29 May 2013 15:52:02 GMT) Full text and rfc822 format available.Message #32 received at 14494 <at> debbugs.gnu.org (full text, mbox):
From: Peter Rosin <peda <at> lysator.liu.se> To: Stefano Lattarini <stefano.lattarini <at> gmail.com> Cc: 14494 <at> debbugs.gnu.org, "automake-patches <at> gnu.org" <automake-patches <at> gnu.org> Subject: Re: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh Date: Wed, 29 May 2013 17:50:26 +0200
On 2013-05-29 17:35, Stefano Lattarini wrote: > On 05/29/2013 05:20 PM, Peter Rosin wrote: >> On 2013-05-29 16:54, Stefano Lattarini wrote: >>> What if you do something like: >>> >>> $EGREP "(^| )(rm|find):.*$distdir" output >>> >>> instead? >> >> Yup, that did it. Thanks! >> >> I'm pushing the following. >> > Nice, thank you. Now only bug#14499 remains to be addressed, right? > Does the patch I sent fix the issue? bug#14501 also remains, but neither fails on micro, and I'm currently double-checking that no FAIL slipped through on micro. I'll go back to maint and master when that run has finished (cleanly). Cheers, Peter
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to control <at> debbugs.gnu.org
.
(Thu, 30 May 2013 21:08:02 GMT) Full text and rfc822 format available.Stefano Lattarini <stefano.lattarini <at> gmail.com>
to control <at> debbugs.gnu.org
.
(Thu, 30 May 2013 21:08:02 GMT) Full text and rfc822 format available.Stefano Lattarini <stefano.lattarini <at> gmail.com>
to control <at> debbugs.gnu.org
.
(Thu, 30 May 2013 21:08:02 GMT) Full text and rfc822 format available.Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Fri, 28 Jun 2013 11:24:05 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.