automake-patches
[Top][All Lists]
Advanced

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

Testsuite failures on Tru64 OSF 5.1 (was: testsuite results from master)


From: Stefano Lattarini
Subject: Testsuite failures on Tru64 OSF 5.1 (was: testsuite results from master)
Date: Sun, 14 Nov 2010 23:00:16 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

On Sunday 14 November 2010, Ralf Wildenhues wrote:
> Hello Stefano,
> 
> I think it is time to reevaluate some of the work that has been done in
> the last few weeks.  I'd like to ask you to postpone pushes of pending
> stuff that has a clock ticking, and look at the lots of new failures
> that a testsuite run shows on a few hosts; you can find them in some
> minutes on <http://autobuild.josefsson.org/automake/>.
> 

Log:
 <http://autobuild.josefsson.org/automake/log-201011141902490189000.txt>

Minimal system information:
 configure: autobuild project... GNU Automake
 configure: autobuild revision... v1.11-225-gcdd3cf3
 configure: autobuild hostname... gen
 configure: autobuild mode... default
 configure: autobuild timestamp... 20111412T185841Z
 CONFIG_SHELL=/bin/ksh /bin/ksh ../automake/configure 
PERL=/opt/fsw/perl588/bin/perl
 checking build system type... alphaev67-dec-osf5.1

-*-*-*-

> FAIL: ar-lib.test (exit: 1)
> ===========================
> 
> /tmp/am/build-alphaev67-dec-osf5.1/tests:/tmp/local/alphaev67-dec-o
> sf5.1/bin:/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/opt/svr4/bin:
> /etc:/usr/etc:/usr/dt/bin:/usr/bin/X11:/usr/ucb + pwd
> /tmp/am/build-alphaev67-dec-osf5.1/tests/ar-lib.dir
> + set -e
> + cp /tmp/am/build-alphaev67-dec-osf5.1/../automake/lib/ar-lib .
> + cat
> + chmod +x ./lib
> + ./ar-lib ./lib cr foo.lib foo.obj
> ./ar-lib: bad substitution
Might be one of the "fragile" substitutions:
 ${action#-}
 ${action#?}
 address@hidden
introduced recentlish in the msvc branch.

Running the ar-lib script with traces might be enough to pinpoint
the bug.

-*-*-*-

> FAIL: backcompat5.test (exit: 1)
> ================================
>
[CUT]
> find ../foo-1.0 -print ## useful for debugging
> find: missing conjunction
> *** Exit 1
> Stop.
Seems like a limitation (bug) of the find utility; what I'd do is
replacing the above find command simply with:
  find ../foo-1.0
WDYT?

-*-*-*-

> FAIL: compile3.test (exit: 1)
> =============================
> 
> /tmp/am/build-alphaev67-dec-osf5.1/tests:/tmp/local/alphaev67-dec-o
> sf5.1/bin:/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/opt/svr4/bin:
> /etc:/usr/etc:/usr/dt/bin:/usr/bin/X11:/usr/ucb + pwd
> /tmp/am/build-alphaev67-dec-osf5.1/tests/compile3.dir
> + set -e
> + cp /tmp/am/build-alphaev67-dec-osf5.1/../automake/lib/compile .
> + cat
> + chmod +x ./cl
> + ./compile ./cl foo.c -o foo -lbar -Lgazonk -Ibaz -Xlinker foobar
> -Wl,-foo,bar LIB=
> ./compile: bad substitution

> FAIL: compile6.test (exit: 1)
> =============================
> 
> /tmp/am/build-alphaev67-dec-osf5.1/tests:/tmp/local/alphaev67-dec-o
> sf5.1/bin:/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/opt/svr4/bin:
> /etc:/usr/etc:/usr/dt/bin:/usr/bin/X11:/usr/ucb + pwd
> /tmp/am/build-alphaev67-dec-osf5.1/tests/compile6.dir
> + set -e
> + cp
> /tmp/am/build-alphaev67-dec-osf5.1/../automake/tests/../lib/compil
> e . + cat
> + chmod +x ./cl
> + mkdir syslib
> + :
> + pwd
> syslib=/tmp/am/build-alphaev67-dec-osf5.1/tests/compile6.dir/syslib
> LIB=/tmp/am/build-alphaev67-dec-osf5.1/tests/compile6.dir/syslib
> + export LIB
> + mkdir lib
> + :
> + :
> + ./compile ./cl foo.c -o foo -Llib -lbar -lfoo
> ./compile: bad substitution

Might be one of the "fragile" substitutions:
 ${1#-I}
 ${1#-l}
 ${1#-L}
 ${1#-Wl,}
introduced recentlish in the msvc branch.

Running the compile script with traces might be enough to pinpoint
the bug.

-*-*-*-

> FAIL: instspc-*-build.test (exit: 1)
> FAIL: instspc-*-install.test (exit: 1)
Re-running the tests with `/bin/ksh -x' might really help here.  No idea
what might have ben gone wrong otherwise.  And yes, this is clearly a bug
introduced by my recent "instspc.test refactoring" patch.

-*-*-*-

> FAIL: parallel-tests9.test (exit: 1)
> ====================================
This failure seems unrelated with the latest testsuite work.  The only
recentish change affecting this file is:
  v1.11-62-g0344911 "Avoid generation of `tests/defs-p' file"
but I doubt it could be the cause of the failure.
 
> /tmp/am/build-alphaev67-dec-osf5.1/tests:/tmp/local/alphaev67-dec-o
> sf5.1/bin:/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/opt/svr4/bin:
> /etc:/usr/etc:/usr/dt/bin:/usr/bin/X11:/usr/ucb + pwd
> /tmp/am/build-alphaev67-dec-osf5.1/tests/parallel-tests9.dir
> + set -e
> + cat
> + cat
> + cat
> + cat
> + cat
> + chmod a+x foo.test bar.test baz.test
> + aclocal-1.11a -Werror
> + autoconf
> + automake-1.11a --foreign -Werror -Wall -a
> + ./configure
> checking for a BSD-compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> + make check
> 
> Stop.
> 
> Stop.
> 
> Stop.
> + cat stdout
> make  bla
> echo bla > bla
> make  check-TESTS
> PASS: foo.test
> FAIL: bar.test
> FAIL: baz.test
> ===================
> 2 of 3 tests failed
> See ./mylog.log
> ===================
> *** Exit 1*** Exit 1*** Exit 1+ make recheck
> 
> Stop.
> 
> Stop.
> 
> Stop.
> 
> Stop.
> + cat stdout
> make TEST_LOGS="bar.log baz.log" bla
> `bla' is up to date.
> make TEST_LOGS="bar.log baz.log" check-TESTS
> FAIL: bar.test
> FAIL: baz.test
> ===================
> 2 of 2 tests failed
> See ./mylog.log
> ===================
> *** Exit 1*** Exit 1*** Exit 1*** Exit 1+ grep foo.test stdout
> + grep bar.test stdout
> FAIL: bar.test
> + grep baz.test stdout
> FAIL: baz.test
> + grep 2 of 2.*failed stdout
> 2 of 2 tests failed
> + chmod a-r foo.log
> + test ! -r foo.log
> + make recheck
> sh: foo.log: cannot open
This might be a real automake bug (unportable rules in lib/am/check.am,
maybe?).  Just wild guessing, though.

> + cat stdout
> make TEST_LOGS="" bla
> `bla' is up to date.
> make TEST_LOGS="" check-TESTS
> ==================
> All 0 tests passed
> ==================
> + Exit 1
> + set +e
> + exit 1
> + exit 1

The only other remotely possibly relevant change I might think of is:
  v1.11-159-ge7aa360 "Work around a nasty bug (segfault) of Solaris make."
modifying the `recheck' rules in `lib/am/check.am'.  But a quick glance
to the diffs shows that this change should be harmless w.r.t. this
testsuite failure.

-*-*-*-

> FAIL: silentlex.test (exit: 1)
> ==============================
> 
> /tmp/am/build-alphaev67-dec-osf5.1/tests:/tmp/local/alphaev67-dec-o
> sf5.1/bin:/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/opt/svr4/bin:
> /etc:/usr/etc:/usr/dt/bin:/usr/bin/X11:/usr/ucb silentlex: running
> flex --version
> flex version 2.5.3
> + pwd
> /tmp/am/build-alphaev67-dec-osf5.1/tests/silentlex.dir
> + set -e
> + mkdir sub
> + cat
> + cat
> + cat
> + cat
> + cp foo.l sub/bar.l
> + aclocal-1.11a -Werror
> + automake-1.11a --foreign -Werror -Wall --add-missing
> configure.in:5: installing `./compile'
> configure.in: installing `./ylwrap'
> + autoconf
> + ./configure --enable-silent-rules
> checking for a BSD-compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking for gcc... no
> checking for cc... cc
> 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... no
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking dependency style of cc... tru64
> checking whether cc understands -c and -o together... yes
> checking for flex... flex
> checking lex output file root... lex.yy
> checking lex library... -ll
> checking whether yytext is a pointer... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating sub/Makefile
> config.status: executing depfiles commands
> + make
> + cat stdout
> Making all in sub
> 
>   LEX      bar.c
>   CC       bar.o
>   CCLD     bar1
>   CC       bar2-bar.o
>   CCLD     bar2
>   LEX      foo.c
>   CC       foo.o
>   CCLD     foo1
>   CC       foo2-foo.o
>   CCLD     foo2
> 
> + /bin/grep -E  (-c|-o) stdout
> + /bin/grep -E (mv|ylwrap)  stdout
> + grep LEX .*foo\. stdout
> 
>   LEX      foo.c
> 
> + grep LEX .*bar\. stdout
> 
>   LEX      bar.c
> 
> + grep  CC .*foo\. stdout
> 
>   CC       foo.o
>   CC       foo2-foo.o
> 
> + grep  CC .*bar\. stdout
> 
>   CC       bar.o
>   CC       bar2-bar.o
> 
> + grep CCLD .*foo1 stdout
> 
>   CCLD     foo1
> 
> + grep CCLD .*bar1 stdout
> 
>   CCLD     bar1
> 
> + grep CCLD .*foo2 stdout
> 
>   CCLD     foo2
> 
> + grep CCLD .*bar2 stdout
> 
>   CCLD     bar2
> 
> + make clean
> Making clean in sub
> test -z "bar1 bar2" || rm -f bar1 bar2
> rm -f *.o
> Making clean in .
> test -z "foo1 foo2" || rm -f foo1 foo2
> rm -f *.o
> + make
> + cat stdout
> Making all in sub
> 
>   CC       bar.o
>   CCLD     bar1
>   CC       bar2-bar.o
>   CCLD     bar2
>   CC       foo.o
>   CCLD     foo1
>   CC       foo2-foo.o
>   CCLD     foo2
> 
> + /bin/grep -E  (-c|-o) stdout
> + /bin/grep -E (mv|ylwrap)  stdout
> + grep  CC .*foo\. stdout
> 
>   CC       foo.o
>   CC       foo2-foo.o
> 
> + grep  CC .*bar\. stdout
> 
>   CC       bar.o
>   CC       bar2-bar.o
> 
> + grep CCLD .*foo1 stdout
> 
>   CCLD     foo1
> 
> + grep CCLD .*bar1 stdout
> 
>   CCLD     bar1
> 
> + grep CCLD .*foo2 stdout
> 
>   CCLD     foo2
> 
> + grep CCLD .*bar2 stdout
> 
>   CCLD     bar2
> 
> + make clean
> Making clean in sub
> test -z "bar1 bar2" || rm -f bar1 bar2
> rm -f *.o
> Making clean in .
> test -z "foo1 foo2" || rm -f foo1 foo2
> rm -f *.o
> + rm -f foo.c sub/bar.c
> + make V=1
> + cat stdout
> Making all in sub
> 
>  /bin/ksh ../ylwrap bar.l lex.yy.c bar.c -- flex
> 
> source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c -o bar.o bar.c cc  -g   -o bar1 bar.o -ll
> source='bar.c' object='bar2-bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o bar2-bar.o `test -f 'bar.c' || echo './'`bar.c cc  -g  
>  -o bar2 bar2-bar.o -ll
> 
>  /bin/ksh ./ylwrap foo.l lex.yy.c foo.c -- flex
> 
> source='foo.c' object='foo.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c foo.c cc  -g   -o foo1 foo.o -ll
> source='foo.c' object='foo2-foo.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o foo2-foo.o `test -f 'foo.c' || echo './'`foo.c cc  -g  
>  -o foo2 foo2-foo.o -ll
> + grep  -c  stdout
> source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c -o bar.o bar.c source='bar.c' object='bar2-bar.o'
> libtool=no  DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
> -DPACKAGE_NAME=\"silentlex\" -DPACKAGE_TARNAME=\"silentlex\"
> -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"silentlex\ 1.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\"
> -DYYTEXT_POINTER=1 -I.     -g -c -o bar2-bar.o `test -f 'bar.c' ||
> echo './'`bar.c source='foo.c' object='foo.o' libtool=no 
> DEPDIR=.deps depmode=tru64 /bin/ksh ./depcomp  cc
> -DPACKAGE_NAME=\"silentlex\" -DPACKAGE_TARNAME=\"silentlex\"
> -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"silentlex\ 1.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\"
> -DYYTEXT_POINTER=1 -I.      -g -c foo.c source='foo.c'
> object='foo2-foo.o' libtool=no  DEPDIR=.deps depmode=tru64
> /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o foo2-foo.o `test -f 'foo.c' || echo './'`foo.c + grep 
> -o  stdout
> source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c -o bar.o bar.c cc  -g   -o bar1 bar.o -ll
> source='bar.c' object='bar2-bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o bar2-bar.o `test -f 'bar.c' || echo './'`bar.c cc  -g  
>  -o bar2 bar2-bar.o -ll
> cc  -g   -o foo1 foo.o -ll
> source='foo.c' object='foo2-foo.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o foo2-foo.o `test -f 'foo.c' || echo './'`foo.c cc  -g  
>  -o foo2 foo2-foo.o -ll
> + grep ylwrap  stdout
> 
>  /bin/ksh ../ylwrap bar.l lex.yy.c bar.c -- flex
>  /bin/ksh ./ylwrap foo.l lex.yy.c foo.c -- flex
> 
> + /bin/grep -E (LEX|CC|CCLD)  stdout
> + make clean
> Making clean in sub
> test -z "bar1 bar2" || rm -f bar1 bar2
> rm -f *.o
> Making clean in .
> test -z "foo1 foo2" || rm -f foo1 foo2
> rm -f *.o
> + make V=1
> + cat stdout
> Making all in sub
> source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c -o bar.o bar.c cc  -g   -o bar1 bar.o -ll
> source='bar.c' object='bar2-bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o bar2-bar.o `test -f 'bar.c' || echo './'`bar.c cc  -g  
>  -o bar2 bar2-bar.o -ll
> source='foo.c' object='foo.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c foo.c cc  -g   -o foo1 foo.o -ll
> source='foo.c' object='foo2-foo.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o foo2-foo.o `test -f 'foo.c' || echo './'`foo.c cc  -g  
>  -o foo2 foo2-foo.o -ll
> + grep  -c  stdout
> source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c -o bar.o bar.c source='bar.c' object='bar2-bar.o'
> libtool=no  DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
> -DPACKAGE_NAME=\"silentlex\" -DPACKAGE_TARNAME=\"silentlex\"
> -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"silentlex\ 1.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\"
> -DYYTEXT_POINTER=1 -I.     -g -c -o bar2-bar.o `test -f 'bar.c' ||
> echo './'`bar.c source='foo.c' object='foo.o' libtool=no 
> DEPDIR=.deps depmode=tru64 /bin/ksh ./depcomp  cc
> -DPACKAGE_NAME=\"silentlex\" -DPACKAGE_TARNAME=\"silentlex\"
> -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"silentlex\ 1.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\"
> -DYYTEXT_POINTER=1 -I.      -g -c foo.c source='foo.c'
> object='foo2-foo.o' libtool=no  DEPDIR=.deps depmode=tru64
> /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o foo2-foo.o `test -f 'foo.c' || echo './'`foo.c + grep 
> -o  stdout
> source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>    -g -c -o bar.o bar.c cc  -g   -o bar1 bar.o -ll
> source='bar.c' object='bar2-bar.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ../depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o bar2-bar.o `test -f 'bar.c' || echo './'`bar.c cc  -g  
>  -o bar2 bar2-bar.o -ll
> cc  -g   -o foo1 foo.o -ll
> source='foo.c' object='foo2-foo.o' libtool=no  DEPDIR=.deps
> depmode=tru64 /bin/ksh ./depcomp  cc -DPACKAGE_NAME=\"silentlex\"
> -DPACKAGE_TARNAME=\"silentlex\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"silentlex\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"silentlex\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -I.  
>   -g -c -o foo2-foo.o `test -f 'foo.c' || echo './'`foo.c cc  -g  
>  -o foo2 foo2-foo.o -ll
> + /bin/grep -E (LEX|CC|CCLD)  stdout
> + make clean
> Making clean in sub
> test -z "bar1 bar2" || rm -f bar1 bar2
> rm -f *.o
> Making clean in .
> test -z "foo1 foo2" || rm -f foo1 foo2
> rm -f *.o
> + make maintainer-clean
> Making maintainer-clean in sub
> test -z "bar1 bar2" || rm -f bar1 bar2
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> This command is intended for maintainers to use
> it deletes files that may require special tools to rebuild.
> rm -f bar.c
> rm -rf ./.deps
> rm -f Makefile
> Making maintainer-clean in .
> test -z "foo1 foo2" || rm -f foo1 foo2
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> This command is intended for maintainers to use
> it deletes files that may require special tools to rebuild.
> rm -f foo.c
> rm -f config.status config.cache config.log  configure.lineno
> config.status.lineno rm -rf ./autom4te.cache
> rm -rf ./.deps
> rm -f Makefile
> + rm -f foo.c sub/bar.c
> + ./configure am_cv_CC_dependencies_compiler_type=gcc
OK, so here I force gcc depmode ...
> --enable-silent-rules checking for a BSD-compatible install...
> ./install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking for gcc... no
> checking for cc... cc
> 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... no
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking dependency style of cc... (cached) gcc
> checking whether cc understands -c and -o together... yes
> checking for flex... flex
> checking lex output file root... lex.yy
> checking lex library... -ll
> checking whether yytext is a pointer... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating sub/Makefile
> config.status: executing depfiles commands
> + make
> cc: Severe: No such file or directory
> ... file is '.deps/bar.TPo'
... but the C compiler is clearly not gcc-compatible in this respect.

My bad I guess.  The solution might be splitting silentlex.test in two
sister tests:
 - silentlex-generic.test, trying only default depmode and disabled
   depmode; and
 - silentlex-gcc.test, trying trying gcc depmode and having `gcc' in
   $required.

And maybe something similar should be done for silentyacc.test too.

Opinions?

> 
> Stop.
> 
> Stop.
> + cat stdout
> Making all in sub
> 
>   LEX      bar.c
>   CC       bar.o
> 
> *** Exit 1*** Exit 1+ Exit 1
> + set +e
> + exit 1
> + exit 1

-*-*-*-

> FAIL: vartypos.test (exit: 1)
> FAIL: vartypo2.test (exit: 1)

 $ git log tests/vartypo*.test 
 commit f19b07647af068030866b7bc94710e930a6fccb9
 Author: Ralf Wildenhues <address@hidden>
 Date:   Sat Oct 2 20:26:47 2010 +0200

    Coverage and minor fixes for variable typo detection.
    
    * automake.in (check_typos): Remove `EXTRA_' prefix when
    computing canonical name.
    * tests/vartypo2.test, tests/vartypos.test: New tests.
    * tests/Makefile.am (TESTS): Update.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

I guess Ralf will take care of those ;-)

-*-*-*-

Regards,
  Stefano



reply via email to

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