Subject: bug#10440: Can't locate TAP/Parser.pm

From: Peter Rosin <[email-masked]>
Date: Thu, 05 Jan 2012 22:54:52 +0100

Hi!

I tried make check on MSYS with the current master, and among other
things, this problem stands out as it FAILs so many test cases.

I'm using tap-bailout-w.test as an example, no use reporting the
same problem 80+ times, right :-)

The perl version is 5.8.8

Here's tap-bailout-w.log:

./tap-bailout-w.test: will source ./tap-bailout.test
Running from installcheck: no
Using TAP: no
PATH = /home/peda/automake/tests:/c/Program Files (x86)/Microsoft F#/v4.0/:/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/:/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN:/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/:/c/Windows/Microsoft.NET/Framework/v4.0.30319:/c/Windows/Microsoft.NET/Framework/v3.5:/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/c/Program Files (x86)/HTML Help Workshop:/c/Program Files (x86)/Microsoft Visual Studio 10.0/Team Tools/Performance Tools:/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools:.:/usr/local/bin:/mingw/bin:/bin:/c/Program Files/Common Files/Microsoft Shared/Windows Live:/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/
+++ pwd
/home/peda/automake/tests/tap-bailout-w.dir
++ . /home/peda/automake/tests/tap-setup.sh
+++ test -f ../defs-static
+++ test -f ../defs
+++ test '!' -f Makefile.am
+++ test -d ../tap-common-setup.dir
+++ cp -Rp ../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.in ../tap-common-setup.dir/depcomp ../tap-common-setup.dir/install-sh ../tap-common-setup.dir/missing .
+++ fetch_tap_driver
+++ case $am_tap_implementation in
+++ sed '1s|#!.*|#! /bin/perl -w|' /home/peda/automake/lib/tap-driver.pl
+++ chmod a+x tap-driver
+++ sed 10q tap-driver
#! /bin/perl -w
# Copyright (C) 2011 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~
+++ :
++ :
++ cat
++ cat
++ cat
++ cat
++ cat
++ cat
++ cat
++ echo 'ERROR: d.test - Bail out! mktemp -d: Permission denied'
++ cat
++ echo 'ERROR: e.test - Bail out!'
++ test_counts='total=12 pass=3 fail=1 xpass=1 xfail=1 skip=1 error=5'
++ TESTS='a.test b.test c.test d.test e.test'
++ make -e check
Can't locate TAP/Parser.pm in @INC (@INC contains: /usr/lib/perl5/5.8/msys /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/msys /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/msys /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at ./tap-driver line 33.
BEGIN failed--compilation aborted at ./tap-driver line 33.
make[2]: *** [a.log] Error 2
make[1]: *** [check-TESTS] Error 2
make: *** [check-am] Error 2
++ cat stdout
make  check-TESTS
make[1]: Entering directory `/home/peda/automake/tests/tap-bailout-w.dir'
make[2]: Entering directory `/home/peda/automake/tests/tap-bailout-w.dir'
make[2]: Leaving directory `/home/peda/automake/tests/tap-bailout-w.dir'
make[1]: Leaving directory `/home/peda/automake/tests/tap-bailout-w.dir'
++ count_test_results total=12 pass=3 fail=1 xpass=1 xfail=1 skip=1 error=5
++ total=ERR
++ pass=ERR
++ fail=ERR
++ xpass=ERR
++ xfail=ERR
++ skip=ERR
++ error=ERR
++ eval total=12 pass=3 fail=1 xpass=1 xfail=1 skip=1 error=5
+++ total=12
+++ pass=3
+++ fail=1
+++ xpass=1
+++ xfail=1
+++ skip=1
+++ error=5
++ /bin/grep -E -i '(total|x?pass|x?fail|skip|error)' stdout
++ :
++ rc=0
++ set +e
+++ grep -c '^PASS:' stdout
++ test 0 -eq 3
++ rc=1
+++ grep -c '^XFAIL:' stdout
++ test 0 -eq 1
++ rc=1
+++ grep -c '^SKIP:' stdout
++ test 0 -eq 1
++ rc=1
+++ grep -c '^FAIL:' stdout
++ test 0 -eq 1
++ rc=1
+++ grep -c '^XPASS:' stdout
++ test 0 -eq 1
++ rc=1
+++ grep -c '^ERROR:' stdout
++ test 0 -eq 5
++ rc=1
++ grep '^# TOTAL:  *12$' stdout
++ rc=1
++ grep '^# PASS:  *3$' stdout
++ rc=1
++ grep '^# XFAIL:  *1$' stdout
++ rc=1
++ grep '^# SKIP:  *1$' stdout
++ rc=1
++ grep '^# FAIL:  *1$' stdout
++ rc=1
++ grep '^# XPASS:  *1$' stdout
++ rc=1
++ grep '^# ERROR:  *5$' stdout
++ rc=1
++ test 1 -eq 0
+ exit_status=1
+ set +e
+ cd /home/peda/automake/tests
+ test no = yes
+ case $am_explicit_skips in
+ test 1 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
tap-bailout-w: exit 1