automake
[Top][All Lists]
Advanced

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

Re: Errors compiling "make checks" on CVS automake.


From: Stephen Torri
Subject: Re: Errors compiling "make checks" on CVS automake.
Date: Tue, 20 Feb 2001 14:33:13 +0000 (GMT)

On 20 Feb 2001, Akim Demaille wrote:

> Stephen Torri <address@hidden> writes:
>
> I personally observe no failure.  Please, post the result of
>
> make check TESTS='ansi3.test install2.test pr87.test subobj3.test
> target-cfalgs.test' VERBOSE=yes

Here is the result: (long)

---------------------------

Making check in .
make[1]: Entering directory `/usr/src/automake'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/usr/src/automake'
Making check in m4
make[1]: Entering directory `/usr/src/automake/m4'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/automake/m4'
Making check in tests
make[1]: Entering directory `/usr/src/automake/tests'
make  check-TESTS
make[2]: Entering directory `/usr/src/automake/tests'
=== Running test ./ansi3.test
Makefile.am:1: installing `./ansi2knr.c'
Makefile.am:1: installing `./ansi2knr.1'
checking for a BSD compatible install... /usr/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 object suffix... o
checking for executable suffix...
checking whether the C compiler works... yes
checking whether we are cross compiling... no
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 gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for string.h... yes
configure: creating ./config.status
config.status: creating Makefile
make[3]: Entering directory `/usr/src/automake/tests/testSubDir'

gcc -DPACKAGE=\"hello\" -DVERSION=\"0.23\" -DPROTOTYPES=1 -DSTDC_HEADERS=1
-DHAVE_STRING_H=1 -I. -I.  -g -O2 -c ansi2knr.c

gcc  -g -O2  @LDFLAGS@ -o ansi2knr ansi2knr.o
gcc: @LDFLAGS@: No such file or directory
make[3]: *** [ansi2knr] Error 1
make[3]: Leaving directory `/usr/src/automake/tests/testSubDir'
FAIL: ansi3.test
=== Running test ./install2.test
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
configure: creating ./config.status
config.status: creating Makefile
make[3]: Entering directory `/usr/src/automake/tests/testSubDir'
chmod -R a+w foo-0.1 > /dev/null 2>&1; rm -rf foo-0.1
mkdir foo-0.1
for subdir in .; do \
  if test "$subdir" = .; then :; else \
    test -d foo-0.1/$subdir \
    || mkdir foo-0.1/$subdir \
    || exit 1; \
    (cd $subdir && \
      make  top_distdir=../foo-0.1 distdir=../foo-0.1/$subdir distdir) \
      || exit 1; \
  fi; \
done
find foo-0.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 foo-0.1

/bin/sh /usr/src/automake/tests/testSubDir/missing --run tar chof -
foo-0.1 | GZIP=--best gzip -c > foo-0.1.tar.gz

chmod -R a+w foo-0.1 > /dev/null 2>&1; rm -rf foo-0.1
make[3]: Leaving directory `/usr/src/automake/tests/testSubDir'
FAIL: install2.test
=== Running test ./pr87.test
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
checking for a BSD compatible install... /usr/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 object suffix... o
checking for executable suffix...
checking whether the C compiler works... yes
checking whether we are cross compiling... no
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating foo/Makefile
config.status: creating bar/Makefile
make[3]: Entering directory `/usr/src/automake/tests/testSubDir/build'
chmod -R a+w test_am-1.0 > /dev/null 2>&1; rm -rf test_am-1.0
mkdir test_am-1.0
for subdir in foo bar; do \
  if test "$subdir" = .; then :; else \
    test -d test_am-1.0/$subdir \
    || mkdir test_am-1.0/$subdir \
    || exit 1; \
    (cd $subdir && \
      make top_distdir=../test_am-1.0 distdir=../test_am-1.0/$subdir distdir) \
      || exit 1; \
  fi; \
done
make[4]: Entering directory `/usr/src/automake/tests/testSubDir/build/foo'
make[4]: Leaving directory `/usr/src/automake/tests/testSubDir/build/foo'
make[4]: Entering directory `/usr/src/automake/tests/testSubDir/build/bar'
make[4]: Leaving directory `/usr/src/automake/tests/testSubDir/build/bar'
find test_am-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/sh .././install-sh -c -m a+r {} {} \; \
|| chmod -R a+r test_am-1.0

/bin/sh /usr/src/automake/tests/testSubDir/missing --run tar chof -
test_am-1.0 | GZIP=--best gzip -c > test_am-1.0.tar.gz

chmod -R a+w test_am-1.0 > /dev/null 2>&1; rm -rf test_am-1.0
chmod -R a+w test_am-1.0 > /dev/null 2>&1; rm -rf test_am-1.0

GZIP=--best gunzip -c test_am-1.0.tar.gz | /bin/sh
/usr/src/automake/tests/testSubDir/missing --run tar xf -

chmod -R a-w test_am-1.0; chmod a+w test_am-1.0
mkdir test_am-1.0/=build
mkdir test_am-1.0/=inst
chmod a-w test_am-1.0
dc_install_base=`CDPATH=: && cd test_am-1.0/=inst && pwd` \
  && cd test_am-1.0/=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 test_am-1.0.tar.gz \
  && test `find . -type f -print | wc -l` -eq 0
checking for a BSD compatible install... /usr/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 object suffix... o
checking for executable suffix...
checking whether the C compiler works... yes
checking whether we are cross compiling... no
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating foo/Makefile
config.status: creating bar/Makefile

make[4]: Entering directory
`/usr/src/automake/tests/testSubDir/build/test_am-1.0/=build'

Making all in foo

make[5]: Entering directory
`/usr/src/automake/tests/testSubDir/build/test_am-1.0/=build/foo'

source='../../foo/foo.c' object='foo.o' libtool=no \
depfile='.deps/foo.Po' tmpdepfile='.deps/foo.TPo' \
depmode=gcc /bin/sh ../../depcomp \

gcc -DPACKAGE=\"test_am\" -DVERSION=\"1.0\"  -I. -I../../foo -g -O2 -c -o
foo.o `test -f ../../foo/foo.c || echo '../../foo/'`../../foo/foo.c

gcc  -g -O2  @LDFLAGS@ -o foo  foo.o
gcc: @LDFLAGS@: No such file or directory
make[5]: *** [foo] Error 1

make[5]: Leaving directory
`/usr/src/automake/tests/testSubDir/build/test_am-1.0/=build/foo'

make[4]: *** [all-recursive] Error 1

make[4]: Leaving directory
`/usr/src/automake/tests/testSubDir/build/test_am-1.0/=build'

make[3]: *** [distcheck] Error 2
make[3]: Leaving directory `/usr/src/automake/tests/testSubDir/build'
FAIL: pr87.test
=== Running test ./subobj3.test
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
automake: Makefile.am: installing `./compile'
automake: configure.in: installing `./depcomp'
checking for a BSD compatible install... /usr/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 object suffix... o
checking for executable suffix...
checking whether the C compiler works... yes
checking whether we are cross compiling... no
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 whether gcc and cc understand -c and -o together... yes
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for string.h... yes
configure: creating ./config.status
config.status: creating Makefile
make[3]: Entering directory `/usr/src/automake/tests/testSubDir'
source='sub/hello.c' object='sub/hello.o' libtool=no \
depfile='.deps/sub/hello.Po' tmpdepfile='.deps/sub/hello.TPo' \
depmode=gcc /bin/sh ./depcomp \

gcc -DPACKAGE=\"hello\" -DVERSION=\"0.23\" -DPROTOTYPES=1 -DSTDC_HEADERS=1
-DHAVE_STRING_H=1 -I. -I.  -g -O2 -c -o sub/hello.o `test -f sub/hello.c
|| echo './'`sub/hello.c

gcc  -g -O2  @LDFLAGS@ -o hello  sub/hello.o
gcc: @LDFLAGS@: No such file or directory
make[3]: *** [hello] Error 1
make[3]: Leaving directory `/usr/src/automake/tests/testSubDir'
FAIL: subobj3.test
=== Running test ./target-cflags.test
automake: Makefile.am: installing `./compile'
checking for a BSD compatible install... /usr/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 object suffix... o
checking for executable suffix...
checking whether the C compiler works... yes
checking whether we are cross compiling... no
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
configure: creating ./config.status
config.status: creating Makefile
make[3]: Entering directory `/usr/src/automake/tests/testSubDir/obj'

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  @LDFLAGS@ -o foo  foo-foo.o
gcc: @LDFLAGS@: No such file or directory
make[3]: *** [foo] Error 1
make[3]: Leaving directory `/usr/src/automake/tests/testSubDir/obj'
FAIL: target-cflags.test
===================
5 of 5 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'
make: *** [check-recursive] Error 1

---------------------------------------

> Do you have a good compiler on your machine?

I have gcc-2.96-96 Running on Redhat 7

Stephen

-----------------------------------------------
Buyer's Guide for a Operating System:
Don't care to know: Mac
Don't mind knowing but not too much: Windows
Hit me! I can take it!: Linux




reply via email to

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