Subject: bug#14014: GNU Automake 1.13.1 testsuite FAIL: 1 on 3.2.0-4-powerpc64

From: Stefano Lattarini <[email-masked]>
Date: Sat, 20 Apr 2013 18:04:00 +0200

severity 14014 minor
thanks

Hi Dennis.  Thanks for the report, and sorry for the shameful delay.

On 03/21/2013 04:14 PM, Dennis Clarke wrote:
> On Debian 7 : 
> 
> 
> vanth $ uname -a 
> Linux vanth 3.2.0-4-powerpc64 #1 SMP Debian 3.2.39-2 ppc64 GNU/Linux
> vanth $ cat /etc/debian_version 
> 7.0
> 
> ============================================================================
> Testsuite summary for GNU Automake 1.13.1
> ============================================================================
> # TOTAL: 2609
> # PASS:  2370
> # SKIP:  202
> # XFAIL: 36
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ./test-suite.log
> Please report to [email-masked]
> ============================================================================
> 
> see testsuite log attached 
> 
> dc

And the fail is this:

> FAIL: t/tap-realtime
> ====================
>
> Running from installcheck: no
> Test Protocol: none
> PATH = /usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/wrap:/usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/ax:/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/schily/bin
> ++ pwd
> /usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/tap-realtime.dir
> + cat
> + expect -f expect-check
> spawn /bin/bash -c :
> + rm -f expect-check
> + using_gmake
> + case $am__using_gmake in
> + /usr/local/bin/gmake --version -v
> + grep GNU
> GNU Make 3.82
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> + am__using_gmake=yes
> + return 0
> + cat
> + . tap-setup.sh
> ++ test -f ../../automake
> ++ test -f ../../runtest
> ++ test -d ../../t
> ++ test '!' -f Makefile.am
> ++ mv Makefile.am Makefile.am~
> ++ test -d ../tap-common-setup.dir
> ++ cp -fpR ../tap-common-setup.dir/Makefile ../tap-common-setup.dir/Makefile.am ../tap-common-setup.dir/Makefile.in ../tap-common-setup.dir/aclocal.m4 ../tap-common-setup.dir/config.log ../tap-common-setup.dir/config.status ../tap-common-setup.dir/configure ../tap-common-setup.dir/configure.ac ../tap-common-setup.dir/depcomp ../tap-common-setup.dir/install-sh ../tap-common-setup.dir/missing .
> ++ fetch_tap_driver
> ++ case $am_tap_implementation in
> ++ AM_TAP_AWK=mawk
>
Ah-ah!  Here lies the problem.  This test is known to fail with mawk (while
it passes with GNU awk, BSD awk, Solaris nawk, and Solaris XPG4 awk).

Not sure why.  And I've never bothered to really investigate the issue, since
all the other TAP tests passes even with mawk, and anyway I didn't know of any
real-world system where mawk was the default awk program.

But now this expectation turns out to be invalid, so I'll have to revisit the
issue.  This is quite low priority though, so it might take a while.  In the
meantime, patches are very welcome, if anyone feels like giving this issue a
shot.

> ++ export AM_TAP_AWK
> ++ sed '1s|#!.*|#! /bin/bash|' /usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/lib/tap-driver.sh
> ++ chmod a+x tap-driver
> ++ sed 10q tap-driver
> #! /bin/bash
> # Copyright (C) 2011-2013 Free Software Foundation, Inc.
> #
> # This program is free software; you can redistribute it and/or modify
> # it under the terms of the GNU General Public License as published by
> # the Free Software Foundation; either version 2, or (at your option)
> # any later version.
> #
> # This program is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> ++ test -f Makefile.am~
> ++ mv -f Makefile.am~ Makefile.am
> ++ echo 'TEST_LOG_DRIVER = $(PERL) $(srcdir)/tap-driver'
> ++ automake-1.13 --foreign -Werror -Wall Makefile
> ++ ./config.status Makefile
> config.status: creating Makefile
> ++ :
> + cat
> + chmod a+x all.test
> + cat
> + MAKE=/usr/local/bin/gmake
> + expect -f expect-make
> spawn /usr/local/bin/gmake check
> /usr/local/bin/gmake  check-TESTS
> gmake[1]: Entering directory `/usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/tap-realtime.dir'
> gmake[2]: Entering directory `/usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/tap-realtime.dir'
> PASS: all.test 1 - foo
> ERROR: all.test - Bail out!
> gmake[3]: Entering directory `/usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/tap-realtime.dir'
> gmake[3]: Nothing to be done for `all'.
> gmake[3]: Leaving directory `/usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/tap-realtime.dir'
> ============================================================================
> Testsuite summary for tap-common-setup 1.0
> ============================================================================
> # TOTAL: 2
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 1
> ============================================================================
> See ./test-suite.log
> ============================================================================
> gmake[2]: *** [test-suite.log] Error 1
> gmake[2]: Leaving directory `/usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001/t/tap-realtime.dir'
> + test -f all-is-well
> + am_exit_trap 1
> + exit_status=1
> + set +e
> + cd /usr/local/build/automake-1.13.1_3.2.0-4-powerpc64_64bit_001
> + 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
> tap-realtime: exit 1
>
>

Thanks,
  Stefano