Bug#1097569: penguin-command: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:43:13 GMT 2025
Package: src:penguin-command
Version: 1.6.11-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/penguin-command_1.6.11-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
[...]
make[3]: Entering directory '/build/reproducible-path/penguin-command-1.6.11/data/gfx'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/penguin-command-1.6.11/data/gfx'
Making all in sound
make[3]: Entering directory '/build/reproducible-path/penguin-command-1.6.11/data/sound'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/penguin-command-1.6.11/data/sound'
make[3]: Entering directory '/build/reproducible-path/penguin-command-1.6.11/data'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/reproducible-path/penguin-command-1.6.11/data'
make[2]: Leaving directory '/build/reproducible-path/penguin-command-1.6.11/data'
Making all in src
make[2]: Entering directory '/build/reproducible-path/penguin-command-1.6.11/src'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o main.o main.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o game.o game.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o gfx.o gfx.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o missile.o missile.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o shot.o shot.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o shot2.o shot2.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o explosion.o explosion.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"penguin-command\" -DVERSION=\"1.6.11\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MATH_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBM=1 -DHAVE_LIBSDL_IMAGE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/penguin-command-1.6.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_SOUND -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DJOYSTICK -DDATADIR="\"/usr/share/games/penguin-command\"" -c -o SFont.o SFont.c
gfx.c: In function ‘LinePart’:
gfx.c:263:4: error: too many arguments to function ‘lock’; expected 0, have 1
263 | lock(Screen);
| ^~~~ ~~~~~~
gfx.c:140:6: note: declared here
140 | void lock()
| ^~~~
gfx.c:267:4: error: too many arguments to function ‘unlock’; expected 0, have 1
267 | unlock(Screen);
| ^~~~~~ ~~~~~~
gfx.c:147:6: note: declared here
147 | void unlock()
| ^~~~~~
gfx.c: In function ‘BlitToBB’:
gfx.c:392:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘SDL_Surface *’ [-Wformat=]
392 | printf("rect %d,%d,%d,%d: %d\n", blitrect.x, blitrect.y, blitrect.w, blitrect.h, image);
| ~^ ~~~~~
| | |
| int SDL_Surface *
make[2]: *** [Makefile:412: gfx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
game.c: In function ‘GameEvents’:
game.c:92:12: warning: variable ‘keys’ set but not used [-Wunused-but-set-variable]
92 | Uint8* keys;
| ^~~~
In file included from /usr/include/stdio.h:970,
from /usr/include/SDL/SDL_stdinc.h:33,
from /usr/include/SDL/SDL_main.h:29,
from /usr/include/SDL/SDL.h:29,
from SFont.c:1:
In function ‘sprintf’,
inlined from ‘SFont_InternalInput’ at SFont.c:182:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: ‘__builtin___sprintf_chk’ argument 5 overlaps destination object ‘text’ [-Wrestrict]
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
SFont.c: In function ‘SFont_InternalInput’:
SFont.c:147:104: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
147 | void SFont_InternalInput( SDL_Surface *Dest, SFont_FontInfo *Font, int x, int y, int PixelWidth, char *text)
| ~~~~~~^~~~
make[2]: Leaving directory '/build/reproducible-path/penguin-command-1.6.11/src'
make[1]: *** [Makefile:438: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/penguin-command-1.6.11'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list