Bug#957172: empire: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:59:29 BST 2020


Package: src:empire
Version: 1.15-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/empire_1.15-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: term.o:./extern.h:16: multiple definition of `delay_time'; attack.o:./extern.h:16: first defined here
/usr/bin/ld: term.o:./extern.h:15: multiple definition of `MIN_CITY_DIST'; attack.o:./extern.h:15: first defined here
/usr/bin/ld: term.o:./extern.h:14: multiple definition of `WATER_RATIO'; attack.o:./extern.h:14: first defined here
/usr/bin/ld: term.o:./extern.h:13: multiple definition of `SMOOTH'; attack.o:./extern.h:13: first defined here
/usr/bin/ld: usermove.o:./extern.h:32: multiple definition of `user_obj'; attack.o:./extern.h:32: first defined here
/usr/bin/ld: usermove.o:./extern.h:21: multiple definition of `user_map'; attack.o:./extern.h:21: first defined here
/usr/bin/ld: usermove.o:./extern.h:19: multiple definition of `map'; attack.o:./extern.h:19: first defined here
/usr/bin/ld: usermove.o:./extern.h:81: multiple definition of `jnkbuf'; attack.o:./extern.h:81: first defined here
/usr/bin/ld: usermove.o:./extern.h:20: multiple definition of `comp_map'; attack.o:./extern.h:20: first defined here
/usr/bin/ld: usermove.o:./extern.h:74: multiple definition of `automove'; attack.o:./extern.h:74: first defined here
/usr/bin/ld: usermove.o:./extern.h:23: multiple definition of `city'; attack.o:./extern.h:23: first defined here
/usr/bin/ld: usermove.o:./extern.h:82: multiple definition of `save_movie'; attack.o:./extern.h:82: first defined here
/usr/bin/ld: usermove.o:./extern.h:86: multiple definition of `showprod'; attack.o:./extern.h:86: first defined here
/usr/bin/ld: usermove.o:./extern.h:85: multiple definition of `savefile'; attack.o:./extern.h:85: first defined here
/usr/bin/ld: usermove.o:./extern.h:84: multiple definition of `comp_score'; attack.o:./extern.h:84: first defined here
/usr/bin/ld: usermove.o:./extern.h:83: multiple definition of `user_score'; attack.o:./extern.h:83: first defined here
/usr/bin/ld: usermove.o:./extern.h:80: multiple definition of `win'; attack.o:./extern.h:80: first defined here
/usr/bin/ld: usermove.o:./extern.h:79: multiple definition of `trace_pmap'; attack.o:./extern.h:79: first defined here
/usr/bin/ld: usermove.o:./extern.h:78: multiple definition of `print_vmap'; attack.o:./extern.h:78: first defined here
/usr/bin/ld: usermove.o:./extern.h:77: multiple definition of `print_debug'; attack.o:./extern.h:77: first defined here
/usr/bin/ld: usermove.o:./extern.h:76: multiple definition of `debug'; attack.o:./extern.h:76: first defined here
/usr/bin/ld: usermove.o:./extern.h:75: multiple definition of `resigned'; attack.o:./extern.h:75: first defined here
/usr/bin/ld: usermove.o:./extern.h:73: multiple definition of `date'; attack.o:./extern.h:73: first defined here
/usr/bin/ld: usermove.o:./extern.h:38: multiple definition of `cols'; attack.o:./extern.h:38: first defined here
/usr/bin/ld: usermove.o:./extern.h:37: multiple definition of `lines'; attack.o:./extern.h:37: first defined here
/usr/bin/ld: usermove.o:./extern.h:34: multiple definition of `object'; attack.o:./extern.h:34: first defined here
/usr/bin/ld: usermove.o:./extern.h:33: multiple definition of `comp_obj'; attack.o:./extern.h:33: first defined here
/usr/bin/ld: usermove.o:./extern.h:31: multiple definition of `free_list'; attack.o:./extern.h:31: first defined here
/usr/bin/ld: usermove.o:./extern.h:17: multiple definition of `save_interval'; attack.o:./extern.h:17: first defined here
/usr/bin/ld: usermove.o:./extern.h:16: multiple definition of `delay_time'; attack.o:./extern.h:16: first defined here
/usr/bin/ld: usermove.o:./extern.h:15: multiple definition of `MIN_CITY_DIST'; attack.o:./extern.h:15: first defined here
/usr/bin/ld: usermove.o:./extern.h:14: multiple definition of `WATER_RATIO'; attack.o:./extern.h:14: first defined here
/usr/bin/ld: usermove.o:./extern.h:13: multiple definition of `SMOOTH'; attack.o:./extern.h:13: first defined here
/usr/bin/ld: util.o:./extern.h:37: multiple definition of `lines'; attack.o:./extern.h:37: first defined here
/usr/bin/ld: util.o:./extern.h:34: multiple definition of `object'; attack.o:./extern.h:34: first defined here
/usr/bin/ld: util.o:./extern.h:31: multiple definition of `free_list'; attack.o:./extern.h:31: first defined here
/usr/bin/ld: util.o:./extern.h:19: multiple definition of `map'; attack.o:./extern.h:19: first defined here
/usr/bin/ld: util.o:./extern.h:23: multiple definition of `city'; attack.o:./extern.h:23: first defined here
/usr/bin/ld: util.o:./extern.h:33: multiple definition of `comp_obj'; attack.o:./extern.h:33: first defined here
/usr/bin/ld: util.o:./extern.h:32: multiple definition of `user_obj'; attack.o:./extern.h:32: first defined here
/usr/bin/ld: util.o:./extern.h:86: multiple definition of `showprod'; attack.o:./extern.h:86: first defined here
/usr/bin/ld: util.o:./extern.h:85: multiple definition of `savefile'; attack.o:./extern.h:85: first defined here
/usr/bin/ld: util.o:./extern.h:84: multiple definition of `comp_score'; attack.o:./extern.h:84: first defined here
/usr/bin/ld: util.o:./extern.h:83: multiple definition of `user_score'; attack.o:./extern.h:83: first defined here
/usr/bin/ld: util.o:./extern.h:82: multiple definition of `save_movie'; attack.o:./extern.h:82: first defined here
/usr/bin/ld: util.o:./extern.h:81: multiple definition of `jnkbuf'; attack.o:./extern.h:81: first defined here
/usr/bin/ld: util.o:./extern.h:80: multiple definition of `win'; attack.o:./extern.h:80: first defined here
/usr/bin/ld: util.o:./extern.h:79: multiple definition of `trace_pmap'; attack.o:./extern.h:79: first defined here
/usr/bin/ld: util.o:./extern.h:78: multiple definition of `print_vmap'; attack.o:./extern.h:78: first defined here
/usr/bin/ld: util.o:./extern.h:77: multiple definition of `print_debug'; attack.o:./extern.h:77: first defined here
/usr/bin/ld: util.o:./extern.h:76: multiple definition of `debug'; attack.o:./extern.h:76: first defined here
/usr/bin/ld: util.o:./extern.h:75: multiple definition of `resigned'; attack.o:./extern.h:75: first defined here
/usr/bin/ld: util.o:./extern.h:74: multiple definition of `automove'; attack.o:./extern.h:74: first defined here
/usr/bin/ld: util.o:./extern.h:73: multiple definition of `date'; attack.o:./extern.h:73: first defined here
/usr/bin/ld: util.o:./extern.h:38: multiple definition of `cols'; attack.o:./extern.h:38: first defined here
/usr/bin/ld: util.o:./extern.h:21: multiple definition of `user_map'; attack.o:./extern.h:21: first defined here
/usr/bin/ld: util.o:./extern.h:20: multiple definition of `comp_map'; attack.o:./extern.h:20: first defined here
/usr/bin/ld: util.o:./extern.h:17: multiple definition of `save_interval'; attack.o:./extern.h:17: first defined here
/usr/bin/ld: util.o:./extern.h:16: multiple definition of `delay_time'; attack.o:./extern.h:16: first defined here
/usr/bin/ld: util.o:./extern.h:15: multiple definition of `MIN_CITY_DIST'; attack.o:./extern.h:15: first defined here
/usr/bin/ld: util.o:./extern.h:14: multiple definition of `WATER_RATIO'; attack.o:./extern.h:14: first defined here
/usr/bin/ld: util.o:./extern.h:13: multiple definition of `SMOOTH'; attack.o:./extern.h:13: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:61: vms-empire] Error 1
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 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-format-security" PROFILE=-Wl,-z,relro returned exit code 2
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list