| Summary: | Automake-1.9.5 fails with FEATURES="test" (yacc6.test) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ingo Bormuth <ibormuth> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | dirk.schoenberger |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Other | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Ingo Bormuth
2005-05-22 15:24:15 UTC
go into /var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests and run ./yacc6.test ... then post the output Sorry, works fine manually ...
How can I see the detailed test results from the portage install ?
Even running 'make check-TESTS' manually gives no detailed output.
test/Makefile says:
745 list='$(TESTS)'; \
...
751 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
752 all=`expr $$all + 1`; \
...
757 echo "XPASS: $$tst"; \
There is no explicit pipe or output redirection.
$ /tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/yacc6.test && echo OKAY
/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests:/sbin:/bin:/usr/sbin:/usr/bin
yacc6: running gcc --version
gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1,
pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
yacc6: running bison --version
bison (GNU Bison) 1.875d
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
yacc6: running make --version -v | grep GNU
GNU Make 3.80
=== Running test ./yacc6.test
++ pwd
/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir
+ set -e
+ cat
+ cat
+ mkdir aux1 sub
+ cat
+ cat
+ cp sub/foo.y sub/bar.y
+ cat
+ aclocal-1.9
+ autoconf
+ automake-1.9 --foreign -Werror -Wall -a
configure.in: installing `aux1/install-sh'
configure.in: installing `aux1/missing'
sub/Makefile.am: installing `aux1/compile'
sub/Makefile.am: installing `aux1/depcomp'
configure.in: installing `aux1/ylwrap'
+ test -f aux1/ylwrap
+ test '!' -f ylwrap
+ test '!' -f sub/ylwrap
+ /bin/grep -F '(top_srcdir)/aux1/ylwrap' sub/Makefile.in
YLWRAP = $(top_srcdir)/aux1/ylwrap
+ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... bison -y
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sub/Makefile
config.status: executing depfiles commands
+ make
Making all in sub
make[1]: Entering directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir/sub'
/bin/sh ../aux1/ylwrap foo.y y.tab.c foo.c y.tab.h foo.h y.output foo.output --
bison -y -d
updating foo.h
if gcc -DPACKAGE_NAME=\"yacc6\" -DPACKAGE_TARNAME=\"yacc6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"yacc6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yacc6\" -DVERSION=\"1.0\" -I. -I. -DFOO
-g -O2 -MT foo-foo.o -MD -MP -MF ".deps/foo-foo.Tpo" -c -o foo-foo.o `test -f
'foo.c' || echo './'`foo.c; \
then mv -f ".deps/foo-foo.Tpo" ".deps/foo-foo.Po"; else rm -f
".deps/foo-foo.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"yacc6\" -DPACKAGE_TARNAME=\"yacc6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"yacc6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yacc6\" -DVERSION=\"1.0\" -I. -I. -DFOO
-g -O2 -MT foo-main.o -MD -MP -MF ".deps/foo-main.Tpo" -c -o foo-main.o `test
-f 'main.c' || echo './'`main.c; \
then mv -f ".deps/foo-main.Tpo" ".deps/foo-main.Po"; else rm -f
".deps/foo-main.Tpo"; exit 1; fi
gcc -g -O2 -o foo foo-foo.o foo-main.o
/bin/sh ../aux1/ylwrap bar.y y.tab.c bar.c y.tab.h bar.h y.output bar.output --
bison -y -d
updating bar.h
if gcc -DPACKAGE_NAME=\"yacc6\" -DPACKAGE_TARNAME=\"yacc6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"yacc6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yacc6\" -DVERSION=\"1.0\" -I. -I. -g
-O2 -MT bar.o -MD -MP -MF ".deps/bar.Tpo" -c -o bar.o bar.c; \
then mv -f ".deps/bar.Tpo" ".deps/bar.Po"; else rm -f ".deps/bar.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"yacc6\" -DPACKAGE_TARNAME=\"yacc6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"yacc6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yacc6\" -DVERSION=\"1.0\" -I. -I. -g
-O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
gcc -g -O2 -o bar bar.o main.o
make[1]: Leaving directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir/sub'
make[1]: Entering directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir'
+ grep '#.*line.*foo.y' sub/foo.c
#line 1 "foo.y"
#line 7 "foo.y"
+ grep '#.*line.*bar.y' sub/bar.c
#line 1 "bar.y"
#line 7 "bar.y"
+ sleep 2
+ :
+ sleep 2
+ touch sub/bar.y
+ make
Making all in sub
make[1]: Entering directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir/sub'
/bin/sh ../aux1/ylwrap bar.y y.tab.c bar.c y.tab.h bar.h y.output bar.output --
bison -y -d
bar.h is unchanged
if gcc -DPACKAGE_NAME=\"yacc6\" -DPACKAGE_TARNAME=\"yacc6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"yacc6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yacc6\" -DVERSION=\"1.0\" -I. -I. -g
-O2 -MT bar.o -MD -MP -MF ".deps/bar.Tpo" -c -o bar.o bar.c; \
then mv -f ".deps/bar.Tpo" ".deps/bar.Po"; else rm -f ".deps/bar.Tpo"; exit 1; fi
gcc -g -O2 -o bar bar.o main.o
make[1]: Leaving directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir/sub'
make[1]: Entering directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir'
+ make test-time-unchanged
test `ls -1t sub/main.o z | sed 1q` = z
+ sleep 2
+ /usr/bin/perl -pi -e s/TOKEN/TEKON/g sub/bar.y
+ make
Making all in sub
make[1]: Entering directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir/sub'
/bin/sh ../aux1/ylwrap bar.y y.tab.c bar.c y.tab.h bar.h y.output bar.output --
bison -y -d
updating bar.h
if gcc -DPACKAGE_NAME=\"yacc6\" -DPACKAGE_TARNAME=\"yacc6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"yacc6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yacc6\" -DVERSION=\"1.0\" -I. -I. -g
-O2 -MT bar.o -MD -MP -MF ".deps/bar.Tpo" -c -o bar.o bar.c; \
then mv -f ".deps/bar.Tpo" ".deps/bar.Po"; else rm -f ".deps/bar.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"yacc6\" -DPACKAGE_TARNAME=\"yacc6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"yacc6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yacc6\" -DVERSION=\"1.0\" -I. -I. -g
-O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
gcc -g -O2 -o bar bar.o main.o
make[1]: Leaving directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir/sub'
make[1]: Entering directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory
`/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests/testSubDir'
+ make test-time-changed
test `ls -1t sub/main.o z | sed 1q` = sub/main.o
OKAY
then try running: VERBOSE=1 emerge automake >& automake.log and post automake.log as an attachment |