Bug#1037580: ares: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:21:35 BST 2023


Package: src:ares
Version: 126-3
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/ares_126-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:239:23: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
In file included from ../nall/arithmetic.hpp:77:
../nall/arithmetic/natural.hpp: In function ‘void nall::div(const u8192&, const u8192&, u8192&, u8192&)’:
../nall/arithmetic/natural.hpp:239:23: error: ‘runtime_error’ is not a member of ‘std’
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:239:23: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
In file included from ../nall/arithmetic.hpp:37,
                 from ../nall/hash/hash.hpp:3,
                 from ../nall/hash/sha256.hpp:3,
                 from ../nall/file-buffer.hpp:12,
                 from ../nall/file.hpp:3,
                 from ../nall/directory.hpp:3,
                 from ../hiro/core/core.hpp:4,
                 from ../hiro/core/core.cpp:13,
                 from ../hiro/hiro.cpp:5:
../nall/arithmetic/natural.hpp: In function ‘void nall::div(const u256&, const u256&, u256&, u256&)’:
../nall/arithmetic/natural.hpp:239:23: error: ‘runtime_error’ is not a member of ‘std’
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:1:1: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
  +++ |+#include <stdexcept>
    1 | #define ConcatenateType(Size) u##Size
In file included from ../nall/arithmetic.hpp:45:
../nall/arithmetic/natural.hpp: In function ‘void nall::div(const u512&, const u512&, u512&, u512&)’:
../nall/arithmetic/natural.hpp:239:23: error: ‘runtime_error’ is not a member of ‘std’
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:239:23: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
In file included from ../nall/arithmetic.hpp:53:
../nall/arithmetic/natural.hpp: In function ‘void nall::div(const u1024&, const u1024&, u1024&, u1024&)’:
../nall/arithmetic/natural.hpp:239:23: error: ‘runtime_error’ is not a member of ‘std’
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:239:23: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
make[2]: *** [../nall/GNUmakefile:201: obj/ares-fixed-allocator.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [../ruby/GNUmakefile:94: obj/ruby.o] Error 1
In file included from ../nall/arithmetic.hpp:61:
../nall/arithmetic/natural.hpp: In function ‘void nall::div(const u2048&, const u2048&, u2048&, u2048&)’:
../nall/arithmetic/natural.hpp:239:23: error: ‘runtime_error’ is not a member of ‘std’
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:239:23: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
In file included from ../nall/arithmetic.hpp:69:
../nall/arithmetic/natural.hpp: In function ‘void nall::div(const u4096&, const u4096&, u4096&, u4096&)’:
../nall/arithmetic/natural.hpp:239:23: error: ‘runtime_error’ is not a member of ‘std’
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:239:23: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
make[2]: *** [../nall/GNUmakefile:201: obj/ares-fc-controller.o] Error 1
In file included from ../nall/arithmetic.hpp:77:
../nall/arithmetic/natural.hpp: In function ‘void nall::div(const u8192&, const u8192&, u8192&, u8192&)’:
../nall/arithmetic/natural.hpp:239:23: error: ‘runtime_error’ is not a member of ‘std’
  239 |   if(!rhs) throw std::runtime_error("division by zero");
      |                       ^~~~~~~~~~~~~
../nall/arithmetic/natural.hpp:239:23: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
make[2]: *** [../nall/GNUmakefile:201: obj/ares-fc-expansion.o] Error 1
make[2]: *** [../nall/GNUmakefile:201: obj/ares-fc-system.o] Error 1
make[2]: *** [../nall/GNUmakefile:201: obj/ares.o] Error 1
make[2]: *** [../nall/GNUmakefile:201: obj/ares-fc-cartridge.o] Error 1
make[2]: *** [../hiro/GNUmakefile:85: obj/hiro-gtk3.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/desktop-ui'
dh_auto_build: error: cd desktop-ui && make -j8 "INSTALL=install --strip-program=true" build=optimized returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list