Bug#1096950: ketm: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:23:40 GMT 2025
Package: src:ketm
Version: 0.0.6-27
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/ketm_0.0.6-27_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
[...]
201 | if(!s->flags&SP_FLAG_NOCACHE) {
| ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_greeter.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_curver.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_crusher.c
enemy_greeter.c: In function ‘enemy_greeter_controller’:
enemy_greeter.c:66:28: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
66 | if(!s->flags&SP_FLAG_VISIBLE)
| ^~~~~~~~~
enemy_curver.c: In function ‘enemy_curver_controller’:
enemy_curver.c:64:28: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
64 | if(!s->flags&SP_FLAG_VISIBLE)
| ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_cube.c
enemy_crusher.c: In function ‘enemy_crusher_controller’:
enemy_crusher.c:60:28: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
60 | if(!s->flags&SP_FLAG_VISIBLE)
| ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_drager.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_eyefo.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_xev.c
enemy_eyefo.c: In function ‘enemy_eyefo_controller’:
enemy_eyefo.c:63:28: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
63 | if(!s->flags&SP_FLAG_VISIBLE)
| ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_mine.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_rwingx.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_cir.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_zatak.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_badguy.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_proball.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_plasmaball.c
enemy_proball.c: In function ‘enemy_proball_controller’:
enemy_proball.c:59:28: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
59 | if(!s->flags&SP_FLAG_VISIBLE)
| ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_ming.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_boss01.c
enemy_ming.c: In function ‘enemy_ming_controller’:
enemy_ming.c:111:28: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
111 | if(!s->flags&SP_FLAG_VISIBLE)
| ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_boss02.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_boss03.c
enemy_boss02.c: In function ‘enemy_boss02_ice_controller’:
enemy_boss02.c:335:26: warning: variable ‘d’ set but not used [-Wunused-but-set-variable]
335 | BOSS02_ICE_DATA *d;
| ^
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c enemy_gametext.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c support.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DDATA=\"/usr/share/games/ketm\" -DHISCORE_FILE=\"/var/games/ketm.scores\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ketm-0.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT -c intro.c
support.c: In function ‘game_init’:
support.c:73:9: error: too many arguments to function ‘display_vidinfo’; expected 0, have 1
73 | display_vidinfo(screen);
| ^~~~~~~~~~~~~~~ ~~~~~~
In file included from support.c:1:
support.h:92:6: note: declared here
92 | void display_vidinfo();
| ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:375: support.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/ketm-0.0.6'
make[2]: *** [Makefile:437: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/ketm-0.0.6'
make[1]: *** [Makefile:245: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/ketm-0.0.6'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:5: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list