Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93613 - Automake-1.9.5 fails with FEATURES="test" (yacc6.test)
Summary: Automake-1.9.5 fails with FEATURES="test" (yacc6.test)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 15:24 UTC by Ingo Bormuth
Modified: 2006-11-05 00:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Bormuth 2005-05-22 15:24:15 UTC
Automake-1.9.5 fails with FEATURES="test"(yacc6.test)


PASS: yacc4.test
PASS: yacc5.test
FAIL: yacc6.test  <<=== HERE !
PASS: yacc7.test
PASS: yacc8.test
PASS: yaccpp.test
PASS: yaccvpath.test
=====================================
1 of 531 tests failed
(28 tests were not run)
Please report to bug-automake@gnu.org
=====================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests'
make: *** [check-recursive] Error 1



Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-cko2-NoGo i686)
=================================================================
System uname: 2.6.11-cko2-NoGo i686 AMD Duron(tm)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 17:12:32)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.19-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aalib apache2 apm crypt curl emboss fortran gd gif gpm imlib ipv6 jpeg libg++ libwww mp3 mysql ncurses nls ogg pam perl php png python readline session slang ssl tcpd tiff truetype-fonts type1-fonts userlocales vorbis xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-05-22 17:08:16 UTC
go into /var/tmp/portage/automake-1.9.5/work/automake-1.9.5/tests and run
./yacc6.test ... then post the output
Comment 2 Ingo Bormuth 2005-05-23 01:10:44 UTC
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
Comment 3 SpanKY gentoo-dev 2006-11-05 00:59:21 UTC
then try running:
VERBOSE=1 emerge automake >& automake.log

and post automake.log as an attachment