automake
[Top][All Lists]
Advanced

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

Re: automake -vs- BSD make


From: Lars Hecking
Subject: Re: automake -vs- BSD make
Date: Tue, 20 Feb 2001 14:23:46 +0000
User-agent: Mutt/1.3.15i

 [Sorry, should've posted this to the list sooner. The system is OpenBSD 2.8
  m68k (amiga). If necessary, I can try the same on i386.
  This was automake-1.4c, but 1.4e has the same problems.]

Tom Tromey writes:
> Could you run this and send me the output?
> 
>     make TESTS='pr19.test target-cflags.test' VERBOSE=t check

 Sure. But I must say that I find the output rather inconclusive :-/


$ make check TESTS='pr19.test target-cflags.test' VERBOSE=t
Making check in .
Making check in m4
Making check in tests
make  check-TESTS
=== Running test ./pr19.test
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
automake: configure.in: installing `./depcomp'
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
ing 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... no
checking for byacc... no
updating cache ./config.cache
creating ./config.status
creating Makefile
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 
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 /tmp/automake-1.4c/tests/testSubDir/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
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 
/tmp/automake-1.4c/tests/testSubDir/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
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for style of include used by make... include
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... no
checking for byacc... no
updating cache ./config.cache
creating ./config.status
creating Makefile
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 
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 /tmp/automake-1.4c/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
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
*** Error code 1

Stop in /tmp/automake-1.4c/tests/testSubDir (line 209 of Makefile).
FAIL: pr19.test
=== Running test ./target-cflags.test
automake: Makefile.am: installing `./compile'
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for style of include used by make... include
checking dependency style of gcc... gcc
updating cache ./config.cache
creating ./config.status
creating Makefile
gcc -DPACKAGE=\"target-cflags\" -DVERSION=\"0.0\"  -I. -I..    -DFOO -g -O2 -c 
-o foo-foo.o `test -f foo.c || echo '../'`foo.c
gcc  -g -O2   -o foo  foo-foo.o  
gcc -DPACKAGE=\"target-cflags\" -DVERSION=\"0.0\"  -I. -I..     -g -O2 -c 
../bar.c
gcc  -g -O2   -o bar  bar.o  
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for style of include used by make... include
checking dependency style of gcc... gcc
updating cache ./config.cache
creating ./config.status
creating Makefile
./target-cflags.test[51]: ./foo: not found
FAIL: target-cflags.test
===================
2 of 2 tests failed
===================
*** Error code 1

Stop in /tmp/automake-1.4c/tests (line 423 of Makefile).
*** Error code 1

Stop in /tmp/automake-1.4c/tests (line 445 of Makefile).
*** Error code 1

Stop in /tmp/automake-1.4c (line 376 of Makefile).
$ 

 In the first case, the file foo.c is indeed in the generated archive,
 and I just can't see what exactly fails.
 In the second case, both foo and bar executables exist in testSubDir/obj,
 and only there.




reply via email to

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