Opened 11 years ago

Closed 11 years ago

#553 closed defect (fixed)

make check fails

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.6
Component: test Version: trunk
Keywords: Cc:

Description

make check fails

PASS: documentation_test.sh
FAIL: static_test.sh
PASS: yat_config_cblas_test.sh
PASS: yat_cpp_add_flag_test.sh
PASS: yat_cxx_add_flag_test.sh
PASS: yat_ld_add_flag_test.sh
FAIL: yat_m4_test.sh
FAIL: yat_m4_test2.sh
================================
3 of 58 tests failed
Please report to jari@thep.lu.se
================================

make check TESTS="static_test.sh yat_m4_test.sh yat_m4_test2.sh" YAT_TEST_VERBOSE=1

=== Running ./static_test.sh ===
./static_test.sh: running autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
./static_test.sh: running automake --version
automake (GNU automake) 1.11
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
./static_test.sh: running libtool --version
ltmain.sh (GNU libtool) 2.2.4
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2008 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.
autoconf automake libtool yat.m4
creating a dummy acinclude.m4
autoconf automake libtool yat.m4
creating configure.ac
move-if-change: `configure.ac' is up to date
creating Makefile.am
creating hello.cc
move-if-change: `hello.cc' is up to date
copying yat.m4
move-if-change: `m4/yat.m4' is up to date
+ echo 'Creating acinclude.m4'
Creating acinclude.m4
+ cat
+ /home/peter/projects/yat/build_support/move-if-change -v acinclude.m4.tmp acinclude.m4
+ echo 'AM_LDFLAGS = -all-static'
+ test -f Makefile
+ :
+ rm -f hello
+ echo 'running make'
running make
+ make
make[3]: Entering directory `/home/peter/projects/yat/test/testSubDir/static_test.sh.dir'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/peter/projects/yat/test/testSubDir/static_test.sh.dir/missing --run aclocal-1.11 -I m4
m4/yat.m4:291: error: m4_defn: undefined macro: _AC_LANG
../../lib/autoconf/lang.m4:130: AC_LANG_POP is expanded from...
m4/yat.m4:291: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1
make[3]: *** [aclocal.m4] Error 1
make[3]: Leaving directory `/home/peter/projects/yat/test/testSubDir/static_test.sh.dir'
FAIL: static_test.sh
=== Running ./yat_m4_test.sh ===
./yat_m4_test.sh: running autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
./yat_m4_test.sh: running automake --version
automake (GNU automake) 1.11
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
./yat_m4_test.sh: running libtool --version
ltmain.sh (GNU libtool) 2.2.4
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2008 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.
autoconf automake libtool yat.m4
creating a dummy acinclude.m4
autoconf automake libtool yat.m4
creating configure.ac
move-if-change: `configure.ac' is up to date
creating Makefile.am
move-if-change: `Makefile.am' is up to date
creating hello.cc
move-if-change: `hello.cc' is up to date
copying yat.m4
move-if-change: `m4/yat.m4' is up to date
+ echo 'Creating acinclude.m4'
Creating acinclude.m4
+ cat
+ /home/peter/projects/yat/build_support/move-if-change -v acinclude.m4.tmp acinclude.m4
+ test -f Makefile
+ :
+ rm -f hello
+ echo 'running make'
running make
+ make
make[3]: Entering directory `/home/peter/projects/yat/test/testSubDir/yat_m4_test.sh.dir'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/peter/projects/yat/test/testSubDir/yat_m4_test.sh.dir/missing --run aclocal-1.11 -I m4
m4/yat.m4:291: error: m4_defn: undefined macro: _AC_LANG
../../lib/autoconf/lang.m4:130: AC_LANG_POP is expanded from...
m4/yat.m4:291: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1
make[3]: *** [aclocal.m4] Error 1
make[3]: Leaving directory `/home/peter/projects/yat/test/testSubDir/yat_m4_test.sh.dir'
FAIL: yat_m4_test.sh
=== Running ./yat_m4_test2.sh ===
./yat_m4_test2.sh: running autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
./yat_m4_test2.sh: running automake --version
automake (GNU automake) 1.11
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
autoconf automake yat.m4
creating a dummy acinclude.m4
autoconf automake yat.m4
creating configure.ac
move-if-change: `configure.ac' is up to date
creating Makefile.am
move-if-change: `Makefile.am' is up to date
creating hello.cc
move-if-change: `hello.cc' is up to date
copying yat.m4
move-if-change: `m4/yat.m4' is up to date
+ echo 'creating acinclude.m4'
creating acinclude.m4
+ cat
+ /home/peter/projects/yat/build_support/move-if-change -v acinclude.m4.tmp acinclude.m4
+ test -f Makefile
+ :
+ echo './yat_m4_test2.sh: running make Makefile'
./yat_m4_test2.sh: running make Makefile
+ make Makefile
make[3]: Entering directory `/home/peter/projects/yat/test/testSubDir/yat_m4_test2.sh.dir'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/peter/projects/yat/test/testSubDir/yat_m4_test2.sh.dir/missing --run aclocal-1.11 -I m4
m4/yat.m4:291: error: m4_defn: undefined macro: _AC_LANG
../../lib/autoconf/lang.m4:130: AC_LANG_POP is expanded from...
m4/yat.m4:291: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1
make[3]: *** [aclocal.m4] Error 1
make[3]: Leaving directory `/home/peter/projects/yat/test/testSubDir/yat_m4_test2.sh.dir'
FAIL: yat_m4_test2.sh

Change History (2)

comment:1 Changed 11 years ago by Peter

(In [2022]) assert if language is not C++ rather than putting C++ on the LANG stack. refs #553

comment:2 Changed 11 years ago by Peter

Resolution: fixed
Status: newclosed

(In [2024]) fixes #553

Note: See TracTickets for help on using tickets.