Package: src:surf-alggeo Version: 1.0.6+ds-5 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/surf-alggeo_1.0.6+ds-5_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. [...] ../../../drawfunc/MultiVariatePolynom.h:232:9: note: because ‘Polyxyz’ has user-provided ‘Polyxyz::Polyxyz(const Polyxyz&)’ 232 | Polyxyz(const Polyxyz& alt) : MultiPoly<MonomXYZ>(alt) {} | ^~~~~~~ In file included from ../../../yaccsrc/Script.cc:68: ../../../curve/DrawCurve.h:77:30: warning: implicitly-declared ‘Polyxyz& Polyxyz::operator=(const Polyxyz&)’ is deprecated [-Wdeprecated-copy] 77 | p2 = _p2; | ^~~ In file included from ../../../curve/RootFinder2d.h:30, from ../../../curve/RootFinder3d.h:31, from ../../../curve/DrawCurve.h:29, from ../../../yaccsrc/Script.cc:68: ../../../drawfunc/MultiVariatePolynom.h:232:9: note: because ‘Polyxyz’ has user-provided ‘Polyxyz::Polyxyz(const Polyxyz&)’ 232 | Polyxyz(const Polyxyz& alt) : MultiPoly<MonomXYZ>(alt) {} | ^~~~~~~ ../../../yaccsrc/Script.cc: In static member function ‘static void Script::clearScreen()’: ../../../yaccsrc/Script.cc:910:23: error: reference to ‘byte’ is ambiguous 910 | *intensity = (byte)(-print_background_data); | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/ios:40, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from ../../../yaccsrc/Script.cc:49: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’ 404 | enum class byte : unsigned char; | ^~~~ In file included from ../../../src/RgbBuffer.h:68, from ../../../mt/TSDrawingArea.h:31, from ../../../yaccsrc/Script.h:35, from ../../../yaccsrc/Script.cc:61: ../../../src/mytypes.h:29:23: note: ‘typedef unsigned char byte’ 29 | typedef unsigned char byte; | ^~~~ ../../../yaccsrc/Script.cc: In static member function ‘static void Script::clearPixmap()’: ../../../yaccsrc/Script.cc:939:23: error: reference to ‘byte’ is ambiguous 939 | *intensity = (byte)(-print_background_data); | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:61, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/ios:40, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from ../../../yaccsrc/Script.cc:49: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’ 404 | enum class byte : unsigned char; | ^~~~ In file included from ../../../src/RgbBuffer.h:68, from ../../../mt/TSDrawingArea.h:31, from ../../../yaccsrc/Script.h:35, from ../../../yaccsrc/Script.cc:61: ../../../src/mytypes.h:29:23: note: ‘typedef unsigned char byte’ 29 | typedef unsigned char byte; | ^~~~ ../../../yaccsrc/Script.cc: In static member function ‘static void Script::cutWithSurface()’: ../../../yaccsrc/Script.cc:1230:9: warning: deleting object of abstract class type ‘NewClip’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 1230 | delete clip; | ^~~~~~~~~~~ ../../../yaccsrc/Script.cc:1282:17: warning: deleting object of abstract class type ‘NewClip’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 1282 | delete clip; | ^~~~~~~~~~~ make[3]: *** [Makefile:720: libsurf_parser_a-Script.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/_build/nox/yaccsrc' make[2]: *** [Makefile:484: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/_build/nox' dh_auto_build: error: cd _build/nox && make -j1 returned exit code 2 make[1]: *** [debian/rules:34: override_dh_auto_build-arch] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:26: 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
