Bug#1097381: meritous: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:37:17 GMT 2025
Package: src:meritous
Version: 1.5-1.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/meritous_1.5-1.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
[...]
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package meritous
dpkg-buildpackage: info: source version 1.5-1.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Holger Levsen <holger at debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/meritous-1.5'
/usr/bin/make clean
make[2]: Entering directory '/build/reproducible-path/meritous-1.5'
rm -f src/levelblit.o src/mapgen.o src/demon.o src/gamemap.o src/tiles.o src/save.o src/help.o src/audio.o src/boss.o src/ending.o src/i18n.o src/levelblit.d src/mapgen.d src/demon.d src/gamemap.d src/tiles.d src/save.d src/help.d src/audio.d src/boss.d src/ending.d src/i18n.d meritous po/*.mo
make[2]: Leaving directory '/build/reproducible-path/meritous-1.5'
make[1]: Leaving directory '/build/reproducible-path/meritous-1.5'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/meritous-1.5'
dh_auto_build -- \
prefix=/usr bindir=/usr/games datadir=/usr/share/games
make -j8 "INSTALL=install --strip-program=true" prefix=/usr bindir=/usr/games datadir=/usr/share/games
make[2]: Entering directory '/build/reproducible-path/meritous-1.5'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/levelblit.o src/levelblit.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/mapgen.o src/mapgen.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/demon.o src/demon.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/gamemap.o src/gamemap.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/tiles.o src/tiles.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/save.o src/save.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/help.o src/help.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/audio.o src/audio.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/meritous-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -DDATADIR='"/usr/share/games/meritous"' -DLOCALEDIR='"/usr/share/locale"' -c -o src/boss.o src/boss.c
src/levelblit.c: In function ‘main’:
src/levelblit.c:564:21: error: too many arguments to function ‘IsSaveFile’; expected 0, have 1
564 | if (IsSaveFile(save_filename)) {
| ^~~~~~~~~~ ~~~~~~~~~~~~~
In file included from src/levelblit.c:35:
src/save.h:42:5: note: declared here
42 | int IsSaveFile();
| ^~~~~~~~~~
src/levelblit.c: In function ‘ActivateTile’:
src/levelblit.c:2333:25: error: too many arguments to function ‘DoSaveGame’; expected 0, have 1
2333 | DoSaveGame(save_filename);
| ^~~~~~~~~~ ~~~~~~~~~~~~~
src/save.h:27:6: note: declared here
27 | void DoSaveGame();
| ^~~~~~~~~~
src/levelblit.c: In function ‘SpecialTile’:
src/levelblit.c:2578:37: error: too many arguments to function ‘CanGetArtifact’; expected 0, have 1
2578 | if (CanGetArtifact(rooms[player_room].room_param)) {
| ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/levelblit.c:38:
src/boss.h:35:5: note: declared here
35 | int CanGetArtifact();
| ^~~~~~~~~~~~~~
make[2]: *** [<builtin>: src/levelblit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/meritous-1.5'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" prefix=/usr bindir=/usr/games datadir=/usr/share/games returned exit code 2
make[1]: *** [debian/rules:25: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/meritous-1.5'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list