Bug#1133481: galois: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:03:51 BST 2026


Package: src:galois
Version: 0.8-2
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

galois fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/galois_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


  337 |     LIBXMLPP_API std::optional<ustring> get_value2() const;
      |                       ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:337:18: note: ‘std::optional’ is only available from C++17 onwards
  337 |     LIBXMLPP_API std::optional<ustring> get_value2() const;
      |                  ^~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:343:23: error: ‘optional’ in namespace ‘std’ does not name a template type
  343 |     LIBXMLPP_API std::optional<ustring> get_xml_lang2() const;
      |                       ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:343:18: note: ‘std::optional’ is only available from C++17 onwards
  343 |     LIBXMLPP_API std::optional<ustring> get_xml_lang2() const;
      |                  ^~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:405:10: error: ‘optional’ in namespace ‘std’ does not name a template type
  405 |     std::optional<ustring> get_attribute2(int number) const;
      |          ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:405:5: note: ‘std::optional’ is only available from C++17 onwards
  405 |     std::optional<ustring> get_attribute2(int number) const;
      |     ^~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:415:10: error: ‘optional’ in namespace ‘std’ does not name a template type
  415 |     std::optional<ustring> get_attribute2(const ustring& name) const;
      |          ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:415:5: note: ‘std::optional’ is only available from C++17 onwards
  415 |     std::optional<ustring> get_attribute2(const ustring& name) const;
      |     ^~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:426:10: error: ‘optional’ in namespace ‘std’ does not name a template type
  426 |     std::optional<ustring> get_attribute2(const ustring& local_name, const ustring& ns_uri) const;
      |          ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:426:5: note: ‘std::optional’ is only available from C++17 onwards
  426 |     std::optional<ustring> get_attribute2(const ustring& local_name, const ustring& ns_uri) const;
      |     ^~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:439:10: error: ‘optional’ in namespace ‘std’ does not name a template type
  439 |     std::optional<ustring> lookup_namespace2(const ustring& prefix) const;
      |          ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/parsers/textreader.h:439:5: note: ‘std::optional’ is only available from C++17 onwards
  439 |     std::optional<ustring> lookup_namespace2(const ustring& prefix) const;
      |     ^~~
In file included from /usr/include/libxml++-5.0/libxml++/libxml++.h:62:
/usr/include/libxml++-5.0/libxml++/nodes/entitydeclaration.h:56:8: error: ‘optional’ in namespace ‘std’ does not name a template type
   56 |   std::optional<ustring> get_resolved_text2() const;
      |        ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/nodes/entitydeclaration.h:56:3: note: ‘std::optional’ is only available from C++17 onwards
   56 |   std::optional<ustring> get_resolved_text2() const;
      |   ^~~
/usr/include/libxml++-5.0/libxml++/nodes/entitydeclaration.h:62:8: error: ‘optional’ in namespace ‘std’ does not name a template type
   62 |   std::optional<ustring> get_original_text2() const;
      |        ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/nodes/entitydeclaration.h:62:3: note: ‘std::optional’ is only available from C++17 onwards
   62 |   std::optional<ustring> get_original_text2() const;
      |   ^~~
In file included from /usr/include/libxml++-5.0/libxml++/libxml++.h:69:
/usr/include/libxml++-5.0/libxml++/attributedeclaration.h:45:8: error: ‘optional’ in namespace ‘std’ does not name a template type
   45 |   std::optional<ustring> get_value2() const;
      |        ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/attributedeclaration.h:45:3: note: ‘std::optional’ is only available from C++17 onwards
   45 |   std::optional<ustring> get_value2() const;
      |   ^~~
In file included from /usr/include/libxml++-5.0/libxml++/libxml++.h:70:
/usr/include/libxml++-5.0/libxml++/attributenode.h:45:8: error: ‘optional’ in namespace ‘std’ does not name a template type
   45 |   std::optional<ustring> get_value2() const;
      |        ^~~~~~~~
/usr/include/libxml++-5.0/libxml++/attributenode.h:45:3: note: ‘std::optional’ is only available from C++17 onwards
   45 |   std::optional<ustring> get_value2() const;
      |   ^~~
make[2]: *** [makefile:42: preferences.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [makefile:42: scores.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/galois-0.8/src'
make[1]: *** [makefile:21: default] Error 2
make[1]: Leaving directory '/build/reproducible-path/galois-0.8'
dh_auto_build: error: make -j128 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the Pkg-games-devel mailing list