Bug#1096330: asciijump: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:03:51 GMT 2025
Package: src:asciijump
Version: 1.0.2~beta-11
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/asciijump_1.0.2~beta-11_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
[...]
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ok
main.c .. ok
slang.c .. hill.c: In function ‘hl_record_read’:
hill.c:87:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
87 | fread(&h->record, sizeof(double), 1, fd);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ok
client.c .. ok
cup.c .. ok[0m[36mcreating server [0m[36m[1m{[0m
as_display.c .. client.c: In function ‘cl_net’:
client.c:137:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
137 | write(cl_socket, cl_name, strlen(cl_name)+1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
okclient.c: In function ‘cl_result’:
client.c:279:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
279 | write(cl_socket, buf, strlen(buf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as_getline.c .. ok
as_hill.c .. ok
as_let.c .. hill.c: In function ‘hl_draw’:
hill.c:239:55: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=]
239 | sprintf(tab, "%d", (px - hl->leapsill)/2);
| ^~
hill.c:239:54: note: directive argument in the range [-1073741820, 1073741823]
239 | sprintf(tab, "%d", (px - hl->leapsill)/2);
| ^~~~
In file included from /usr/include/stdio.h:970,
from ./include/hill.h:30,
from hill.c:9:
In function ‘sprintf’,
inlined from ‘hl_draw’ at hill.c:239:6:
ok/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 12 bytes into a destination of size 4
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
as_main.c .. ok
as_parse.c .. as_main.c: In function ‘as_init’:
as_main.c:421:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
421 | signal(SIGINT, as_finish);
| ^~~~~~~~~
| |
| void (*)(void)
In file included from ./include/aserver.h:42,
from as_main.c:5:
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
as_main.c:368:6: note: ‘as_finish’ declared here
368 | void as_finish()
| ^~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make[1]: *** [Makefile:98: bin/as_main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
okokokokokokokmake[1]: Leaving directory '/build/reproducible-path/asciijump-1.0.2~beta'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list