Bug#1096274: ace-of-penguins: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:02:07 GMT 2025
Package: src:ace-of-penguins
Version: 1.5~rc2-6
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/ace-of-penguins_1.5~rc2-6_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
[...]
| ^~
xwin.c:961:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
961 | if (xmask) XDestroyImage (xmask); xmask = 0;
| ^~~~~
xwin.c:816:28: warning: unused variable 'num_trans' [-Wunused-variable]
816 | int i, number_of_passes, num_trans;
| ^~~~~~~~~
xwin.c: In function 'put_image':
xwin.c:972:19: warning: variable 'dh' set but not used [-Wunused-but-set-variable]
972 | int sw, sh, dw, dh;
| ^~
xwin.c:972:15: warning: variable 'dw' set but not used [-Wunused-but-set-variable]
972 | int sw, sh, dw, dh;
| ^~
xwin.c: In function 'put_mask':
xwin.c:1120:17: warning: unused variable 'mask' [-Wunused-variable]
1120 | Pixmap which, mask;
| ^~~~
xwin.c:1120:10: warning: unused variable 'which' [-Wunused-variable]
1120 | Pixmap which, mask;
| ^~~~~
In file included from xwin.c:44:
cards.h: At top level:
cards.h:41:13: warning: 'init' declared 'static' but never defined [-Wunused-function]
41 | static void init();
| ^~~~
cards.h:42:13: warning: 'redraw' declared 'static' but never defined [-Wunused-function]
42 | static void redraw();
| ^~~~~~
cards.h:43:13: warning: 'resize' declared 'static' but never defined [-Wunused-function]
43 | static void resize(int width, int height);
| ^~~~~~
cards.h:44:13: warning: 'key' declared 'static' but never defined [-Wunused-function]
44 | static void key(int k, int x, int y);
| ^~~
cards.h:45:13: warning: 'click' declared 'static' but never defined [-Wunused-function]
45 | static void click(int x, int y, int b);
| ^~~~~
cards.h:46:13: warning: 'double_click' declared 'static' but never defined [-Wunused-function]
46 | static void double_click(int x, int y, int b);
| ^~~~~~~~~~~~
cards.h:47:13: warning: 'drag' declared 'static' but never defined [-Wunused-function]
47 | static void drag(int x, int y, int b);
| ^~~~
cards.h:48:13: warning: 'drop' declared 'static' but never defined [-Wunused-function]
48 | static void drop(int x, int y, int b);
| ^~~~
xwin.c:48:14: warning: 'type_names' defined but not used [-Wunused-variable]
48 | static char *type_names[] = {"mono", "grey", "color"};
| ^~~~~~~~~~
libtool: compile: x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DPACKAGE_NAME=\"ace\" -DPACKAGE_TARNAME=\"ace\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"ace 1.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ace\" -DVERSION=\"1.4\" -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 -DHAVE_SYS_TIME_H=1 -DHAVE_UTIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -c funcs.c -o funcs.o >/dev/null 2>&1
libtool: compile: x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DPACKAGE_NAME=\"ace\" -DPACKAGE_TARNAME=\"ace\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"ace 1.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ace\" -DVERSION=\"1.4\" -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 -DHAVE_SYS_TIME_H=1 -DHAVE_UTIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -c imagelib.c -o imagelib.o >/dev/null 2>&1
help.c: In function 'my_help_redraw':
help.c:224:3: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
224 | XDrawPoint(display, window, gc, r+1, y-1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help.c:189:13: note: 'r' was declared here
189 | int i, l, r;
| ^
libtool: compile: x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DPACKAGE_NAME=\"ace\" -DPACKAGE_TARNAME=\"ace\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"ace 1.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ace\" -DVERSION=\"1.4\" -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 -DHAVE_SYS_TIME_H=1 -DHAVE_UTIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -c stack.c -o stack.o >/dev/null 2>&1
libtool: compile: x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DPACKAGE_NAME=\"ace\" -DPACKAGE_TARNAME=\"ace\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"ace 1.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ace\" -DVERSION=\"1.4\" -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 -DHAVE_SYS_TIME_H=1 -DHAVE_UTIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -c help.c -o help.o >/dev/null 2>&1
libtool: compile: x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DPACKAGE_NAME=\"ace\" -DPACKAGE_TARNAME=\"ace\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"ace 1.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ace\" -DVERSION=\"1.4\" -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 -DHAVE_SYS_TIME_H=1 -DHAVE_UTIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -c xwin.c -o xwin.o >/dev/null 2>&1
make[3]: Leaving directory '/build/reproducible-path/ace-of-penguins-1.5~rc2/lib'
make[2]: *** [Makefile:401: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/ace-of-penguins-1.5~rc2'
dh_auto_build: error: make -j8 "CC=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ace-of-penguins-1.5~rc2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now" BUILD_CC=x86_64-linux-gnu-gcc returned exit code 2
make[1]: *** [debian/rules:46: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/ace-of-penguins-1.5~rc2'
make: *** [debian/rules:129: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list