automake
[Top][All Lists]
Advanced

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

Re: pr19.test


From: Robert Collins
Subject: Re: pr19.test
Date: Tue, 13 Mar 2001 22:42:22 +1100

Right, I reset my automake dir to CVS no patches,


==== test log in testSubDir  (running on cygwin 1.1.8-2)===
$ perl -pi.old -e 's/^\t\@/\t/g' Makefile
$ make distdir
chmod -R a+w ./am_lex_bug-0.1.1 >/dev/null 2>&1; rm -rf
./am_lex_bug-0.1.1
mkdir ./am_lex_bug-0.1.1
for file in Makefile.am Makefile.in aclocal.m4 configure configure.in
depcomp foo.c instal
l-sh missing mkinstalldirs foo.l  ; do \
  d=.; \
  if test -d $d/$file; then \
    cp -pR $d/$file ./am_lex_bug-0.1.1 \
    || exit 1; \
  else \
    test -f ./am_lex_bug-0.1.1/$file \
    || cp -p $d/$file ./am_lex_bug-0.1.1/$file \
    || exit 1; \
  fi; \
done
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/sh ./install-sh -c -m a+r {} {} \; \
|| chmod -R a+r ./am_lex_bug-0.1.1

=== end test log ===

For the sake of completeness,
====== test log in testSubDir (running under ksh on openBSD 2.8)
========
$ perl -pi -e 's/^\t\@/\t/g' Makefile
$ make distdir
chmod -R a+w ./am_lex_bug-0.1.1 >/dev/null 2>&1; rm -rf
./am_lex_bug-0.1.1
mkdir ./am_lex_bug-0.1.1
for file in Makefile.am Makefile.in aclocal.m4 configure configure.in
depcomp f\
oo.c install-sh missing mkinstalldirs foo.l  ; do  d=.;  if test -d
$d/$file; th\
en  cp -pR $d/$file ./am_lex_bug-0.1.1  || exit 1;  else  test -f
./am_lex_bug-0\
.1.1/$file  || cp -p $d/$file ./am_lex_bug-0.1.1/$file  || exit 1;  fi;
done
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/sh
./install-sh -c -m a+r\
{} {} \;  || chmod -R a+r ./am_lex_bug-0.1.1
=== end test log ====

Rob

Bonus content:
====   make check VERBOSE=e TESTS=pr19.test log ((from cygwin) don't
know if it's useful I haven't included the openBSD one, because we're
AFAIK we're not chasing a platform bug.===
=== Running test ./pr19.test
configure.in:8: warning: AC_PROG_LEX invoked multiple times
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for style of include used by make... #
checking dependency style of gcc... gcc
checking for flex... flex
checking for flex... (cached) 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
make[3]: Entering directory `/usr/src/automake/tests/testSubDir'
flex   foo.l && mv lex.yy.c foo.c
source='foo.c' object='foo.o' libtool=no \
depfile='.deps/foo.Po' tmpdepfile='.deps/foo.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DPACKAGE=\"am_lex_bug\" -DVERSION=\"0.1.1\" -DYYTEXT_POINTER=1  -I.
 -I.     -g -O2 -c
 -o foo.o `test -f foo.c || echo './'`foo.c
gcc  -g -O2   -o foo  foo.o -lfl
make[3]: Leaving directory `/usr/src/automake/tests/testSubDir'
make[3]: Entering directory `/usr/src/automake/tests/testSubDir'
chmod -R a+w ./am_lex_bug-0.1.1 >/dev/null 2>&1; rm -rf
./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/sh ./install-sh -c -m a+r {} {} \; \
|| chmod -R a+r ./am_lex_bug-0.1.1
/bin/sh /usr/src/automake/tests/testSubDir/missing --run tar chof -
./am_lex_bug-0.1.1 | G
ZIP=--best gzip -c >./am_lex_bug-0.1.1.tar.gz
chmod -R a+w ./am_lex_bug-0.1.1 >/dev/null 2>&1; rm -rf
./am_lex_bug-0.1.1
chmod -R a+w ./am_lex_bug-0.1.1 > /dev/null 2>&1; rm -rf
./am_lex_bug-0.1.1
GZIP=--best gunzip -c ./am_lex_bug-0.1.1.tar.gz | /bin/sh
/usr/src/automake/tests/testSubD
ir/missing --run tar xf -
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=: && cd ./am_lex_bug-0.1.1/=inst && pwd` \
  && 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 \
  && test `find $dc_install_base -type f -print | wc -l` -le 1 \
  && make  dist \
  && make  distclean \
  && rm -f ./am_lex_bug-0.1.1.tar.gz \
  && (test `find . -type f -print | wc -l` -eq 0 \
     || (echo "Error: files left after distclean" 1>&2; \
         exit 1) )
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for style of include used by make... #
checking dependency style of gcc... gcc
checking for flex... flex
checking for flex... (cached) 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
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
source='../foo.c' object='foo.o' libtool=no \
depfile='.deps/foo.Po' tmpdepfile='.deps/foo.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DPACKAGE=\"am_lex_bug\" -DVERSION=\"0.1.1\" -DYYTEXT_POINTER=1  -I.
 -I..     -g -O2 -
c -o foo.o `test -f ../foo.c || echo '../'`../foo.c
gcc  -g -O2   -o foo  foo.o -lfl
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Nothing to be done for `dvi'.
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[5]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Nothing to be done for `installcheck'.
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Nothing to be done for `uninstall'.
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
chmod -R a+w ./am_lex_bug-0.1.1 >/dev/null 2>&1; rm -rf
./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/sh .././install-sh -c -m a+r {} {}
\; \
|| chmod -R a+r ./am_lex_bug-0.1.1
/bin/sh
/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/missing --run tar
chof - ./am_
lex_bug-0.1.1 | GZIP=--best gzip -c >./am_lex_bug-0.1.1.tar.gz
chmod -R a+w ./am_lex_bug-0.1.1 >/dev/null 2>&1; rm -rf
./am_lex_bug-0.1.1
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
test -z "foo" || rm -f foo
rm -f *.o core *.core
rm -f *.tab.c
rm -rf .deps
rm -f Makefile
rm -f config.cache config.log stamp-h stamp-h[0-9]*
rm -f TAGS ID
rm -f config.status
make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/am_lex_bug-0.1.1/=build'
Error: files left after distclean
make[3]: *** [distcheck] Error 1
make[3]: Leaving directory `/usr/src/automake/tests/testSubDir'
FAIL: pr19.test
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/usr/src/automake/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/usr/src/automake/tests'

=====end make log======



> I have this.
>
> make[3]: Leaving directory
`/mnt/nostromo/home/lrde/prof/akim/src/am/tests/testSubDir'
> make[3]: Entering directory
`/mnt/nostromo/home/lrde/prof/akim/src/am/tests/testSubDir'
> chmod -R a+w ./am_lex_bug-0.1.1 >/dev/null 2>&1; rm -rf
./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/sh ./install-sh -c -m a+r {} {} \;
\
> || chmod -R a+r ./am_lex_bug-0.1.1
>
> Could you try to find the guilty lines in tests/testSubDir/Makefile?
>
> I'd suggest that you
>
>         make check VERBOSE=e TESTS=pr19.test
>         perl -pi 's/^\t\@/\t/g' testSubDir/Makefile
>         cd testSubDir
>         make distdir
>
> And send the logs.
>




reply via email to

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