Bug#1075515: slashem: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:44:16 BST 2024
Package: src:slashem
Version: 0.0.7E7F3-11
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/slashem_0.0.7E7F3-11_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -DDEBIAN_TTY -g -O2 -fomit-frame-pointer -fstack-protector --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o panic.o panic.c
cc -L/usr/X11R6/lib -Wl,-z,relro -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/util'
make[4]: Entering directory '/<<PKGBUILDDIR>>/util'
./makedefs -p
make[4]: Leaving directory '/<<PKGBUILDDIR>>/util'
make[4]: Entering directory '/<<PKGBUILDDIR>>/util'
./makedefs -o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/util'
touch ../src/hack.h-t
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o allmain.o allmain.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o apply.o apply.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o artifact.o artifact.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attrib.o attrib.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ball.o ball.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bones.o bones.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o botl.o botl.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cmd.o cmd.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dbridge.o dbridge.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o decl.o decl.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o detect.o detect.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dig.o dig.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o display.o display.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dlb.o dlb.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o do.o do.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o do_name.o do_name.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o do_wear.o do_wear.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dog.o dog.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dogmove.o dogmove.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dokick.o dokick.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dothrow.o dothrow.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o drawing.o drawing.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dungeon.o dungeon.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eat.o eat.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o end.o end.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o engrave.o engrave.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exper.o exper.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o explode.o explode.c
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o extralev.o extralev.c
../util/makedefs -f
cc -DDEBIAN_TTY -O2 -fomit-frame-pointer -fstack-protector -fcommon --param=ssp-buffer-size=4 -I../include -I/usr/X11R6/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o files.o files.c
files.c: In function ‘delete_levelfile’:
files.c:569:24: error: implicit declaration of function ‘remove_area’; did you mean ‘remove_rect’? [-Wimplicit-function-declaration]
569 | (void) remove_area(FILE_AREA_LEVL, lock, 0);
| ^~~~~~~~~~~
| remove_rect
files.c: In function ‘commit_bonesfile’:
files.c:808:15: error: implicit declaration of function ‘rename_area’ [-Wimplicit-function-declaration]
808 | ret = rename_area(FILE_AREA_BONES, tempname, bones);
| ^~~~~~~~~~~
files.c: In function ‘save_savefile_name’:
files.c:947:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
947 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
files.c: In function ‘docompress_file’:
files.c:1322:24: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1322 | (void) setgid(getgid());
| ^~~~~~~~~~~~~~~~
files.c:1323:24: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1323 | (void) setuid(getuid());
| ^~~~~~~~~~~~~~~~
make[3]: *** [<builtin>: files.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:150: slashem] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:26: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list