[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failure in test silent5.test with heirloom make
From: |
Stefano Lattarini |
Subject: |
Failure in test silent5.test with heirloom make |
Date: |
Tue, 20 Apr 2010 16:31:05 +0200 |
User-agent: |
KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.2; i686; ; ) |
Hello automakers.
I encounterd the following failure when trying out the Automake
testsuite using Heirloom make as $MAKE:
$ /opt/heirloom/bin/make --version
make: illegal option -- v
usage: make [-f makefile] [-p] [-i] [-k] [-s] [-r] [-n] [-u]
[-b] [-e] [-t] [-q] [names]
$ strings /opt/heirloom/bin/make | grep '@(#)'
@(#)make.sl 1.40 (gritter) 3/15/07
$ cd ~/src/automake/tests
$ MAKE=/opt/heirloom/bin/make /bin/bash ./silent5.test >x.log 2>&1
$ echo $?
1
The failure is not spurious, and seems due to the fact that heirloom
make is overly verbose in rules involving `flex' even when silent-rules
are enabled.
The full log of the test run is attached. Let me know if you need
more information.
Regards,
Stefano
/home/stefano/src/automake/tests:/home/stefano/go/bin:/home/stefano/bin/linux:/home/stefano/bin:/usr/local/bin:/usr/lib/jvm/java-6-sun-1.6.0.16/bin:/opt/bin:/usr/games:/usr/bin:/usr/sbin:/bin:/sbin
silent5: running g++ --version
g++ (Debian 4.3.4-6) 4.3.4
Copyright (C) 2008 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.
silent5: running gfortran --version
GNU Fortran (Debian 4.3.4-6) 4.3.4
Copyright (C) 2008 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
silent5: running flex --version
flex 2.5.35
silent5: running bison --version
bison (GNU Bison) 2.4.1
Scritto da Robert Corbett e Richard Stallman.
Copyright (C) 2008 Free Software Foundation, Inc.
Questo e' software libero; vedere il sorgente per le condizioni cui e'
sottoposta la copia. NON c'รจ ALCUNA garanzia, neanche di
COMMERCIABILITA` o di ADEGUATEZZA AD UN PARTICOLARE SCOPO.
=== Running test ./silent5.test
++ pwd
/home/stefano/src/automake/tests/silent5.dir
+ set -e
+ mkdir sub
+ cat
+ cat
+ cat
+ cat
+ cat
+ cat
+ cat
+ cat
+ cp foo1.cpp bar.c
+ cp foo1.cpp sub/baz.c
+ cp foo1.cpp sub/bla.c
+ cp foo1.cpp sub/baz1.cpp
+ cp foo2.f90 sub/baz2.f90
+ cp foo3.f sub/baz3.f
+ cp foo5.l sub/baz5.l
+ cp foo6.y sub/baz6.y
+ aclocal-1.11a -Werror
+ automake-1.11a --foreign -Werror -Wall --add-missing
configure.in:5: installing `./compile'
configure.in: installing `./ylwrap'
+ autoconf
+ for config_args in ''\'''\''' am_cv_CC_dependencies_compiler_type=gcc
--disable-dependency-tracking
+ ./configure --enable-silent-rules
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 /opt/heirloom/bin/make sets $(MAKE)... yes
checking for style of include used by /opt/heirloom/bin/make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sub/Makefile
config.status: executing depfiles commands
+ /opt/heirloom/bin/make
+ cat stdout
YACC foo6.c
updating foo6.h
/opt/heirloom/bin/make all-recursive
Making all in sub
YACC baz6.c
updating baz6.h
/opt/heirloom/bin/make all-am
CXX baz1.o
FC baz2.o
F77 baz3.o
rm -f baz5.c
flex -t baz5.l > baz5.c
gcc -g -O2 -c -o baz5.o baz5.c
rm -f baz5.c
CC baz6.o
CXXLD baz
CC bla-bla.o
CCLD bla
CXX ba2-baz1.o
FC ba2-baz2.o
F77 ba2-baz3.o
LEX baz5.c
CC ba2-baz5.o
CC ba2-baz6.o
CXXLD ba2
CXX foo1.o
FC foo2.o
F77 foo3.o
rm -f foo5.c
flex -t foo5.l > foo5.c
gcc -g -O2 -c -o foo5.o foo5.c
rm -f foo5.c
CC foo6.o
CXXLD foo
CC bar-bar.o
CCLD bar
CXX fo2-foo1.o
FC fo2-foo2.o
F77 fo2-foo3.o
LEX foo5.c
CC fo2-foo5.o
CC fo2-foo6.o
CXXLD fo2
+ grep ' -c' stdout
gcc -g -O2 -c -o baz5.o baz5.c
gcc -g -O2 -c -o foo5.o foo5.c
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ exit_status=1
+ set +e
+ cd /home/stefano/src/automake/tests
+ case $exit_status,$keep_testdirs in
+ test 0 '!=' 0
+ echo 'silent5: exit 1'
silent5: exit 1
+ exit 1