On Tue, Jul 23, 2002 at 06:32:34PM +0200, Alexandre Duret-Lutz wrote:
> 
> What environment is `me'? <wink>

Ooops - NetBSD-1.6D/i386

> Cleaning configure.lino in distclean is correct, but not
> autom4te.cache.  See the comment about this a few lines below
> the place you patched.

Ah yes..

>  patrick> - comment6 needs gnu make
> 
> Which make are you using?  I'd rather teach Automake to warn
> about this construct if it's not portable.

I'm using the make which comes with NetBSD..
The following fail:
  make TESTS=comment6.test check
  gmake TESTS=comment6.test check
This one passes:
  gmake MAKE=gmake TESTS=comment6.test check

>  Patrick> - still don't know what's wrong with gnits2 and gnits3 (probably a sed 
>thing..)
>  Patrick> (what on earth does sed
>  Patrick> 's,^.*/,,;s/$//;s,^,p,;s/$//'`; do?!)
> 
> It changes `foo/bar' into `pbar'.
> 
>  Patrick> - or obsolete:
>  Patrick> === Running test ./obsolete.test
>  Patrick> .: obs.1: not found
>  Patrick> FAIL: obsolete.test
> 
> Could you show us the result of the following command?
> 
> env TESTS='gnits2.test gnits3.test obsolete.test' VERBOSE=x make -e check

.. and here it is.

Cheers,

Patrick


make  check-TESTS
gnits2: running gcc --version
2.95.3
=== Running test ./gnits2.test
+ cat
+ cat
+ echo int main () { return 0; }
+ cat
+ mkdir sub
+ cat
+ cat
+ chmod +x sub/scriptok.sh
+ chmod +x sub/scriptnok.sh
+ :
+ :
+ :
+ :
+ :
+ :
+ :
+ set -e
+ perl /usr/src/local/automake/tests/testSubDir/../../aclocal -I 
+/usr/src/local/automake/tests/testSubDir/../../m4 
+--acdir=/usr/src/local/automake/tests/../m4
+ autoconf
+ perl /usr/src/local/automake/tests/testSubDir/../../automake 
+--libdir=/usr/src/local/automake/tests/../lib --foreign -Werror -Wall -a
+ mkdir build
+ cd build
+ pwd
+ ../configure --prefix=/usr/src/local/automake/tests/testSubDir/build/../inst-dir 
+--program-prefix=p
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 a BSD-compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking for C compiler default output... 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
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make all
source='../fubar.c' object='fubar.o' libtool=no  depfile='.deps/fubar.Po' 
tmpdepfile='.deps/fubar.TPo'  depmode=gcc /bin/sh ../depcomp  gcc 
-DPACKAGE_NAME=\"gnits2\" -DPACKAGE_TARNAME=\"gnits2\" -DPACKAGE_VERSION=\"1.0\" 
-DPACKAGE_STRING=\"gnits2\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gnits2\" 
-DVERSION=\"1.0\" -I. -I..      -g -O2 -c `test -f '../fubar.c' || echo 
'../'`../fubar.c
gcc  -g -O2   -o fubar  fubar.o  
source='../fine.c' object='fine.o' libtool=no  depfile='.deps/fine.Po' 
tmpdepfile='.deps/fine.TPo'  depmode=gcc /bin/sh ../depcomp  gcc 
-DPACKAGE_NAME=\"gnits2\" -DPACKAGE_TARNAME=\"gnits2\" -DPACKAGE_VERSION=\"1.0\" 
-DPACKAGE_STRING=\"gnits2\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gnits2\" 
-DVERSION=\"1.0\" -I. -I..      -g -O2 -c `test -f '../fine.c' || echo '../'`../fine.c
mkdir -p -- sub
gcc  -g -O2   -o sub/fine  fine.o  
gcc  -g -O2   -o sub/fubar3  fubar.o  
gcc  -g -O2   -o fubar2  fubar.o  
+ make install
/bin/sh ../mkinstalldirs /usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin
mkdir -p -- /usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin
  /usr/bin/install -c fubar 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/pfubar
  /usr/bin/install -c sub/fine 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/pfine
/bin/sh ../mkinstalldirs /usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin
 /usr/bin/install -c ../sub/scriptok.sh 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/pscriptok.sh
 /usr/bin/install -c ../sub/scriptnok.sh 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/pscriptnok.sh
/bin/sh ../mkinstalldirs /usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin
  /usr/src/local/automake/tests/testSubDir/install-sh -c sub/fubar3 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/sub/pfubar3
+ test -f ../inst-dir/bin/pfine
+ test ! -f ../inst-dir/bin/fine
+ make -k installcheck
bad=0; pid=$$; list="fubar sub/fine"; for p in $list; do  case '  ' in  *" $p "*) 
continue;;  esac;  f=`echo "$p" |  sed 's,^.*/,,;s/$//;s,^,p,;s/$//'`;  for opt in 
--help --version; do  if 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/$f $opt > c${pid}_.out 
2> c${pid}_.err  && test -n "`cat c${pid}_.out`"  && test -z "`cat c${pid}_.err`"; 
then :;  else echo "$f does not support $opt" 1>&2; bad=1; fi;  done;  done; rm -f 
c${pid}_.???; exit $bad
*** Error code 1 (continuing)
bad=0; pid=$$; list="sub/scriptok.sh sub/scriptnok.sh"; for p in $list; do  case '  ' 
in  *" $p "*) continue;;  esac;  f=`echo "$p" | sed 's,^.*/,,;s,^,p,'`;  for opt in 
--help --version; do  if 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/$f $opt > c${pid}_.out 
2> c${pid}_.err  && test -n "`cat c${pid}_.out`"  && test -z "`cat c${pid}_.err`"; 
then :;  else echo "$f does not support $opt" 1>&2; bad=1; fi;  done;  done; rm -f 
c${pid}_.???; exit $bad
*** Error code 1 (continuing)
bad=0; pid=$$; list="sub/fubar3"; for p in $list; do  case '  ' in  *" $p "*) 
continue;;  esac;  f=`echo "$p" |  sed 's,^.*/,,;s/$//;s,^,p,;s/$//'`;  f=`echo "$p" | 
sed 's|[^/]*$||'`"$f";  for opt in --help --version; do  if 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/$f $opt > c${pid}_.out 
2> c${pid}_.err  && test -n "`cat c${pid}_.out`"  && test -z "`cat c${pid}_.err`"; 
then :;  else echo "$f does not support $opt" 1>&2; bad=1; fi;  done;  done; rm -f 
c${pid}_.???; exit $bad
*** Error code 1 (continuing)
`installcheck' not remade because of errors.
+ exit 1
FAIL: gnits2.test
gnits3: running gcc --version
2.95.3
=== Running test ./gnits3.test
+ cat
+ cat
+ echo int main () { return 0; }
+ mkdir sub
+ cat
+ cp nok.sh sub/nok.sh
+ chmod +x nok.sh
+ chmod +x sub/nok.sh
+ :
+ :
+ :
+ :
+ :
+ :
+ :
+ set -e
+ perl /usr/src/local/automake/tests/testSubDir/../../aclocal -I 
+/usr/src/local/automake/tests/testSubDir/../../m4 
+--acdir=/usr/src/local/automake/tests/../m4
+ autoconf
+ perl /usr/src/local/automake/tests/testSubDir/../../automake 
+--libdir=/usr/src/local/automake/tests/../lib --foreign -Werror -Wall -a
+ mkdir build
+ cd build
+ pwd
+ ../configure --prefix=/usr/src/local/automake/tests/testSubDir/build/../inst-dir 
+--program-prefix=p
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 a BSD-compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking for C compiler default output... 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
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make
source='../nok.c' object='nok.o' libtool=no  depfile='.deps/nok.Po' 
tmpdepfile='.deps/nok.TPo'  depmode=gcc /bin/sh ../depcomp  gcc 
-DPACKAGE_NAME=\"gnits3\" -DPACKAGE_TARNAME=\"gnits3\" -DPACKAGE_VERSION=\"1.0\" 
-DPACKAGE_STRING=\"gnits3\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gnits3\" 
-DVERSION=\"1.0\" -I. -I..      -g -O2 -c `test -f '../nok.c' || echo '../'`../nok.c
gcc  -g -O2   -o nok  nok.o  
mkdir -p -- sub
gcc  -g -O2   -o sub/nok  nok.o  
+ make install
/bin/sh ../mkinstalldirs /usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin
mkdir -p -- /usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin
  /usr/src/local/automake/tests/testSubDir/install-sh -c nok 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/pnok
  /usr/src/local/automake/tests/testSubDir/install-sh -c sub/nok 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/sub/pnok
/bin/sh ../mkinstalldirs /usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin
 /usr/src/local/automake/tests/testSubDir/install-sh -c ../nok.sh 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/pnok.sh
 /usr/src/local/automake/tests/testSubDir/install-sh -c ../sub/nok.sh 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/sub/pnok.sh
+ make -k installcheck
bad=0; pid=$$; list="nok sub/nok"; for p in $list; do  case ' nok nok.sh ' in  *" $p 
"*) continue;;  esac;  f=`echo "$p" |  sed 's,^.*/,,;s/$//;s,^,p,;s/$//'`;  f=`echo 
"$p" | sed 's|[^/]*$||'`"$f";  for opt in --help --version; do  if 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/$f $opt > c${pid}_.out 
2> c${pid}_.err  && test -n "`cat c${pid}_.out`"  && test -z "`cat c${pid}_.err`"; 
then :;  else echo "$f does not support $opt" 1>&2; bad=1; fi;  done;  done; rm -f 
c${pid}_.???; exit $bad
*** Error code 1 (continuing)
bad=0; pid=$$; list="nok.sh sub/nok.sh"; for p in $list; do  case ' nok nok.sh ' in  
*" $p "*) continue;;  esac;  f=`echo "$p" | sed 's,^.*/,,;s,^,p,'`;  f=`echo "$p" | 
sed 's|[^/]*$||'`"$f";  for opt in --help --version; do  if 
/usr/src/local/automake/tests/testSubDir/build/../inst-dir/bin/$f $opt > c${pid}_.out 
2> c${pid}_.err  && test -n "`cat c${pid}_.out`"  && test -z "`cat c${pid}_.err`"; 
then :;  else echo "$f does not support $opt" 1>&2; bad=1; fi;  done;  done; rm -f 
c${pid}_.???; exit $bad
*** Error code 1 (continuing)
`installcheck' not remade because of errors.
+ exit 1
FAIL: gnits3.test
=== Running test ./obsolete.test
+ cat
+ perl -ne /AU_DEFUN\(\[(\w+)\]/ && print "$1\n" 
+/usr/src/local/automake/tests/../m4/obsolete.m4
+ cat obs
+ perl -ne chomp; print "grep $_ stderr || exit 1\n";  obs
+ perl -ne chomp; print "grep $_ configure.in && exit 1\n";  obs
+ cat+ wc configure.in -l

+ test 14 -gt 1
+ perl /usr/src/local/automake/tests/testSubDir/../../aclocal -I 
+/usr/src/local/automake/tests/testSubDir/../../m4 
+--acdir=/usr/src/local/automake/tests/../m4
+ autoconf -Wobsolete
+ . obs.1
.: obs.1: not found
FAIL: obsolete.test
=====================================
3 of 3 tests failed
Please report to [EMAIL PROTECTED]
=====================================

Reply via email to