Bug#1097954: supertuxkart: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:55:46 GMT 2025


Package: src:supertuxkart
Version: 1.4+dfsg-4
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/supertuxkart_1.4+dfsg-4_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:374:27: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  375 |                 xmlChar<T>(char in) : c(static_cast<T>(in)) {}
      |                           ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:375:27: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  376 |                 xmlChar<T>(wchar_t in) : c(static_cast<T>(in)) {}
      |                           ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:376:27: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:377:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  377 |                 explicit xmlChar<T>(unsigned char in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:377:36: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:378:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  378 |                 explicit xmlChar<T>(unsigned short in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:378:36: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:379:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  379 |                 explicit xmlChar<T>(unsigned int in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:379:36: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:380:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  380 |                 explicit xmlChar<T>(unsigned long in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:380:36: note: remove the ‘< >’
make[3]: *** [CMakeFiles/supertuxkart.dir/build.make:334: CMakeFiles/supertuxkart.dir/src/challenges/challenge_data.cpp.o] Error 1
In file included from /build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/IXMLReader.h:9,
                 from /build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/IAttributes.h:26,
                 from /build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/ISceneNode.h:19,
                 from /build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/IAnimatedMeshSceneNode.h:8,
                 from /build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrlicht.h:57,
                 from /build/reproducible-path/supertuxkart-1.4+dfsg/src/graphics/glwrap.hpp:30,
                 from /build/reproducible-path/supertuxkart-1.4+dfsg/src/config/hardware_stats.cpp:29:
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  374 |                 xmlChar<T>() {}
      |                           ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:374:27: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  375 |                 xmlChar<T>(char in) : c(static_cast<T>(in)) {}
      |                           ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:375:27: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  376 |                 xmlChar<T>(wchar_t in) : c(static_cast<T>(in)) {}
      |                           ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:376:27: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:377:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  377 |                 explicit xmlChar<T>(unsigned char in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:377:36: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:378:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  378 |                 explicit xmlChar<T>(unsigned short in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:378:36: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:379:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  379 |                 explicit xmlChar<T>(unsigned int in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:379:36: note: remove the ‘< >’
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:380:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  380 |                 explicit xmlChar<T>(unsigned long in) : c(static_cast<T>(in)) {}
      |                                    ^
/build/reproducible-path/supertuxkart-1.4+dfsg/lib/irrlicht/include/irrXML.h:380:36: note: remove the ‘< >’
make[3]: *** [CMakeFiles/supertuxkart.dir/build.make:390: CMakeFiles/supertuxkart.dir/src/challenges/unlock_manager.cpp.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/supertuxkart-1.4+dfsg/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:307: CMakeFiles/supertuxkart.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/supertuxkart-1.4+dfsg/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/supertuxkart-1.4+dfsg/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list