Bug#956988: alex4: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:56:13 BST 2020


Package: src:alex4
Version: 1.1-8
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/alex4_1.1-8_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

[...]
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wl,-z,relro -Wl,-z,now -o alex4 actor.o edit.o map.o player.o shooter.o unix.o bullet.o hisc.o options.o script.o timer.o control.o main.o particle.o scroller.o token.o -laldmb -ldumb `allegro-config --libs`
/usr/bin/ld: edit.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: edit.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: edit.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: edit.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: edit.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: edit.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: map.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: map.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: map.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: map.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: map.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: map.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: player.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: player.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: player.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: player.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: player.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: player.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: player.o:./src/player.h:56: multiple definition of `player'; actor.o:./src/player.h:56: first defined here
/usr/bin/ld: shooter.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: shooter.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: shooter.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: shooter.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: shooter.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: shooter.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: bullet.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: bullet.o:./src/particle.h:45: multiple definition of `particle'; actor.o:./src/particle.h:45: first defined here
/usr/bin/ld: bullet.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: bullet.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: bullet.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: bullet.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: bullet.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: bullet.o:./src/bullet.h:45: multiple definition of `bullet'; actor.o:./src/bullet.h:45: first defined here
/usr/bin/ld: script.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: script.o:./src/script.c:38: multiple definition of `data'; edit.o:./src/edit.c:37: first defined here
/usr/bin/ld: script.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: script.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: script.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: script.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: script.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: timer.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: timer.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: timer.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: timer.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: timer.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: timer.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: main.o:./src/player.h:56: multiple definition of `player'; actor.o:./src/player.h:56: first defined here
/usr/bin/ld: main.o:./src/particle.h:45: multiple definition of `particle'; actor.o:./src/particle.h:45: first defined here
/usr/bin/ld: main.o:./src/main.c:62: multiple definition of `data'; edit.o:./src/edit.c:37: first defined here
/usr/bin/ld: main.o:./src/timer.h:31: multiple definition of `cycle_count'; actor.o:./src/timer.h:31: first defined here
/usr/bin/ld: main.o:./src/bullet.h:45: multiple definition of `bullet'; actor.o:./src/bullet.h:45: first defined here
/usr/bin/ld: main.o:./src/timer.h:29: multiple definition of `logic_count'; actor.o:./src/timer.h:29: first defined here
/usr/bin/ld: main.o:./src/timer.h:32: multiple definition of `game_count'; actor.o:./src/timer.h:32: first defined here
/usr/bin/ld: main.o:./src/timer.h:27: multiple definition of `frame_count'; actor.o:./src/timer.h:27: first defined here
/usr/bin/ld: main.o:./src/script.h:45: multiple definition of `active_sounds'; script.o:./src/script.h:45: first defined here
/usr/bin/ld: main.o:./src/timer.h:30: multiple definition of `lps'; actor.o:./src/timer.h:30: first defined here
/usr/bin/ld: main.o:./src/timer.h:28: multiple definition of `fps'; actor.o:./src/timer.h:28: first defined here
/usr/bin/ld: particle.o:./src/particle.c:27: multiple definition of `data'; edit.o:./src/edit.c:37: first defined here
/usr/bin/ld: particle.o:./src/particle.h:45: multiple definition of `particle'; actor.o:./src/particle.h:45: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:12: alex4] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_build: error: cd src && make -j4 DATADIR=/usr/share/games/alex4 returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_build] 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