Bug#1097097: kraptor: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:28:37 GMT 2025
Package: src:kraptor
Version: 0.0.20040403+ds-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/kraptor_0.0.20040403+ds-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
[...]
In file included from /usr/include/allegro/base.h:41,
from /usr/include/allegro.h:25,
from src/cinema.c:18:
/usr/include/allegro/alcompat.h:137:1: note: declared here
137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode));
| ^~~~~~~~~~~~~~~~~~
src/cinema.c: In function ‘cmd_echo’:
src/cinema.c:227:1: warning: ‘text_mode’ is deprecated [-Wdeprecated-declarations]
227 | text_mode(echo_text_back);
| ^~~~~~~~~
/usr/include/allegro/alcompat.h:137:1: note: declared here
137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode));
| ^~~~~~~~~~~~~~~~~~
src/cinema.c: In function ‘cmd_echo_centre_x’:
src/cinema.c:242:1: warning: ‘text_mode’ is deprecated [-Wdeprecated-declarations]
242 | text_mode(echo_text_back);
| ^~~~~~~~~
/usr/include/allegro/alcompat.h:137:1: note: declared here
137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode));
| ^~~~~~~~~~~~~~~~~~
src/cinema.c: In function ‘cmd_echo_centre_xy’:
src/cinema.c:264:1: warning: ‘text_mode’ is deprecated [-Wdeprecated-declarations]
264 | text_mode(echo_text_back);
| ^~~~~~~~~
/usr/include/allegro/alcompat.h:137:1: note: declared here
137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode));
| ^~~~~~~~~~~~~~~~~~
src/cinema.c: In function ‘ejecutar_script’:
src/cinema.c:592:1: warning: ‘text_mode’ is deprecated [-Wdeprecated-declarations]
592 | text_mode(-1);
| ^~~~~~~~~
/usr/include/allegro/alcompat.h:137:1: note: declared here
137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode));
| ^~~~~~~~~~~~~~~~~~
src/cinema.c:606:1: warning: ‘set_clip’ is deprecated [-Wdeprecated-declarations]
606 | set_clip(kfbufferbmp, 0, 0, kfbufferbmp->w-1, kfbufferbmp->h-1); /* clipping adecuado */
| ^~~~~~~~
/usr/include/allegro/alcompat.h:189:1: note: declared here
189 | AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2));
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [makefile.all:17: obj/linux/bomba.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/data.c: In function ‘cargar_callback’:
src/data.c:79:2: warning: ‘text_mode’ is deprecated [-Wdeprecated-declarations]
79 | text_mode(gui_bg_color);
| ^~~~~~~~~
In file included from /usr/include/allegro/base.h:41,
from /usr/include/allegro.h:25,
from src/data.c:15:
/usr/include/allegro/alcompat.h:137:1: note: declared here
137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode));
| ^~~~~~~~~~~~~~~~~~
src/data.c:80:2: warning: ‘textprintf’ is deprecated [-Wdeprecated-declarations]
80 | textprintf(screen, font, 2, 2, gui_fg_color, "Wait please, loading...");
| ^~~~~~~~~~
/usr/include/allegro/alcompat.h:159:1: note: declared here
159 | AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7);
| ^~~~~~~~~~~~~~~~~~~~~~~
src/data.c:81:2: warning: ‘textprintf’ is deprecated [-Wdeprecated-declarations]
81 | textprintf(screen, font, 2, text_height(font)+4, gui_fg_color, "-> %d", byte_acumulado);
| ^~~~~~~~~~
/usr/include/allegro/alcompat.h:159:1: note: declared here
159 | AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7);
| ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/build/reproducible-path/kraptor-0.0.20040403+ds'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" GCC=\$\(CC\) returned exit code 2
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/kraptor-0.0.20040403+ds'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list