Bug#778011: mona: ftbfs with GCC-5
Matthias Klose
doko at debian.org
Thu Feb 12 10:34:31 UTC 2015
Package: src:mona
Version: 1.4-15-1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/mona_1.4-15-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.
To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++
Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files. For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html
[...]
make all-am
make[4]: Entering directory '/«PKGBUILDDIR»/Front'
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-ast.o `test -f 'ast.cpp' || echo './'`ast.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-astdump.o `test -f 'astdump.cpp' || echo './'`astdump.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-code.o `test -f 'code.cpp' || echo './'`code.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-codedump.o `test -f 'codedump.cpp' || echo './'`codedump.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-codesubst.o `test -f 'codesubst.cpp' || echo './'`codesubst.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-codetable.o `test -f 'codetable.cpp' || echo './'`codetable.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-freevars.o `test -f 'freevars.cpp' || echo './'`freevars.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-ident.o `test -f 'ident.cpp' || echo './'`ident.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-lib.o `test -f 'lib.cpp' || echo './'`lib.cpp
lib.cpp: In constructor 'AutLib::Dir::Dir(char*, char*, Deque<char*>*)':
lib.cpp:166:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system(t);
^
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-makeguide.o `test -f 'makeguide.cpp' || echo './'`makeguide.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-mona.o `test -f 'mona.cpp' || echo './'`mona.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-offsets.o `test -f 'offsets.cpp' || echo './'`offsets.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-parser.o `test -f 'parser.cpp' || echo './'`parser.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-predlib.o `test -f 'predlib.cpp' || echo './'`predlib.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-printline.o `test -f 'printline.cpp' || echo './'`printline.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-reduce.o `test -f 'reduce.cpp' || echo './'`reduce.cpp
/bin/bash ../config/ylwrap scanner.lpp lex.yy.c scanner.cpp -- flex -l
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-scanner.o `test -f 'scanner.cpp' || echo './'`scanner.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-signature.o `test -f 'signature.cpp' || echo './'`signature.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-st_dfa.o `test -f 'st_dfa.cpp' || echo './'`st_dfa.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-st_gta.o `test -f 'st_gta.cpp' || echo './'`st_gta.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-symboltable.o `test -f 'symboltable.cpp' || echo './'`symboltable.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-timer.o `test -f 'timer.cpp' || echo './'`timer.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I ../BDD -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -c -o mona-untyped.o `test -f 'untyped.cpp' || echo './'`untyped.cpp
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wl,-z,relro -o mona mona-ast.o mona-astdump.o mona-code.o mona-codedump.o mona-codesubst.o mona-codetable.o mona-freevars.o mona-ident.o mona-lib.o mona-makeguide.o mona-mona.o mona-offsets.o mona-parser.o mona-predlib.o mona-printline.o mona-reduce.o mona-scanner.o mona-signature.o mona-st_dfa.o mona-st_gta.o mona-symboltable.o mona-timer.o mona-untyped.o ../Mem/libmonamem.la ../BDD/libmonabdd.la ../DFA/libmonadfa.la ../GTA/libmonagta.la
libtool: link: g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wl,-z -Wl,relro -o .libs/mona mona-ast.o mona-astdump.o mona-code.o mona-codedump.o mona-codesubst.o mona-codetable.o mona-freevars.o mona-ident.o mona-lib.o mona-makeguide.o mona-mona.o mona-offsets.o mona-parser.o mona-predlib.o mona-printline.o mona-reduce.o mona-scanner.o mona-signature.o mona-st_dfa.o mona-st_gta.o mona-symboltable.o mona-timer.o mona-untyped.o ../Mem/.libs/libmonamem.so ../BDD/.libs/libmonabdd.so ../DFA/.libs/libmonadfa.so ../GTA/.libs/libmonagta.so /«PKGBUILDDIR»/BDD/.libs/libmonabdd.so /«PKGBUILDDIR»/Mem/.libs/libmonamem.so
../BDD/.libs/libmonabdd.so: undefined reference to `insert_cache'
collect2: error: ld returned 1 exit status
make[4]: *** [mona] Error 1
makefile:348: recipe for target 'mona' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/Front'
make[3]: *** [all] Error 2
makefile:264: recipe for target 'all' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/Front'
make[2]: *** [all-recursive] Error 1
makefile:459: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
makefile:303: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:4: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the debian-science-maintainers
mailing list