Package: src:gle-graphics Version: 4.2.5-9 Severity: normal Tags: sid bookworm User: [email protected] Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release] 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The severity of this report will be raised before the bookworm release, so nothing has to be done for the bullseye release. The full build log can be found at: http://people.debian.org/~doko/logs/20210228/filtered/gcc11/gle-graphics_4.2.5-9_unstable_gcc11.log The last lines of the build log are at the end of this report. To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html GCC 11 defaults to the GNU++17 standard. If your package installs header files in /usr/include, please don't work around C++17 issues by choosing a lower C++ standard for the package build, but fix these issues to build with the C++17 standard. [...] 223 | void g_marker2(int i, double sz, double dval) throw (ParserError); | ^~~~~ ../core.h:240:62: error: ISO C++17 does not allow dynamic exception specifications 240 | void g_bitmap(string& fname, double wx, double wy, int type) throw(ParserError); | ^~~~~ ../core.h:241:65: error: ISO C++17 does not allow dynamic exception specifications 241 | void g_bitmap_info(string& fname, int xvar, int yvar, int type) throw(ParserError); | ^~~~~ ../core.h:252:68: error: ISO C++17 does not allow dynamic exception specifications 252 | void g_arrowline(double x2, double y2, int flag, int can_fillpath) throw(ParserError); | ^~~~~ ../core.h:276:54: error: ISO C++17 does not allow dynamic exception specifications 276 | void g_arrow(double dx, double dy, int can_fillpath) throw(ParserError); | ^~~~~ ../core.h:298:47: error: ISO C++17 does not allow dynamic exception specifications 298 | int g_set_compatibility(const string& compat) throw (ParserError); | ^~~~~ ../core.h:299:49: error: ISO C++17 does not allow dynamic exception specifications 299 | int g_parse_compatibility(const string& compat) throw (ParserError); | ^~~~~ ../core.h:326:43: error: ISO C++17 does not allow dynamic exception specifications 326 | void g_set_arrow_style(const char* shape) throw (ParserError); | ^~~~~ ../core.h:327:39: error: ISO C++17 does not allow dynamic exception specifications 327 | void g_set_arrow_tip(const char* tip) throw (ParserError); | ^~~~~ ../core.h:329:59: error: ISO C++17 does not allow dynamic exception specifications 329 | void g_bitmap(GLEBitmap*, double wx, double wy, int type) throw(ParserError); | ^~~~~ ../core.h:421:47: error: ISO C++17 does not allow dynamic exception specifications 421 | void g_postscript(char *ss,double w,double h) throw (ParserError); | ^~~~~ In file included from gsurface.cpp:48: ../texinterface.h:222:42: error: ISO C++17 does not allow dynamic exception specifications 222 | TeXObject* draw(const char* str) throw(ParserError); | ^~~~~ ../texinterface.h:223:72: error: ISO C++17 does not allow dynamic exception specifications 223 | TeXObject* drawUTF8(const char* str, GLERectangle* box = NULL) throw(ParserError); | ^~~~~ ../texinterface.h:224:68: error: ISO C++17 does not allow dynamic exception specifications 224 | TeXObject* draw(const std::string& str, GLERectangle* box) throw(ParserError); | ^~~~~ ../texinterface.h:225:81: error: ISO C++17 does not allow dynamic exception specifications 225 | TeXObject* draw(const char* str, int nblines, GLERectangle* box = NULL) throw(ParserError); | ^~~~~ ../texinterface.h:226:102: error: ISO C++17 does not allow dynamic exception specifications 226 | TeXObject* draw(const char* str, TeXObjectInfo& info, int nblines, GLERectangle* box = NULL) throw(ParserError); | ^~~~~ ../texinterface.h:227:96: error: ISO C++17 does not allow dynamic exception specifications 227 | TeXObject* drawObj(TeXHashObject* hobj, TeXObjectInfo& info, GLERectangle* box = NULL) throw(ParserError); | ^~~~~ In file included from gsurface.cpp:59: ../begin.h:74:33: error: ISO C++17 does not allow dynamic exception specifications 74 | double token_next_double(int i) throw(ParserError); | ^~~~~ gsurface.cpp:72:18: error: ISO C++17 does not allow dynamic exception specifications 72 | void pass_line() throw(ParserError); | ^~~~~ gsurface.cpp:233:18: error: ISO C++17 does not allow dynamic exception specifications 233 | void pass_line() throw(ParserError) { | ^~~~~ make[3]: *** [Makefile:60: gsurface.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/gle/surface' make[2]: *** [Makefile:160: make_all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j1 returned exit code 2 make[1]: *** [debian/rules:42: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:38: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
