Bug#957187: ezquake: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 11:59:47 BST 2020
Package: src:ezquake
Version: 2.2+git20150324-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/ezquake_2.2+git20150324-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
[...]
/usr/bin/ld: .ezquake/vx_camera.o:./vx_stuff.h:55: multiple definition of `explosionflashtexture2'; .ezquake/cl_nqdemo.o:./vx_stuff.h:55: first defined here
/usr/bin/ld: .ezquake/vx_camera.o:./vx_stuff.h:54: multiple definition of `explosionflashtexture1'; .ezquake/cl_nqdemo.o:./vx_stuff.h:54: first defined here
/usr/bin/ld: .ezquake/vx_camera.o:./vx_stuff.h:53: multiple definition of `gunflashtexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:53: first defined here
/usr/bin/ld: .ezquake/vx_camera.o:./vx_stuff.h:52: multiple definition of `coronatexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:52: first defined here
/usr/bin/ld: .ezquake/vx_camera.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:129: multiple definition of `CoronaCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:129: multiple definition of `CoronaCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:60: multiple definition of `explosionflashtexture7'; .ezquake/cl_nqdemo.o:./vx_stuff.h:60: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:52: multiple definition of `coronatexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:52: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:54: multiple definition of `explosionflashtexture1'; .ezquake/cl_nqdemo.o:./vx_stuff.h:54: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:53: multiple definition of `gunflashtexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:53: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:129: multiple definition of `MotionBlurCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:129: multiple definition of `MotionBlurCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:129: multiple definition of `ParticleCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:129: multiple definition of `ParticleCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:59: multiple definition of `explosionflashtexture6'; .ezquake/cl_nqdemo.o:./vx_stuff.h:59: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:58: multiple definition of `explosionflashtexture5'; .ezquake/cl_nqdemo.o:./vx_stuff.h:58: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:57: multiple definition of `explosionflashtexture4'; .ezquake/cl_nqdemo.o:./vx_stuff.h:57: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:56: multiple definition of `explosionflashtexture3'; .ezquake/cl_nqdemo.o:./vx_stuff.h:56: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./vx_stuff.h:55: multiple definition of `explosionflashtexture2'; .ezquake/cl_nqdemo.o:./vx_stuff.h:55: first defined here
/usr/bin/ld: .ezquake/vx_coronas.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:129: multiple definition of `MotionBlurCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:129: multiple definition of `MotionBlurCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:129: multiple definition of `CoronaCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:129: multiple definition of `CoronaCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:129: multiple definition of `ParticleCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:129: multiple definition of `ParticleCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:60: multiple definition of `explosionflashtexture7'; .ezquake/cl_nqdemo.o:./vx_stuff.h:60: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:59: multiple definition of `explosionflashtexture6'; .ezquake/cl_nqdemo.o:./vx_stuff.h:59: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:58: multiple definition of `explosionflashtexture5'; .ezquake/cl_nqdemo.o:./vx_stuff.h:58: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:57: multiple definition of `explosionflashtexture4'; .ezquake/cl_nqdemo.o:./vx_stuff.h:57: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:56: multiple definition of `explosionflashtexture3'; .ezquake/cl_nqdemo.o:./vx_stuff.h:56: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:55: multiple definition of `explosionflashtexture2'; .ezquake/cl_nqdemo.o:./vx_stuff.h:55: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:54: multiple definition of `explosionflashtexture1'; .ezquake/cl_nqdemo.o:./vx_stuff.h:54: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:53: multiple definition of `gunflashtexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:53: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./vx_stuff.h:52: multiple definition of `coronatexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:52: first defined here
/usr/bin/ld: .ezquake/vx_motiontrail.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:129: multiple definition of `ParticleCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:129: multiple definition of `ParticleCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:129: multiple definition of `CoronaCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:129: multiple definition of `CoronaCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:129: multiple definition of `MotionBlurCount'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:129: multiple definition of `MotionBlurCountHigh'; .ezquake/cl_nqdemo.o:./vx_stuff.h:129: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:52: multiple definition of `coronatexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:52: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:53: multiple definition of `gunflashtexture'; .ezquake/cl_nqdemo.o:./vx_stuff.h:53: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:54: multiple definition of `explosionflashtexture1'; .ezquake/cl_nqdemo.o:./vx_stuff.h:54: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:55: multiple definition of `explosionflashtexture2'; .ezquake/cl_nqdemo.o:./vx_stuff.h:55: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:56: multiple definition of `explosionflashtexture3'; .ezquake/cl_nqdemo.o:./vx_stuff.h:56: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:57: multiple definition of `explosionflashtexture4'; .ezquake/cl_nqdemo.o:./vx_stuff.h:57: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:58: multiple definition of `explosionflashtexture5'; .ezquake/cl_nqdemo.o:./vx_stuff.h:58: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:59: multiple definition of `explosionflashtexture6'; .ezquake/cl_nqdemo.o:./vx_stuff.h:59: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./vx_stuff.h:60: multiple definition of `explosionflashtexture7'; .ezquake/cl_nqdemo.o:./vx_stuff.h:60: first defined here
/usr/bin/ld: .ezquake/vx_stuff.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/vx_vertexlights.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/vid_common_gl.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/cd_null.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/vid_sdl2.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/snd_sdl2.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/sys_sdl2.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/in_sdl2.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/sys_posix.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/linux_signals.o:./protocol.h:452: multiple definition of `temp_entities'; .ezquake/cmodel.o:./protocol.h:452: first defined here
/usr/bin/ld: .ezquake/common.o: in function `COM_GetUniqueTempFilename':
./common.c:374: warning: the use of `tempnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:397: ezquake] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:14: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list