Hi! The testsuite on master tries to use lesser compilers, but on Cygwin this causes some failures due to the fact that /usr/bin/cc{.exe} is also recognized as /usr/bin/CC{.EXE} (due to the filesystem not being case sensitive), leading to CXX being set to 'CC'.
But then CXX isn't a C++ compiler and some tests go downhill, namely silent-many-generic.test and suffix3.tap. Or something, I didn't look all that much at it. Maybe the failure in silent-many-generic.test is just a variant of the SunStudio CC case mentioned in the comment? Cheers, Peter
Running from installcheck: no Using TAP: no PATH = /home/peda/automake/tests:/cygdrive/c/Program Files (x86)/Microsoft F#/v4.0/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Team Tools/Performance Tools:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/usr/lib/lapack silent-many-generic: running flex --version flex 2.5.35 silent-many-generic: running bison --version bison (GNU Bison) 2.4.2 Written by Robert Corbett and Richard Stallman. Copyright (C) 2010 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. ++ pwd /home/peda/automake/tests/silent-many-generic.dir + mkdir sub + cat + cat + cat + cat + cat + cat + cat + cat + cp foo1.cpp bar.c + cp foo1.cpp sub/baz.c + cp foo1.cpp sub/bla.c + cp foo1.cpp sub/baz1.cpp + cp foo2.f90 sub/baz2.f90 + cp foo3.f sub/baz3.f + cp foo5.l sub/baz5.l + cp foo6.y sub/baz6.y + mkdir bin + saved_PATH='/home/peda/automake/tests:/cygdrive/c/Program Files (x86)/Microsoft F#/v4.0/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Team Tools/Performance Tools:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/usr/lib/lapack' + export saved_PATH ++ pwd + PATH='/home/peda/automake/tests/silent-many-generic.dir/bin:/home/peda/automake/tests:/cygdrive/c/Program Files (x86)/Microsoft F#/v4.0/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Team Tools/Performance Tools:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/usr/lib/lapack' + export PATH + aclocal-1.11a -Werror + automake-1.11a --foreign -Werror -Wall --add-missing configure.in:5: installing `./compile' configure.in: installing `./ylwrap' + autoconf -B /no/such/dir + for config_args in --enable-dependency-tracking --disable-dependency-tracking + ./configure --enable-dependency-tracking --enable-silent-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking whether we are using the GNU C++ compiler... yes checking whether CC accepts -g... yes checking dependency style of CC... gcc3 configure: WARNING: the C++ compiler 'CC' seems to be named 'CC' configure: WARNING: it will be wrapped with the custom script 'am--cxx' checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating sub/Makefile config.status: executing depfiles commands + do_and_check_silent_build + case $1 in + rebuild=false + make CC: 1.0": No such file or directory <command-line>:0:16: warning: missing terminating " character make[3]: *** [baz1.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 + cat stdout YACC foo6.c updating foo6.h make all-recursive make[1]: Entering directory `/home/peda/automake/tests/silent-many-generic.dir' Making all in sub make[2]: Entering directory `/home/peda/automake/tests/silent-many-generic.dir/sub' YACC baz6.c updating baz6.h make all-am make[3]: Entering directory `/home/peda/automake/tests/silent-many-generic.dir/sub' CXX baz1.o Makefile:413: recipe for target `baz1.o' failed make[3]: Leaving directory `/home/peda/automake/tests/silent-many-generic.dir/sub' Makefile:256: recipe for target `all' failed make[2]: Leaving directory `/home/peda/automake/tests/silent-many-generic.dir/sub' Makefile:536: recipe for target `all-recursive' failed make[1]: Leaving directory `/home/peda/automake/tests/silent-many-generic.dir' Makefile:313: recipe for target `all' failed + Exit 1 + set +e + test 77 = 1 + exit 1 + exit 1 + exit_status=1 + set +e + cd /home/peda/automake/tests + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x silent-many-generic: exit 1
Running from installcheck: no Using TAP: yes PATH = /home/peda/automake/tests:/cygdrive/c/Program Files (x86)/Microsoft F#/v4.0/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Team Tools/Performance Tools:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/usr/lib/lapack ++ pwd /home/peda/automake/tests/suffix3.dir + plan_ 10 + test 1 -eq 0 + test 1 -ge 2 + test x10 = xunknown + test x10 = xlater + test x10 = xlazy + test x10 = xnow + test 10 -ge 0 + echo 1..10 1..10 + have_tap_plan_=yes + cat + cat + command_ok_ aclocal aclocal-1.11a -Werror + tap_directive_= + tap_reason_= + test 3 -gt 0 + tap_description_=aclocal + shift + test 2 -gt 0 + case $1 in + break + tap_result_=ok + aclocal-1.11a -Werror + result_ ok -D '' -r '' -- aclocal + set +x ok 1 - aclocal PASS: suffix3.tap 1 - aclocal + command_ok_ automake automake-1.11a --foreign -Werror -Wall + tap_directive_= + tap_reason_= + test 5 -gt 0 + tap_description_=automake + shift + test 4 -gt 0 + case $1 in + break + tap_result_=ok + automake-1.11a --foreign -Werror -Wall + result_ ok -D '' -r '' -- automake + set +x ok 2 - automake PASS: suffix3.tap 2 - automake + command_ok_ 'intermediate files not mentioned' not /usr/bin/grep -F foo.c Makefile.in + tap_directive_= + tap_reason_= + test 6 -gt 0 + tap_description_='intermediate files not mentioned' + shift + test 5 -gt 0 + case $1 in + break + tap_result_=ok + not /usr/bin/grep -F foo.c Makefile.in + /usr/bin/grep -F foo.c Makefile.in + return 0 + result_ ok -D '' -r '' -- 'intermediate files not mentioned' + set +x ok 3 - intermediate files not mentioned PASS: suffix3.tap 3 - intermediate files not mentioned + command_ok_ 'final object file figured out' /usr/bin/grep -F 'foo.$(OBJEXT)' Makefile.in + tap_directive_= + tap_reason_= + test 5 -gt 0 + tap_description_='final object file figured out' + shift + test 4 -gt 0 + case $1 in + break + tap_result_=ok + /usr/bin/grep -F 'foo.$(OBJEXT)' Makefile.in am_foo_OBJECTS = foo.$(OBJEXT) + result_ ok -D '' -r '' -- 'final object file figured out' + set +x ok 4 - final object file figured out PASS: suffix3.tap 4 - final object file figured out + command_ok_ autoconf autoconf -B /no/such/dir + tap_directive_= + tap_reason_= + test 4 -gt 0 + tap_description_=autoconf + shift + test 3 -gt 0 + case $1 in + break + tap_result_=ok + autoconf -B /no/such/dir + result_ ok -D '' -r '' -- autoconf + set +x ok 5 - autoconf PASS: suffix3.tap 5 - autoconf + command_ok_ configure ./configure + tap_directive_= + tap_reason_= + test 2 -gt 0 + tap_description_=configure + shift + test 1 -gt 0 + case $1 in + break + tap_result_=ok + ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether CC accepts -g... yes checking for style of include used by make... GNU checking dependency style of CC... gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + result_ ok -D '' -r '' -- configure + set +x ok 6 - configure PASS: suffix3.tap 6 - configure + cat + directive= + make_can_chain_suffix_rules + test -z '' + using_gmake + case $am__using_gmake in + make --version -v + grep GNU GNU Make 3.82.90 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> + am__using_gmake=yes + return 0 + am__can_chain_suffix_rules=yes + return 0 + for target in all distcheck + command_ok_ 'make all' -D '' -r 'suffix rules not chained' make all + tap_directive_= + tap_reason_= + test 7 -gt 0 + tap_description_='make all' + shift + test 6 -gt 0 + case $1 in + tap_directive_= + shift + shift + test 4 -gt 0 + case $1 in + tap_reason_='suffix rules not chained' + shift + shift + test 2 -gt 0 + case $1 in + break + tap_result_=ok + make all sed 's/INTEGER/int/g' `test -f 'foo.zoo' || echo ./`foo.zoo >foo.cc CC -DPACKAGE_NAME=\"suffix3\" -DPACKAGE_TARNAME=\"suffix3\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"suffix3\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"suffix3\" -DVERSION=\"1.0\" -I. -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.cc mv -f .deps/foo.Tpo .deps/foo.Po CC -g -O2 -o foo.exe foo.o foo.o: In function `__static_initialization_and_destruction_0': /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::~Init()' /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::Init()' collect2: ld returned 1 exit status Makefile:262: recipe for target `foo.exe' failed make: *** [foo.exe] Error 1 rm foo.cc + tap_result_='not ok' + result_ 'not ok' -D '' -r 'suffix rules not chained' -- 'make all' + set +x not ok 7 - make all FAIL: suffix3.tap 7 - make all + for target in all distcheck + command_ok_ 'make distcheck' -D '' -r 'suffix rules not chained' make distcheck + tap_directive_= + tap_reason_= + test 7 -gt 0 + tap_description_='make distcheck' + shift + test 6 -gt 0 + case $1 in + tap_directive_= + shift + shift + test 4 -gt 0 + case $1 in + tap_reason_='suffix rules not chained' + shift + shift + test 2 -gt 0 + case $1 in + break + tap_result_=ok + make distcheck make dist-gzip am__post_remove_distdir='@:' make[1]: Entering directory `/home/peda/automake/tests/suffix3.dir' if test -d "suffix3-1.0"; then find "suffix3-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "suffix3-1.0" || { sleep 5 && rm -rf "suffix3-1.0"; }; else :; fi test -d "suffix3-1.0" || mkdir "suffix3-1.0" test -n "" \ || find "suffix3-1.0" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -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 /home/peda/automake/tests/suffix3.dir/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "suffix3-1.0" tardir=suffix3-1.0 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >suffix3-1.0.tar.gz make[1]: Leaving directory `/home/peda/automake/tests/suffix3.dir' if test -d "suffix3-1.0"; then find "suffix3-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "suffix3-1.0" || { sleep 5 && rm -rf "suffix3-1.0"; }; else :; fi case 'suffix3-1.0.tar.gz' in \ *.tar.gz*) \ GZIP=--best gzip -dc suffix3-1.0.tar.gz | ${TAR-tar} xf - ;;\ *.tar.bz2*) \ bzip2 -dc suffix3-1.0.tar.bz2 | ${TAR-tar} xf - ;;\ *.tar.lz*) \ lzip -dc suffix3-1.0.tar.lz | ${TAR-tar} xf - ;;\ *.tar.xz*) \ xz -dc suffix3-1.0.tar.xz | ${TAR-tar} xf - ;;\ *.tar.Z*) \ uncompress -c suffix3-1.0.tar.Z | ${TAR-tar} xf - ;;\ *.shar.gz*) \ GZIP=--best gzip -dc suffix3-1.0.shar.gz | unshar ;;\ *.zip*) \ unzip suffix3-1.0.zip ;;\ esac chmod -R a-w suffix3-1.0; chmod a+w suffix3-1.0 mkdir suffix3-1.0/_build mkdir suffix3-1.0/_inst chmod a-w suffix3-1.0 test -d suffix3-1.0/_build || exit 0; \ dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd suffix3-1.0/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \ && am__cwd=`pwd` \ && CDPATH="${ZSH_VERSION+.}:" && cd suffix3-1.0/_build \ && ../configure --srcdir=.. --prefix="$dc_install_base" \ \ \ && make \ && make dvi \ && make check \ && make install \ && make installcheck \ && make uninstall \ && make distuninstallcheck_dir="$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$dc_destdir") \ && make DESTDIR="$dc_destdir" install \ && make DESTDIR="$dc_destdir" uninstall \ && make DESTDIR="$dc_destdir" \ distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \ } || { rm -rf "$dc_destdir"; exit 1; }) \ && rm -rf "$dc_destdir" \ && make dist \ && rm -rf suffix3-1.0.tar.gz \ && make distcleancheck \ && cd "$am__cwd" \ || exit 1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether CC accepts -g... yes checking for style of include used by make... GNU checking dependency style of CC... gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands make[1]: Entering directory `/home/peda/automake/tests/suffix3.dir/suffix3-1.0/_build' sed 's/INTEGER/int/g' `test -f '../foo.zoo' || echo ../`../foo.zoo >foo.cc CC -DPACKAGE_NAME=\"suffix3\" -DPACKAGE_TARNAME=\"suffix3\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"suffix3\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"suffix3\" -DVERSION=\"1.0\" -I. -I.. -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.cc mv -f .deps/foo.Tpo .deps/foo.Po CC -g -O2 -o foo.exe foo.o foo.o: In function `__static_initialization_and_destruction_0': /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::~Init()' /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::Init()' collect2: ld returned 1 exit status Makefile:262: recipe for target `foo.exe' failed make[1]: *** [foo.exe] Error 1 rm foo.cc make[1]: Leaving directory `/home/peda/automake/tests/suffix3.dir/suffix3-1.0/_build' Makefile:439: recipe for target `distcheck' failed make: *** [distcheck] Error 1 + tap_result_='not ok' + result_ 'not ok' -D '' -r 'suffix rules not chained' -- 'make distcheck' + set +x not ok 8 - make distcheck FAIL: suffix3.tap 8 - make distcheck + command_ok_ 'make distdir' make distdir + tap_directive_= + tap_reason_= + test 3 -gt 0 + tap_description_='make distdir' + shift + test 2 -gt 0 + case $1 in + break + tap_result_=ok + make distdir if test -d "suffix3-1.0"; then find "suffix3-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "suffix3-1.0" || { sleep 5 && rm -rf "suffix3-1.0"; }; else :; fi test -d "suffix3-1.0" || mkdir "suffix3-1.0" test -n "" \ || find "suffix3-1.0" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -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 /home/peda/automake/tests/suffix3.dir/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "suffix3-1.0" + result_ ok -D '' -r '' -- 'make distdir' + set +x ok 9 - make distdir PASS: suffix3.tap 9 - make distdir + command_ok_ 'intermediate file not distributed' test '!' -r suffix3-1.0/foo.cc + tap_directive_= + tap_reason_= + test 5 -gt 0 + tap_description_='intermediate file not distributed' + shift + test 4 -gt 0 + case $1 in + break + tap_result_=ok + test '!' -r suffix3-1.0/foo.cc + result_ ok -D '' -r '' -- 'intermediate file not distributed' + set +x ok 10 - intermediate file not distributed PASS: suffix3.tap 10 - intermediate file not distributed + : + exit_status=0 + set +e + cd /home/peda/automake/tests + test yes = yes + test yes '!=' yes + test 0 -eq 0 + test 8 -eq 10 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x suffix3: exit 0