Bug#957604: neverball: ftbfs with GCC-10

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


Package: src:neverball
Version: 1.6.0+git20180603-2
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/neverball_1.6.0+git20180603-2_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 -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -MM -MP -MF putt/course.d -MT "putt/course.o" putt/course.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -o putt/hole.o -c putt/hole.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -MM -MP -MF putt/st_all.d -MT "putt/st_all.o" putt/st_all.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -o putt/course.o -c putt/course.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -o putt/st_all.o -c putt/st_all.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -MM -MP -MF putt/st_conf.d -MT "putt/st_conf.o" putt/st_conf.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -o putt/st_conf.o -c putt/st_conf.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -MM -MP -MF putt/main.d -MT "putt/main.o" putt/main.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -MM -MP -MF share/mapc.d -MT "share/mapc.o" share/mapc.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -o putt/main.o -c putt/main.c
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -I/usr/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DENABLE_HMD=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG  -o share/mapc.o -c share/mapc.c
sh scripts/translate-desktop.sh < dist/neverball.desktop.in > dist/neverball.desktop
sh scripts/translate-desktop.sh < dist/neverputt.desktop.in > dist/neverputt.desktop
cc -Wall -Wshadow -std=c99 -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -o neverball share/lang.o share/st_common.o share/vec3.o share/base_image.o share/image.o share/solid_base.o share/solid_vary.o share/solid_draw.o share/solid_all.o share/mtrl.o share/part.o share/geom.o share/ball.o share/gui.o share/font.o share/theme.o share/base_config.o share/config.o share/video.o share/glext.o share/binary.o share/state.o share/audio.o share/text.o share/common.o share/list.o share/queue.o share/cmd.o share/array.o share/dir.o share/fbo.o share/glsl.o share/fs_common.o share/fs_png.o share/fs_jpg.o share/fs_ov.o share/log.o ball/hud.o ball/game_common.o ball/game_client.o ball/game_server.o ball/game_proxy.o ball/game_draw.o ball/score.o ball/level.o ball/progress.o ball/set.o ball/demo.o ball/demo_dir.o ball/util.o ball/st_conf.o ball/st_demo.o ball/st_save.o ball/st_goal.o ball/st_fail.o ball/st_done.o ball/st_level.o ball/st_over.o ball/st_play.o ball/st_set.o ball/st_start.o ball/st_title.o ball/st_help.o ball/st_name.o ball/st_shared.o ball/st_pause.o ball/st_ball.o ball/main.o share/solid_sim_sol.o share/fs_stdio.o share/tilt_null.o share/hmd_openhmd.o share/hmd_common.o -Wl,-z,relro -lopenhmd   -lSDL2_ttf -lvorbisfile -lSDL2 -lGL -ljpeg -lpng16  -lm
/usr/bin/ld: ball/st_save.o:./share/text.h:18: multiple definition of `text_input'; share/text.o:./share/text.h:18: first defined here
/usr/bin/ld: ball/st_name.o:./share/text.h:18: multiple definition of `text_input'; share/text.o:./share/text.h:18: first defined here
/usr/bin/ld: ball/main.o:./share/text.h:18: multiple definition of `text_input'; share/text.o:./share/text.h:18: first defined here
In file included from /usr/include/string.h:495,
                 from share/mapc.c:20:
In function ‘strncpy’,
    inlined from ‘make_ref’ at share/mapc.c:462:9,
    inlined from ‘make_swch’ at share/mapc.c:1396:13,
    inlined from ‘read_ent’ at share/mapc.c:1508:52:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘make_sym’ at share/mapc.c:448:9,
    inlined from ‘make_path’ at share/mapc.c:1019:13,
    inlined from ‘read_ent’ at share/mapc.c:1510:52:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘make_ref’ at share/mapc.c:462:9,
    inlined from ‘make_path’ at share/mapc.c:1022:13,
    inlined from ‘read_ent’ at share/mapc.c:1510:52:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘make_ref’ at share/mapc.c:462:9,
    inlined from ‘make_view’ at share/mapc.c:1321:13,
    inlined from ‘read_ent’ at share/mapc.c:1512:52:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘make_ref’ at share/mapc.c:462:9,
    inlined from ‘make_jump’ at share/mapc.c:1358:13,
    inlined from ‘read_ent’ at share/mapc.c:1514:52:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘make_sym’ at share/mapc.c:448:9,
    inlined from ‘make_targ’ at share/mapc.c:1433:13,
    inlined from ‘read_ent’ at share/mapc.c:1515:52:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:450: neverball] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG" "CXXFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "FCFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" "FFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" "GCJFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" LDFLAGS=-Wl,-z,relro "OBJCFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" DATADIR=/usr/share/games/neverball LOCALEDIR=/usr/share/locale ENABLE_HMD=openhmd executables returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list