bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13436: 3 fails in make check


From: Johannes . Bieser
Subject: bug#13436: 3 fails in make check
Date: Mon, 14 Jan 2013 17:08:34 +0100

Hi,

I compiled automake 1.12.6 and got 3 fails when doing make check.
I tried it with v1.13.1 and got the same results.

echo $MACHTYPE
x86_64-suse-linux

I tried to use gcc + ifort
and gcc + gfortran

================================================ ========================= ===
Testsuite summary for GNU Automake 1.12.6
========== ========================= ========================= ================
# TOTAL: 2632
# PASS:  2387
# SKIP:  201
# XFAIL: 41
# FAIL:  3
# XPASS: 0
# ERROR: 0
========= ========================= ========================= =================
See ./test-suite.log
Please report to address@hidden
=== ========================= ========================= =======================

grep FAIL test-suite.log
17052:FAIL: t/lex-clean-cxx
17125:FAIL: t/lex-depend-cxx
18935:FAIL: t/yacc-bison-skeleton-cxx

I searched for existing bugs and saw that the first two test sections have been the source of problems before. But I could not find a solution.
Here is an excerpt from my test-suite.log:

FAIL: t/lex-clean-cxx
=====================

Running from installcheck: no
Test Protocol: none
PATH = /local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/wrap:/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/ax:/local/home/bieser/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/local/home/bieser
/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/bin/X11:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/usr/local/bin:/opt/pgi/linux86-64/2012/bin:/opt/intel/Compiler/11.1/072/bin/intel64:/opt
/matlab/bin:/opt/vni/wave/bin:/usr/local/scilab-4.1/bin:/opt/gcc-4.5.0/bin:/opt/g95di32/bin:/usr/local/texlive/2010/bin/x86_64-linux:/usr/local/globus-5.0.3/bin
+++ pwd
/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/lex-clean-cxx.dir
+ cat
+ cat
+ cat
+ cp parsefoo.lxx parsebar.ll
+ cat
+ cp mainfoo.cc mainbar.cpp
+ cp mainfoo.cc mainbaz.c++
+ cp mainfoo.cc mainqux.cxx
+ aclocal-1.12 -Werror
+ autoconf
+ automake-1.12 --foreign -Werror -Wall -a
configure.ac: installing './ylwrap'
+ ./configure
checking for a BSD-compatible install... /usr/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 the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for flex... lex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ cp config.status config.sav
+ make
c++ -DPACKAGE_NAME=\"lex-clean-cxx\" -DPACKAGE_TARNAME=\"lex-clean-cxx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"lex-clean-cxx\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-clean-
cxx\" -DVERSION=\"1.0\" -I.     -g -O2 -MT mainfoo.o -MD -MP -MF .deps/mainfoo.Tpo -c -o mainfoo.o mainfoo.cc
mv -f .deps/mainfoo.Tpo .deps/mainfoo.Po
/bin/sh ./ylwrap parsefoo.lxx lex.yy.c parsefoo.cxx -- lex 
c++ -DPACKAGE_NAME=\"lex-clean-cxx\" -DPACKAGE_TARNAME=\"lex-clean-cxx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"lex-clean-cxx\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-clean-
cxx\" -DVERSION=\"1.0\" -I.     -g -O2 -MT parsefoo.o -MD -MP -MF .deps/parsefoo.Tpo -c -o parsefoo.o parsefoo.cxx
parsefoo.lxx:3: error: previous declaration of ‘int isatty(int)’ with ‘C++’ linkage
/usr/include/unistd.h:743: error: conflicts with new declaration with ‘C’ linkage
/usr/include/unistd.h:743: error: declaration of ‘int isatty(int) throw ()’ throws different exceptions
parsefoo.lxx:3: error: from previous declaration ‘int isatty(int)’
make: *** [parsefoo.o] Error 1
+ am_exit_trap 2
+ exit_status=2
+ set +e
+ cd /local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6
+ test none = tap
+ case $am_explicit_skips in
+ test 2 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
lex-clean-cxx: exit 2

FAIL: t/lex-depend-cxx
======================

Running from installcheck: no
Test Protocol: none
PATH = /local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/wrap:/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/ax:/local/home/bieser/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/local/home/bieser/bin:/
usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/bin/X11:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/usr/local/bin:/opt/pgi/linux86-64/2012/bin:/opt/intel/Compiler/11.1/072/bin/intel64:/opt/matlab/bin:
/opt/vni/wave/bin:/usr/local/scilab-4.1/bin:/opt/gcc-4.5.0/bin:/opt/g95di32/bin:/usr/local/texlive/2010/bin/x86_64-linux:/usr/local/globus-5.0.3/bin
+++ pwd
/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/lex-depend-cxx.dir
+ cat
+ cat
+ cat
+ cp joe.ll moe.l++
+ cat
+ aclocal-1.12 -Werror
+ automake-1.12 --foreign -Werror -Wall -a
configure.ac: installing './ylwrap'
+ /usr/bin/grep -F joe.Po Makefile.in
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
        test -f $(DEPDIR)/joe.Po
+ /usr/bin/grep -F moe.Po Makefile.in
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
        test -f $(DEPDIR)/moe.Po
+ autoconf
+ ./configure --enable-dependency-tracking
checking for a BSD-compatible install... /usr/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 the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for flex... lex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make test-deps-exist
ls -l .deps ;: For debugging.
total 8
-rw-r--r-- 1 bieser KBC 8 2013-01-11 12:05 joe.Po
-rw-r--r-- 1 bieser KBC 8 2013-01-11 12:05 moe.Po
test -f .deps/joe.Po
test -f .deps/moe.Po
+ make
/bin/sh ./ylwrap joe.ll lex.yy.c joe.cc -- lex 
c++ -DPACKAGE_NAME=\"lex-depend-cxx\" -DPACKAGE_TARNAME=\"lex-depend-cxx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"lex-depend-cxx\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-dep
end-cxx\" -DVERSION=\"1.0\" -I.     -g -O2 -MT joe.o -MD -MP -MF .deps/joe.Tpo -c -o joe.o joe.cc
joe.ll:3: error: previous declaration of ‘int isatty(int)’ with ‘C++’ linkage
/usr/include/unistd.h:743: error: conflicts with new declaration with ‘C’ linkage
/usr/include/unistd.h:743: error: declaration of ‘int isatty(int) throw ()’ throws different exceptions
joe.ll:3: error: from previous declaration ‘int isatty(int)’
make: *** [joe.o] Error 1
+ am_exit_trap 2
+ exit_status=2
+ set +e
+ cd /local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6
+ test none = tap
+ case $am_explicit_skips in
+ test 2 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
lex-depend-cxx: exit 2



[...]


FAIL: t/yacc-bison-skeleton-cxx
===============================

yacc-bison-skeleton-cxx: running bison --version
bison (GNU Bison) 2.1
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2005 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.
Running from installcheck: no
Test Protocol: none
PATH = /local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/wrap:/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/ax:/local/home/bieser/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/local/home/bieser/bin:/
usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/bin/X11:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/usr/local/bin:/opt/pgi/linux86-64/2012/bin:/opt/intel/Compiler/11.1/072/bin/intel64:/opt/matlab/bin:
/opt/vni/wave/bin:/usr/local/scilab-4.1/bin:/opt/gcc-4.5.0/bin:/opt/g95di32/bin:/usr/local/texlive/2010/bin/x86_64-linux:/usr/local/globus-5.0.3/bin
+++ pwd
/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/yacc-bison-skeleton-cxx.dir
+ cat
+ cat
+ cat
+ cat
+ aclocal-1.12 -Werror
+ autoconf
+ automake-1.12 --foreign -Werror -Wall -a
configure.ac: installing './ylwrap'
+ mkdir build
+ cd build
+ ../configure 'YACC=bison -y'
checking for a BSD-compatible install... /usr/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 the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking for bison... bison -y
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make
/bin/sh ../ylwrap ../zardoz.yy y.tab.c zardoz.cc y.tab.h `echo zardoz.cc | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output zardoz.output -- bison -y -d
updating location.hh
updating position.hh
updating stack.hh
updating zardoz.hh
make  all-am
make[1]: Entering directory `/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/yacc-bison-skeleton-cxx.dir/build'
c++ -DPACKAGE_NAME=\"yacc-bison-skeleton-cxx\" -DPACKAGE_TARNAME=\"yacc-bison-skeleton-cxx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING =\"yacc-bison-skeleton-cxx\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE _U
RL=\"\" -DPACKAGE=\"yacc-bison-skeleton-cxx\" -DVERSION=\"1.0\" -I. -I..     -g -O2 -MT zardoz.o -MD -MP -MF .deps/zardoz.Tpo -c -o zardoz.o zardoz.cc
../zardoz.yy:10: error: ‘yy::parser’ has not been declared
../zardoz.yy:10: error: ‘yylval’ was not declared in this scope
../zardoz.yy:11: error: ‘yy::parser’ has not been declared
../zardoz.yy:11: error: ‘yylloc’ was not declared in this scope
../zardoz.yy:11: error: initializer _expression_ list treated as compound _expression_
zardoz.cc: In member function ‘virtual int yy::parser::parse()’:
zardoz.cc:259: error: ‘yylex’ cannot be used as a function
../zardoz.yy: In function ‘int yylex(YYSTYPE*, yy::location*)’:
../zardoz.yy:20: error: ‘int yylex(YYSTYPE*, yy::location*)’ redeclared as different kind of symbol
../zardoz.yy:10: error: previous declaration of ‘int yylex’
zardoz.hh:138: error: ‘typedef union YYSTYPE yy::parser::semantic_type’ is private
../zardoz.yy:20: error: within this context
zardoz.hh:140: error: ‘typedef class yy::location yy::parser::location_type’ is private
../zardoz.yy:20: error: within this context
make[1]: *** [zardoz.o] Error 1
make[1]: Leaving directory `/local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6/t/yacc-bison-skeleton-cxx.dir/build'
make: *** [all] Error 2
+ am_exit_trap 2
+ exit_status=2
+ set +e
+ cd /local/home/bieser/CMAQ5.0.1/automake/automake-1.12.6
+ test none = tap
+ case $am_explicit_skips in
+ test 2 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
yacc-bison-skeleton-cxx: exit 2




Helmholtz-Zentrum Geesthacht
Zentrum für Material- und Küstenforschung GmbH
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany

Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus
Amtsgericht Lübeck HRB 285 GE (Register Court)
Internet: http://www.hzg.de


reply via email to

[Prev in Thread] Current Thread [Next in Thread]