Bug#1097154: lbreakouthd: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:30:05 GMT 2025


Package: src:lbreakouthd
Version: 1.1.9-1
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/lbreakouthd_1.1.9-1_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

[...]
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:97:66: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
   97 |                 fp.get("fontColorHighlight.a",fontColorHighlight.a);
      |                                               ~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:114:70: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  114 |                 fp.get("menu.fontNormal.color.r",menuFontColorNormal.r);
      |                                                  ~~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:115:70: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  115 |                 fp.get("menu.fontNormal.color.g",menuFontColorNormal.g);
      |                                                  ~~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:116:70: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  116 |                 fp.get("menu.fontNormal.color.b",menuFontColorNormal.b);
      |                                                  ~~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:117:70: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  117 |                 fp.get("menu.fontNormal.color.a",menuFontColorNormal.a);
      |                                                  ~~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:118:68: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  118 |                 fp.get("menu.fontFocus.color.r",menuFontColorFocus.r);
      |                                                 ~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:119:68: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  119 |                 fp.get("menu.fontFocus.color.g",menuFontColorFocus.g);
      |                                                 ~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:120:68: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  120 |                 fp.get("menu.fontFocus.color.b",menuFontColorFocus.b);
      |                                                 ~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
theme.cpp:121:68: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘Uint8’ {aka ‘unsigned char’}
  121 |                 fp.get("menu.fontFocus.color.a",menuFontColorFocus.a);
      |                                                 ~~~~~~~~~~~~~~~~~~~^
tools.h:101:40: note: initializing argument 2 of ‘int FileParser::get(const std::string&, int&)’
  101 |         int get(const string&  k, int &v);
      |                                   ~~~~~^
make[4]: *** [Makefile:476: theme.o] Error 1
make[4]: *** [Makefile:476: config.o] Error 1
make[4]: *** [Makefile:476: view.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/lbreakouthd-1.1.9/src'
make[3]: *** [Makefile:492: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/lbreakouthd-1.1.9/src'
make[2]: *** [Makefile:406: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/lbreakouthd-1.1.9'
make[1]: *** [Makefile:347: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/lbreakouthd-1.1.9'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list