Bug#1096740: gnujump: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:16:51 GMT 2025
Package: src:gnujump
Version: 1.0.8-5
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/gnujump_1.0.8-5_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
[...]
config.status: creating skins/sdljump/cursor/Makefile
config.status: creating skins/xjump/Makefile
config.status: creating skins/auri/Makefile
config.status: creating skins/auri/heroanim1/Makefile
config.status: creating skins/auri/heroanim2/Makefile
config.status: creating skins/auri/heroanim3/Makefile
config.status: creating skins/auri/heroanim4/Makefile
config.status: creating skins/wincrash/Makefile
config.status: creating skins/wincrash/heroanim1/Makefile
config.status: creating skins/wincrash/heroanim2/Makefile
config.status: creating skins/wincrash/heroanim3/Makefile
config.status: creating skins/wincrash/heroanim4/Makefile
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/build/reproducible-path/gnujump-1.0.8'
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/gnujump-1.0.8'
dh_auto_build
make -j8
make[2]: Entering directory '/build/reproducible-path/gnujump-1.0.8'
make all-recursive
make[3]: Entering directory '/build/reproducible-path/gnujump-1.0.8'
Making all in src
make[4]: Entering directory '/build/reproducible-path/gnujump-1.0.8/src'
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o game.o game.c
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o game-input.o game-input.c
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o game-output.o game-output.c
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o game-logic.o game-logic.c
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o game-tools.o game-tools.c
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o game-timer.o game-timer.c
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o main.o main.c
gcc -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnujump-1.0.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPREFIX=\"/usr\" -DDATA_PREFIX=\"/usr/share/games\" -c -o menu.o menu.c
game.c:33:1: error: conflicting types for ‘freeGame’; have ‘void(game_t *)’ {aka ‘void(struct game *)’}
33 | freeGame (game_t * game)
| ^~~~~~~~
In file included from game.c:22:
game.h:212:6: note: previous declaration of ‘freeGame’ with type ‘void(void)’
212 | void freeGame ();
| ^~~~~~~~
game.c: In function ‘playGame’:
game.c:120:16: error: too many arguments to function ‘updateInput’; expected 0, have 1
120 | if ((r = updateInput (&game)))
| ^~~~~~~~~~~ ~~~~~
game.h:210:5: note: declared here
210 | int updateInput ();
| ^~~~~~~~~~~
game-input.c:28:1: error: conflicting types for ‘updateInput’; have ‘int(game_t *)’ {aka ‘int(struct game *)’}
28 | updateInput (game_t * game)
| ^~~~~~~~~~~
In file included from game-input.c:23:
game.h:210:5: note: previous declaration of ‘updateInput’ with type ‘int(void)’
210 | int updateInput ();
| ^~~~~~~~~~~
make[4]: *** [Makefile:525: game-input.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:525: game.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/gnujump-1.0.8/src'
make[3]: *** [Makefile:451: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/gnujump-1.0.8'
make[2]: *** [Makefile:383: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/gnujump-1.0.8'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/gnujump-1.0.8'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list