Bug#853420: gle-graphics: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:31:39 UTC 2017


Package: src:gle-graphics
Version: 4.2.5-6
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/gle-graphics_4.2.5-6_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

[...]
 void g_arrowline(double x2, double y2, int flag, int can_fillpath) throw(ParserError);
                                                                    ^~~~~
../core.h:276:54: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
 void g_arrow(double dx, double dy, int can_fillpath) throw(ParserError);
                                                      ^~~~~
../core.h:298:47: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
 int g_set_compatibility(const string& compat) throw (ParserError);
                                               ^~~~~
../core.h:299:49: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
 int g_parse_compatibility(const string& compat) throw (ParserError);
                                                 ^~~~~
../core.h:326:43: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
 void g_set_arrow_style(const char* shape) throw (ParserError);
                                           ^~~~~
../core.h:327:39: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
 void g_set_arrow_tip(const char* tip) throw (ParserError);
                                       ^~~~~
../core.h:329:59: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
 void g_bitmap(GLEBitmap*, double wx, double wy, int type) throw(ParserError);
                                                           ^~~~~
../core.h:421:47: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
 void g_postscript(char *ss,double w,double h) throw (ParserError);
                                               ^~~~~
g++ -fPIC -DHAVE_CONFIG_H -DGLEVN="\"4.2.5\"" -Wno-write-strings -pthread -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBIAN_EPOCH=1467909911 -c fcontour.cpp -o fcontour.o
g++ -fPIC -DHAVE_CONFIG_H -DGLEVN="\"4.2.5\"" -Wno-write-strings -pthread -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBIAN_EPOCH=1467909911 -c ffitcontour.cpp -o ffitcontour.o
In file included from ffitcontour.cpp:51:0:
/usr/include/stdlib.h:735:12: error: expected unqualified-id before 'int'
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^
/usr/include/stdlib.h:735:12: error: expected ')' before 'int'
/usr/include/stdlib.h:735:12: error: expected ')' before 'int'
In file included from /usr/include/c++/7/cmath:47:0,
                 from /usr/include/c++/7/math.h:36,
                 from ffitcontour.cpp:53:
/usr/include/c++/7/bits/std_abs.h:52:11: error: '::abs' has not been declared
   using ::abs;
           ^~~
Makefile:60: recipe for target 'ffitcontour.o' failed
make[3]: *** [ffitcontour.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/gle/surface'
Makefile:153: recipe for target 'make_all' failed
make[2]: *** [make_all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:25: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:22: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the debian-science-maintainers mailing list