bug-automake
[Top][All Lists]
Advanced

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

Re: "make check-TEST" lossage on FreeBSD make (+ untested patch)


From: Mark D. Baushke
Subject: Re: "make check-TEST" lossage on FreeBSD make (+ untested patch)
Date: Thu, 06 May 2004 00:50:11 -0700

Alexandre Duret-Lutz <address@hidden> writes:

> >>> "Mark" == Mark D Baushke <address@hidden> writes:
> 
> [...]
> 
>  Mark> Given that the tests:
>  Mark> aclocal4.test 
>  Mark> aclocal5.test 
>  Mark> aclocal6.test 
>  Mark> dollar.test
>  Mark> gnumake.test
>  Mark> lex5.test
>  Mark> make.test
>  Mark> makej.test
>  Mark> output6.test
>  Mark> version7.test 
>   
>  Mark> all use 'required=GNUmake' it is not clear to me if this
>  Mark> is a good thing or a bad thing.
> 
> Since they require GNUmake they should simply not run on your system.
> Could you run
> 
> % make --version -v; echo $?

I have included the output of the above command and a related command
for FreeBSD 2.2.8-RELEASE, 3.3-RELEASE, 4.2-RELEASE, 4.10-PRERELEASE,
and 5.2-RELEASE as well as Solaris 7 and NetBSD 1.6.2 below...

While in the automake/obj.fbsd4 directory with an auto-generated
Makefile being present...

On FreeBSD 2.2.8-RELEASE, I see the following:

% /usr/bin/make --version -v; echo $?
make: illegal option -- v
usage: make [-Beiknqrst] [-D variable] [-d flags] [-f makefile ]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [variable=value] [target ...]
2
%

On FreeBSD 3.3-RELEASE, I see the following:

% /usr/bin/make --version -v; echo $?
0
%

On FreeBSD 4.2-RELEASE, I see the following:

% /usr/bin/make --version -v; echo $?
0
%

On FreeBSD 4.10-PRERELEASE, I see the following:

% /usr/bin/make --version -v; echo $?
0


On FreeBSD 5.2-RELEASE, I see the following:
% /usr/bin/make --version -v; echo $?
0
%


On NetBSD 1.6.1, I see the following:

% /usr/bin/make --version -v; echo $?
usage: make [-Beiknqrst] [-D variable] [-d flags] [-f makefile]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [variable=value] [target ...]
2
%

However, if I use a real option like -V without a variable argument, I
get the error you desire...

On FreeBSD 2.2.8-RELEASE, I see the following:

% /usr/bin/make -V; echo $?
make: option requires an argument -- V
usage: make [-Beiknqrst] [-D variable] [-d flags] [-f makefile ]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [variable=value] [target ...]
2
%

On FreeBSD 3.3-RELEASE, I see the following:

% /usr/bin/make -V; echo $?
make: option requires an argument -- V
usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f makefile]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [variable=value] [target ...]
2
%

On FreeBSD 4.2-RELEASE, I see the following:

% /usr/bin/make -V; echo $?
make: option requires an argument -- V
usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f makefile]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [variable=value] [target ...]
2
%

On FreeBSD 4.10-PRERELEASE, I see the following

% /usr/bin/make -V; echo $?
make: option requires an argument -- V
usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags]
            [-E variable] [-f makefile] [-I directory] [-j max_jobs]
            [-m directory] [-V variable] [variable=value] [target ...]
2
%

On FreeBSD 5.2-RELEASE, I see the following:

% /usr/bin/make -V; echo $?
make: option requires an argument -- V
usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags]
            [-E variable] [-f makefile] [-I directory] [-j max_jobs]
            [-m directory] [-V variable] [variable=value] [target ...]
2
%

On NetBSD 1.6.2, I see the following:

% /usr/bin/make -V; echo $?
make: option requires an argument -- V
usage: make [-Beiknqrst] [-D variable] [-d flags] [-f makefile]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [variable=value] [target ...]
2
%

The same idiom works for NetBSD berkeley make as well with the same
result.

On a Solaris 7 box, the command output is as follows:

% /usr/ccs/bin/make -V; echo $?
make: Fatal error: No arguments to build
1
% /usr/xpg4/bin/make -V; echo $?
make: Fatal error: No arguments to build
1
% /usr/local/bin/make -V; echo $?
/usr/local/bin/make: invalid option -- V
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

Report bugs to <address@hidden>.
2
%

Please note that gmake is in my $PATH on my machines and generates the
following:

% gmake --version -v; echo $?
GNU Make 3.80
Copyright (C) 2002  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.
0
%
 
> This command used to output
> 
> make: invalid option -- -
> usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f makefile]
>             [-I directory] [-j max_jobs] [-m directory] [-V variable]
>             [variable=value] [target ...]
> 2
> 
> with former FreeBSD versions.

Yes, that appears to have been true for FreeBSD 2.2.8-RELEASE. It did
not happen with the FreeBSD 4.2-RELEASE on which I was doing the most
recent set of 'make check' runs.

> Apparently it no longer fails in the traces you sent.

> Perhaps we should change tests/defs.in to
> use `$MAKE --version -v | grep GNU' instead.

Okay... applying this patch to tests/defs.in and the generated
tests/defs 

Index: tests/defs.in
===================================================================
RCS file: /cvs/automake/automake/tests/defs.in,v
retrieving revision 1.27
diff -u -p -r1.27 defs.in
--- tests/defs.in       10 Apr 2004 17:18:01 -0000      1.27
+++ tests/defs.in       6 May 2004 07:38:45 -0000
@@ -115,7 +115,7 @@ then
       GNUmake)
        # Use --version and -v, because SGI Make doesn't fail on --version.
        echo "$me: running $MAKE --version -v"
-       ( $MAKE --version -v ) || exit 77
+       ( $MAKE --version -v | grep GNU ) || exit 77
        ;;
       gcc)
         # When gcc is required, export `CC=gcc' so that ./configure

and running this test:

% env VERBOSE=x TESTS=aclocal4.test /usr/bin/make -e check-TESTS
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
aclocal4: running make --version -v
SKIP: aclocal4.test
======================
All 0 tests passed
(1 tests were not run)
======================
% 

I get a "SKIP" which would be better.

 
>  Mark> lex3.test
>  Mark> yacc6.test
> 
> I can reproduce these two under Linux using FreeBSD make.

Do you need help with the two other failed tests fn99.test and tar2.test ?

Running the just 'FAIL' tests again with the above patch to defs.in and
defs yeilds the output that follows my .signature.

        Thanks,
        -- Mark

% env VERBOSE=x TESTS='aclocal4.test aclocal5.test aclocal6.test auxdir2.test 
cond17.test dollar.test fn99.test gnumake.test lex3.test lex5.test make.test 
makej.test output6.test subdir8.test tar2.test txinfo5.test version7.test 
yacc6.test' /usr/bin/make -e check-TESTS
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
aclocal4: running make --version -v
SKIP: aclocal4.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
aclocal5: running make --version -v
SKIP: aclocal5.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
aclocal6: running make --version -v
SKIP: aclocal6.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
=== Running test ../../tests/auxdir2.test
+ pwd
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir
+ cat
+ :
+ aclocal-1.8a
+ automake-1.8a --foreign -Werror -Wall
configure.in: required file `$foo/install-sh' not found
configure.in: required file `$foo/missing' not found
XFAIL: auxdir2.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
=== Running test ../../tests/cond17.test
+ pwd
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir
+ cat
+ cat
+ set -e
+ aclocal-1.8a
+ automake-1.8a --foreign -Werror -Wall -a
Makefile.am: object `foo.$(OBJEXT)' created by `foo.cc' and `foo.c'
XFAIL: cond17.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
dollar: running make --version -v
SKIP: dollar.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
=== Running test ../../tests/fn99.test
+ pwd
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir
+ set -e
+ echo AC_OUTPUT
+ cat
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ mkdir -p 12345678
+ cd 12345678
+ touch x
+ aclocal-1.8a
+ /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/lib/missing --run 
autoconf
+ automake-1.8a --foreign -Werror -Wall
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
+ make distcheck
{ test ! -d fn99-1.0  || { find fn99-1.0 -type d ! -perm -200 -exec chmod u+w 
{} ';'  && rm -fr fn99-1.0; }; }
mkdir fn99-1.0
find fn99-1.0 -type d ! -perm -777 -exec chmod a+rwx {} \; -o  ! -type d ! 
-perm -444 -links 1 -exec chmod a+r {} \; -o  ! -type d ! -perm -400 -exec 
chmod a+r {} \; -o  ! -type d ! -perm -444 -exec /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/install-sh
 -c -m a+r {} {} \;  || chmod -R a+r fn99-1.0
tardir=fn99-1.0 && /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar chof - "$tardir" | GZIP=--best gzip -c >fn99-1.0.tar.gz
{ test ! -d fn99-1.0  || { find fn99-1.0 -type d ! -perm -200 -exec chmod u+w 
{} ';'  && rm -fr fn99-1.0; }; }
case 'fn99-1.0.tar.gz' in  *.tar.gz*)  GZIP=--best gunzip -c fn99-1.0.tar.gz | 
/bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar xf - ;; *.tar.bz2*)  bunzip2 -c fn99-1.0.tar.bz2 | /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar xf - ;; *.tar.Z*)  uncompress -c fn99-1.0.tar.Z | /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar xf - ;; *.shar.gz*)  GZIP=--best gunzip -c fn99-1.0.shar.gz | unshar 
;; *.zip*)  unzip fn99-1.0.zip ;; esac
chmod -R a-w fn99-1.0; chmod a+w fn99-1.0
mkdir fn99-1.0/_build
mkdir fn99-1.0/_inst
chmod a-w fn99-1.0
dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd fn99-1.0/_inst && pwd | sed 
-e 's,^[^:\\/]:[\\/],/,'`  && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/"  && cd 
fn99-1.0/_build  && ../configure --srcdir=.. --prefix="$dc_install_base"    && 
make   && make  dvi  && make  check  && make  install  && make  installcheck  
&& make  uninstall  && make  distuninstallcheck_dir="$dc_install_base"  
distuninstallcheck  && chmod -R a-w "$dc_install_base"  && ({  (cd ../.. && 
umask 077 && mkdir "$dc_destdir")  && make  DESTDIR="$dc_destdir" install  && 
make  DESTDIR="$dc_destdir" uninstall  && make  DESTDIR="$dc_destdir"  
distuninstallcheck_dir="$dc_destdir" distuninstallcheck;  } || { rm -rf 
"$dc_destdir"; exit 1; })  && rm -rf "$dc_destdir"  && make  dist  && rm -rf 
fn99-1.0.tar.gz  && make  distcleancheck
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
{ test ! -d fn99-1.0  || { find fn99-1.0 -type d ! -perm -200 -exec chmod u+w 
{} ';'  && rm -fr fn99-1.0; }; }
mkdir fn99-1.0
cp: fn99-1.0/12345678/12345678: Permission denied
*** Error code 1

Stop in 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/fn99-1.0/_build.
*** Error code 1

Stop in 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir.
FAIL: fn99.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
gnumake: running make --version -v
SKIP: gnumake.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
lex3: running gcc --version
2.95.2
lex3: running gzip --version
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H ASMV 
lex3: running flex --version
flex version 2.5.4
=== Running test ../../tests/lex3.test
+ pwd
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir
+ CFLAGS=
+ export CFLAGS
+ cat
+ cat
+ cat
+ set -e
+ aclocal-1.8a
+ /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/lib/missing --run 
autoconf
+ automake-1.8a --foreign -Werror -Wall -a
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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... gcc
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make
flex   foo.l
sed '/^#/ s|lex.yy\.c|foo.c|' lex.yy.c >foo.c
rm -f lex.yy.c
source='foo.c' object='foo.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/bash 
./depcomp  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"am_lex_bug\" -DVERSION=\"0.1.1\" -DYYTEXT_POINTER=1 -I. -I.       
-c foo.c
gcc     -o foo  foo.o -lfl 
+ echo This is the END
+ ./foo
+ make distcheck
{ test ! -d am_lex_bug-0.1.1  || { find am_lex_bug-0.1.1 -type d ! -perm -200 
-exec chmod u+w {} ';'  && rm -fr am_lex_bug-0.1.1; }; }
mkdir am_lex_bug-0.1.1
find am_lex_bug-0.1.1 -type d ! -perm -777 -exec chmod a+rwx {} \; -o  ! -type 
d ! -perm -444 -links 1 -exec chmod a+r {} \; -o  ! -type d ! -perm -400 -exec 
chmod a+r {} \; -o  ! -type d ! -perm -444 -exec /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/install-sh
 -c -m a+r {} {} \;  || chmod -R a+r am_lex_bug-0.1.1
tardir=am_lex_bug-0.1.1 && /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar chof - "$tardir" | GZIP=--best gzip -c >am_lex_bug-0.1.1.tar.gz
{ test ! -d am_lex_bug-0.1.1  || { find am_lex_bug-0.1.1 -type d ! -perm -200 
-exec chmod u+w {} ';'  && rm -fr am_lex_bug-0.1.1; }; }
case 'am_lex_bug-0.1.1.tar.gz' in  *.tar.gz*)  GZIP=--best gunzip -c 
am_lex_bug-0.1.1.tar.gz | /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar xf - ;; *.tar.bz2*)  bunzip2 -c am_lex_bug-0.1.1.tar.bz2 | /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar xf - ;; *.tar.Z*)  uncompress -c am_lex_bug-0.1.1.tar.Z | /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/missing
 --run tar xf - ;; *.shar.gz*)  GZIP=--best gunzip -c am_lex_bug-0.1.1.shar.gz 
| unshar ;; *.zip*)  unzip am_lex_bug-0.1.1.zip ;; esac
chmod -R a-w am_lex_bug-0.1.1; chmod a+w am_lex_bug-0.1.1
mkdir am_lex_bug-0.1.1/_build
mkdir am_lex_bug-0.1.1/_inst
chmod a-w am_lex_bug-0.1.1
dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd am_lex_bug-0.1.1/_inst && pwd 
| sed -e 's,^[^:\\/]:[\\/],/,'`  && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/"  && 
cd am_lex_bug-0.1.1/_build  && ../configure --srcdir=.. 
--prefix="$dc_install_base"    && make   && make  dvi  && make  check  && make  
install  && make  installcheck  && make  uninstall  && make  
distuninstallcheck_dir="$dc_install_base"  distuninstallcheck  && chmod -R a-w 
"$dc_install_base"  && ({  (cd ../.. && umask 077 && mkdir "$dc_destdir")  && 
make  DESTDIR="$dc_destdir" install  && make  DESTDIR="$dc_destdir" uninstall  
&& make  DESTDIR="$dc_destdir"  distuninstallcheck_dir="$dc_destdir" 
distuninstallcheck;  } || { rm -rf "$dc_destdir"; exit 1; })  && rm -rf 
"$dc_destdir"  && make  dist  && rm -rf am_lex_bug-0.1.1.tar.gz  && make  
distcleancheck
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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... gcc
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
flex   ../foo.l
sed '/^#/ s|lex.yy\.c|foo.c|' lex.yy.c >foo.c
rm -f lex.yy.c
source='foo.c' object='foo.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/bash 
../depcomp  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"am_lex_bug\" -DVERSION=\"0.1.1\" -DYYTEXT_POINTER=1 -I. -I..       
-c foo.c
gcc     -o foo  foo.o -lfl 
{ test ! -d am_lex_bug-0.1.1  || { find am_lex_bug-0.1.1 -type d ! -perm -200 
-exec chmod u+w {} ';'  && rm -fr am_lex_bug-0.1.1; }; }
mkdir am_lex_bug-0.1.1
find am_lex_bug-0.1.1 -type d ! -perm -777 -exec chmod a+rwx {} \; -o  ! -type 
d ! -perm -444 -links 1 -exec chmod a+r {} \; -o  ! -type d ! -perm -400 -exec 
chmod a+r {} \; -o  ! -type d ! -perm -444 -exec /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/am_lex_bug-0.1.1/install-sh
 -c -m a+r {} {} \;  || chmod -R a+r am_lex_bug-0.1.1
tardir=am_lex_bug-0.1.1 && /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/am_lex_bug-0.1.1/missing
 --run tar chof - "$tardir" | GZIP=--best gzip -c >am_lex_bug-0.1.1.tar.gz
{ test ! -d am_lex_bug-0.1.1  || { find am_lex_bug-0.1.1 -type d ! -perm -200 
-exec chmod u+w {} ';'  && rm -fr am_lex_bug-0.1.1; }; }
test -z "foo" || rm -f foo
rm -f *.o
rm -f *.tab.c
rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f config.status config.cache config.log  configure.lineno 
configure.status.lineno
rm -rf ./.deps
rm -f Makefile
ERROR: files left in build directory after distclean:
./foo.c
*** Error code 1

Stop in 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/am_lex_bug-0.1.1/_build.
*** Error code 1

Stop in 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir.
FAIL: lex3.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
lex5: running gcc --version
2.95.2
lex5: running make --version -v
SKIP: lex5.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
make: running make --version -v
SKIP: make.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
makej: running make --version -v
SKIP: makej.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
output6: running make --version -v
SKIP: output6.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
subdir8: running make --version -v
SKIP: subdir8.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
=== Running test ../../tests/tar2.test
+ pwd
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir
+ set -e
+ cat
+ :
+ aclocal-1.8a
+ /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/lib/missing --run 
autoconf
+ automake-1.8a --foreign -Werror -Wall
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... none
configure: creating ./config.status
config.status: creating Makefile
+ make distcheck
{ test ! -d tar2-1.0  || { find tar2-1.0 -type d ! -perm -200 -exec chmod u+w 
{} ';'  && rm -fr tar2-1.0; }; }
mkdir tar2-1.0
find tar2-1.0 -type d ! -perm -777 -exec chmod a+rwx {} \; -o  ! -type d ! 
-perm -444 -links 1 -exec chmod a+r {} \; -o  ! -type d ! -perm -400 -exec 
chmod a+r {} \; -o  ! -type d ! -perm -444 -exec /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir/install-sh
 -c -m a+r {} {} \;  || chmod -R a+r tar2-1.0
tardir=tar2-1.0 && false | GZIP=--best gzip -c >tar2-1.0.tar.gz
{ test ! -d tar2-1.0  || { find tar2-1.0 -type d ! -perm -200 -exec chmod u+w 
{} ';'  && rm -fr tar2-1.0; }; }
case 'tar2-1.0.tar.gz' in  *.tar.gz*)  GZIP=--best gunzip -c tar2-1.0.tar.gz | 
false ;; *.tar.bz2*)  bunzip2 -c tar2-1.0.tar.bz2 | false ;; *.tar.Z*)  
uncompress -c tar2-1.0.tar.Z | false ;; *.shar.gz*)  GZIP=--best gunzip -c 
tar2-1.0.shar.gz | unshar ;; *.zip*)  unzip tar2-1.0.zip ;; esac
*** Error code 1

Stop in 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir.
FAIL: tar2.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
=== Running test ../../tests/txinfo5.test
+ pwd
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir
+ cat
+ cat
+ echo @setfilename ian.info
+ aclocal-1.8a
+ automake-1.8a --foreign -Werror -Wall --cygnus
configure.in:2: user variable `MAKEINFO' defined here...
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/../../lib/am/texinfos.am:
 ... overrides Automake variable `MAKEINFO' defined here
XFAIL: txinfo5.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
version7: running makeinfo --version
makeinfo (GNU texinfo) 4.2

Copyright (C) 2002 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.
version7: running make --version -v
SKIP: version7.test
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests:/homes/mdb/autoconf/2.59-fbsd4/bin:/volume/fwtools/gmake/3.80/bin:/homes/mdb/bin:/usr/local/gnupg-1.2.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/volume/labtools/bin:/volume/buildtools/bin
yacc6: running gcc --version
2.95.2
yacc6: running bison --version
GNU Bison version 1.28
=== Running test ../../tests/yacc6.test
+ pwd
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir
+ set -e
+ cat
+ cat
+ mkdir aux sub
+ cat
+ cat
+ cp sub/foo.y sub/bar.y
+ cat
+ aclocal-1.8a
+ /bin/bash 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/lib/missing --run 
autoconf
+ automake-1.8a --foreign -Werror -Wall -a
configure.in: installing `aux/install-sh'
configure.in: installing `aux/missing'
sub/Makefile.am: installing `aux/compile'
sub/Makefile.am: installing `aux/depcomp'
configure.in: installing `aux/ylwrap'
+ test -f aux/ylwrap
+ test ! -f ylwrap
+ test ! -f sub/ylwrap
+ grep -F (top_srcdir)/aux/ylwrap sub/Makefile.in
YLWRAP = $(top_srcdir)/aux/ylwrap
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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... gcc
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
/bin/bash ../aux/ylwrap foo.y y.tab.c foo.c y.tab.h foo.h y.output foo.output 
-- bison -y -d -d
updating foo.h
source='foo.c' object='foo-foo.o' libtool=no  DEPDIR=.deps depmode=gcc 
/bin/bash ../aux/depcomp  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 -c -o foo-foo.o `test -f 'foo.c' || echo './'`foo.c
source='main.c' object='foo-main.o' libtool=no  DEPDIR=.deps depmode=gcc 
/bin/bash ../aux/depcomp  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 -c -o foo-main.o `test -f 'main.c' || echo './'`main.c
gcc  -g -O2   -o foo  foo-foo.o foo-main.o  
/bin/bash ../aux/ylwrap bar.y y.tab.c bar.c y.tab.h bar.h y.output bar.output 
-- bison -y -d -d
updating bar.h
source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/bash 
../aux/depcomp  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 -c bar.c
source='main.c' object='main.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/bash 
../aux/depcomp  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 -c main.c
gcc  -g -O2   -o bar  bar.o main.o  
+ grep #.*line.*foo.y sub/foo.c
#line 1 "foo.y"
#line 7 "foo.y"
#line 8 "foo.y"
+ grep #.*line.*bar.y sub/bar.c
#line 1 "bar.y"
#line 7 "bar.y"
#line 8 "bar.y"
+ sleep 2
+ :
+ sleep 2
+ touch sub/bar.y
+ make
Making all in sub
/bin/bash ../aux/ylwrap bar.y y.tab.c bar.c y.tab.h bar.h y.output bar.output 
-- bison -y -d -d
bar.h is unchanged
source='bar.c' object='bar.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/bash 
../aux/depcomp  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 -c bar.c
source='main.c' object='main.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/bash 
../aux/depcomp  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 -c main.c
gcc  -g -O2   -o bar  bar.o main.o  
+ make test-time-unchanged
test `ls -1t sub/main.o z | sed 1q` = z
*** Error code 1

Stop in 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests/testSubDir.
FAIL: yacc6.test
=====================================
4 of 7 tests failed
(11 tests were not run)
Please report to address@hidden
=====================================
*** Error code 1

Stop in 
/.amd_mnt/juliet/vol/vol0/homes/mdb/src/automake/automake/obj.fbsd4/tests.
% 




reply via email to

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