Bug#853436: gtkmathview: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:31:56 UTC 2017
Package: src:gtkmathview
Version: 0.8.0-14
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/gtkmathview_0.8.0-14_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are 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-7/porting_to.html
[...]
SVG yes
PostScript yes
Performance
Builder cache no
touch debian/stamp-autotools
/usr/bin/make -C .
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in scripts
make[3]: Entering directory '/<<PKGBUILDDIR>>/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
Making all in config
make[3]: Entering directory '/<<PKGBUILDDIR>>/config'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/config'
Making all in auto
make[3]: Entering directory '/<<PKGBUILDDIR>>/auto'
g++ -DHAVE_CONFIG_H -I. -I.. -I../src/common -I../src/frontend/gmetadom -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gmetadom/gdome_cpp_smart -I/usr/include/libgdome -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -c -o dumpEntitiesTable.o dumpEntitiesTable.cc
In file included from /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMChar.hh:78:0,
from /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMBasic.hh:27,
from /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOM.hh:27,
from ../src/frontend/gmetadom/gmetadom.hh:22,
from dumpEntitiesTable.cc:25:
/usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMTraits.hh: In static member function 'static std::char_traits<short unsigned int>::char_type std::char_traits<short unsigned int>::to_char_type(const int_type&)':
/usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMTraits.hh:102:25: warning: narrowing conversion of '(std::char_traits<short unsigned int>::int_type)__c' from 'std::char_traits<short unsigned int>::int_type {aka long unsigned int}' to 'std::char_traits<short unsigned int>::char_type {aka short unsigned int}' inside { } [-Wnarrowing]
char_type __r = { __c };
^~~
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Wl,-z,relro -o dumpEntitiesTable dumpEntitiesTable.o -lgmetadom_gdome_cpp_smart -lgdome -lglib-2.0 -lxml2
libtool: link: g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Wl,-z -Wl,relro -o dumpEntitiesTable dumpEntitiesTable.o /usr/lib/libgmetadom_gdome_cpp_smart.so /usr/lib/libgdome.so -lglib-2.0 -lxml2
dumpEntitiesTable.o: In function `dump(char const*)':
./auto/dumpEntitiesTable.cc:43: undefined reference to `GdomeSmartDOM::GdomeString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
./auto/dumpEntitiesTable.cc:47: undefined reference to `GdomeSmartDOM::GdomeString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
collect2: error: ld returned 1 exit status
Makefile:448: recipe for target 'dumpEntitiesTable' failed
make[3]: *** [dumpEntitiesTable] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/auto'
Makefile:559: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:444: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/cdbs/1/class/makefile.mk:77: recipe for target 'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list