Bug#957705: prboom-plus: ftbfs with GCC-10

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


Package: src:prboom-plus
Version: 2:2.5.1.5+svn4540+dfsg1-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/prboom-plus_2.5.1.5+svn4540+dfsg1-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

[...]
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-missing-field-initializers -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wpointer-arith -ffast-math -Wno-unused -Wno-switch -Wno-sign-compare -Wno-pointer-sign -O2 -fomit-frame-pointer -I../src -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -c -o mus2mid.o mus2mid.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-missing-field-initializers -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wpointer-arith -ffast-math -Wno-unused -Wno-switch -Wno-sign-compare -Wno-pointer-sign -O2 -fomit-frame-pointer -I../src -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -c -o d_server.o d_server.c
gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-missing-field-initializers -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wpointer-arith -ffast-math -Wno-unused -Wno-switch -Wno-sign-compare -Wno-pointer-sign -O2 -fomit-frame-pointer -I../src -D_REENTRANT -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,defs -o prboom-plus r_draw.o am_map.o d_deh.o d_items.o d_main.o doomdef.o doomstat.o dstrings.o e6y.o f_finale.o f_wipe.o g_game.o g_overflow.o hu_lib.o hu_stuff.o hu_tracers.o i_capture.o i_pcsound.o info.o lprintf.o m_argv.o m_bbox.o m_cheat.o m_menu.o m_misc.o m_random.o md5.o p_ceilng.o p_checksum.o p_doors.o p_enemy.o p_floor.o p_genlin.o p_inter.o p_lights.o p_map.o p_maputl.o p_mobj.o p_plats.o p_pspr.o p_saveg.o p_setup.o p_sight.o p_spec.o p_switch.o p_telept.o p_tick.o p_user.o r_bsp.o r_data.o r_demo.o r_filter.o r_fps.o r_main.o r_patch.o r_plane.o r_segs.o r_sky.o r_things.o s_advsound.o s_sound.o sc_man.o sounds.o st_lib.o st_stuff.o tables.o v_video.o version.o w_wad.o wi_stuff.o z_bmalloc.o z_zone.o d_client.o gl_clipper.o gl_detail.o gl_drawinfo.o gl_fbo.o gl_gamma.o gl_hires.o gl_hqresize.o gl_light.o gl_main.o gl_map.o gl_missingtexture.o gl_opengl.o gl_preprocess.o gl_shader.o gl_shadow.o gl_sky.o gl_texture.o gl_vertex.o gl_wipe.o w_mmap.o memio.o mus2mid.o SDL/libsdldoom.a PCSOUND/libpcsound.a TEXTSCREEN/libtextscreen.a MUSIC/libdoommusic.a -lSDL2_net -lSDL2 -lGL -lGLU  -lSDL2_image -lportmidi -lporttime -lvorbisfile -ldumb -lfluidsynth -lmad -lpcreposix -lSDL2_mixer -lm 
/usr/bin/ld: g_game.o:(.bss+0xa90): multiple definition of `demover'; doomstat.o:(.bss+0x1a0): first defined here
/usr/bin/ld: gl_clipper.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_clipper.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_clipper.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_detail.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_detail.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_detail.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_drawinfo.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_drawinfo.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_drawinfo.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_fbo.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_fbo.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_fbo.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_gamma.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_gamma.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_gamma.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_hires.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_hires.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_hires.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_hqresize.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_hqresize.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_hqresize.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_light.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_light.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_light.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_main.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_main.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_main.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_map.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_map.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_map.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_missingtexture.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_missingtexture.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_missingtexture.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_preprocess.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_preprocess.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_preprocess.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_shadow.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_shadow.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_shadow.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_sky.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_sky.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_sky.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_texture.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_texture.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_texture.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_vertex.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_vertex.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_vertex.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: gl_wipe.o:./src/gl_intern.h:465: multiple definition of `gld_CalcFogDensity'; e6y.o:./src/gl_intern.h:465: first defined here
/usr/bin/ld: gl_wipe.o:./src/gl_intern.h:457: multiple definition of `gld_Calc2DLightLevel'; e6y.o:./src/gl_intern.h:457: first defined here
/usr/bin/ld: gl_wipe.o:./src/gl_intern.h:456: multiple definition of `gld_CalcLightLevel'; e6y.o:./src/gl_intern.h:456: first defined here
/usr/bin/ld: r_demo.o: in function `G_ReadDemoFooter':
./src/r_demo.c:1078: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:772: prboom-plus] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:909: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:451: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:369: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list