Bug#957253: gargoyle-free: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:00:59 BST 2020


Package: src:gargoyle-free
Version: 2011.1b-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/gargoyle-free_2011.1b-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
Cc build/linux.release/scare/scvars.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scexpr.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scprintf.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scinterf.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scparser.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/sclibrar.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scrunner.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scevents.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scnpcs.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scobjcts.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/sctasks.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/screstrs.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scgamest.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scserial.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scresour.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scutils.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scdebug.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/sclocale.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/scmemos.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Cc build/linux.release/scare/os_glk.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
In function ‘gsc_status_safe_strcat’,
    inlined from ‘gsc_status_print’ at terps/scare/os_glk.c:978:7:
terps/scare/os_glk.c:950:5: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  950 |     strncat (dest, src, src_length < available ? src_length : available);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terps/scare/os_glk.c: In function ‘gsc_status_print’:
terps/scare/os_glk.c:947:16: note: length computed here
  947 |   src_length = strlen (src);
      |                ^~~~~~~~~~~~
MkDir1 build/linux.release/scott 
Cc build/linux.release/scott/scott.o 
cc1: warning: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C
Link build/linux.release/scare/scare 
/usr/bin/ld: build/linux.release/garglk/libgarglk.a(cgfref.o): in function `glk_fileref_create_temp':
./garglk/cgfref.c:140: warning: the use of `tempnam' is dangerous, better use `mkstemp'
Link build/linux.release/scott/scott 
/usr/bin/ld: build/linux.release/garglk/libgarglk.a(cgfref.o): in function `glk_fileref_create_temp':
./garglk/cgfref.c:140: warning: the use of `tempnam' is dangerous, better use `mkstemp'
Chmod1 build/linux.release/scare/scare 
Chmod1 build/linux.release/scott/scott 
Link build/linux.release/geas/geas 
/usr/bin/ld: build/linux.release/garglk/libgarglk.a(sndsdl.o): in function `play_mod':
./garglk/sndsdl.c:520: warning: the use of `tempnam' is dangerous, better use `mkstemp'
Chmod1 build/linux.release/geas/geas 
...failed updating 4 target(s)...
...updated 449 target(s)...
make[1]: *** [debian/rules:32: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:29: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list