Bug#957283: gngb: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:01:29 BST 2020
Package: src:gngb
Version: 20060309-4
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/gngb_20060309-4_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: video_std.o:./src/message.h:24: multiple definition of `hl'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: video_std.o:./src/message.h:24: multiple definition of `wl'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: video_gl.o:./src/emu.h:67: multiple definition of `conf'; cpu.o:./src/emu.h:67: first defined here
/usr/bin/ld: video_gl.o:./src/vram.h:95: multiple definition of `rb_on'; emu.o:./src/vram.h:95: first defined here
/usr/bin/ld: video_gl.o:./src/video_std.h:30: multiple definition of `rb_shift'; emu.o:./src/video_std.h:30: first defined here
/usr/bin/ld: video_gl.o:./src/sgb.h:47: multiple definition of `sgb_mask'; emu.o:./src/sgb.h:47: first defined here
/usr/bin/ld: video_gl.o:./src/vram.h:65: multiple definition of `scyoff'; emu.o:./src/vram.h:65: first defined here
/usr/bin/ld: video_gl.o:./src/vram.h:65: multiple definition of `scxoff'; emu.o:./src/vram.h:65: first defined here
/usr/bin/ld: video_gl.o:./src/video_std.h:32: multiple definition of `scrR'; emu.o:./src/video_std.h:32: first defined here
/usr/bin/ld: video_gl.o:./src/video_std.h:31: multiple definition of `dstR'; emu.o:./src/video_std.h:31: first defined here
/usr/bin/ld: video_gl.o:./src/sgb.h:45: multiple definition of `sgb_pal_map'; emu.o:./src/sgb.h:45: first defined here
/usr/bin/ld: video_gl.o:./src/sgb.h:44: multiple definition of `sgb_pal'; emu.o:./src/sgb.h:44: first defined here
/usr/bin/ld: video_gl.o:./src/sgb.h:42: multiple definition of `sgb'; emu.o:./src/sgb.h:42: first defined here
/usr/bin/ld: video_gl.o:./src/interrupt.h:101: multiple definition of `gbtimer'; cpu.o:./src/interrupt.h:101: first defined here
/usr/bin/ld: video_gl.o:./src/interrupt.h:73: multiple definition of `vram_pal_line_temp'; cpu.o:./src/interrupt.h:73: first defined here
/usr/bin/ld: video_gl.o:./src/interrupt.h:71: multiple definition of `gblcdc'; cpu.o:./src/interrupt.h:71: first defined here
/usr/bin/ld: video_gl.o:./src/emu.h:71: multiple definition of `key'; cpu.o:./src/emu.h:71: first defined here
/usr/bin/ld: video_gl.o:./src/emu.h:69: multiple definition of `sdl_joy'; cpu.o:./src/emu.h:69: first defined here
/usr/bin/ld: video_gl.o:./src/message.h:24: multiple definition of `ym'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: video_gl.o:./src/message.h:24: multiple definition of `xm'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: video_gl.o:./src/message.h:24: multiple definition of `hl'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: video_gl.o:./src/message.h:24: multiple definition of `wl'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: video_gl.o:./src/vram.h:92: multiple definition of `gb_spr'; emu.o:./src/vram.h:92: first defined here
/usr/bin/ld: menu.o:./src/emu.h:67: multiple definition of `conf'; cpu.o:./src/emu.h:67: first defined here
/usr/bin/ld: menu.o:./src/message.h:24: multiple definition of `hl'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: menu.o:./src/message.h:24: multiple definition of `wl'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: menu.o:./src/menu.h:52: multiple definition of `current_menu'; emu.o:./src/menu.h:52: first defined here
/usr/bin/ld: menu.o:./src/sound.h:180: multiple definition of `snd_g'; emu.o:./src/sound.h:180: first defined here
/usr/bin/ld: menu.o:./src/sound.h:152: multiple definition of `snd_m4'; emu.o:./src/sound.h:152: first defined here
/usr/bin/ld: menu.o:./src/sound.h:123: multiple definition of `snd_m3'; emu.o:./src/sound.h:123: first defined here
/usr/bin/ld: menu.o:./src/sound.h:95: multiple definition of `snd_m2'; emu.o:./src/sound.h:95: first defined here
/usr/bin/ld: menu.o:./src/sound.h:64: multiple definition of `snd_m1'; emu.o:./src/sound.h:64: first defined here
/usr/bin/ld: menu.o:./src/sound.h:27: multiple definition of `sample_per_update'; emu.o:./src/sound.h:27: first defined here
/usr/bin/ld: menu.o:./src/sound.h:26: multiple definition of `bit_per_sample'; emu.o:./src/sound.h:26: first defined here
/usr/bin/ld: menu.o:./src/sound.h:25: multiple definition of `sample_rate'; emu.o:./src/sound.h:25: first defined here
/usr/bin/ld: menu.o:./src/rom.h:55: multiple definition of `rom_timer'; cpu.o:./src/rom.h:55: first defined here
/usr/bin/ld: menu.o:./src/rom.h:40: multiple definition of `rom_name'; cpu.o:./src/rom.h:40: first defined here
/usr/bin/ld: menu.o:./src/video_std.h:32: multiple definition of `scrR'; emu.o:./src/video_std.h:32: first defined here
/usr/bin/ld: menu.o:./src/video_std.h:31: multiple definition of `dstR'; emu.o:./src/video_std.h:31: first defined here
/usr/bin/ld: menu.o:./src/video_std.h:30: multiple definition of `rb_shift'; emu.o:./src/video_std.h:30: first defined here
/usr/bin/ld: menu.o:./src/vram.h:95: multiple definition of `rb_on'; emu.o:./src/vram.h:95: first defined here
/usr/bin/ld: menu.o:./src/vram.h:92: multiple definition of `gb_spr'; emu.o:./src/vram.h:92: first defined here
/usr/bin/ld: menu.o:./src/vram.h:65: multiple definition of `scyoff'; emu.o:./src/vram.h:65: first defined here
/usr/bin/ld: menu.o:./src/vram.h:65: multiple definition of `scxoff'; emu.o:./src/vram.h:65: first defined here
/usr/bin/ld: menu.o:./src/message.h:24: multiple definition of `ym'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: menu.o:./src/message.h:24: multiple definition of `xm'; emu.o:./src/message.h:24: first defined here
/usr/bin/ld: menu.o:./src/emu.h:71: multiple definition of `key'; cpu.o:./src/emu.h:71: first defined here
/usr/bin/ld: menu.o:./src/emu.h:69: multiple definition of `sdl_joy'; cpu.o:./src/emu.h:69: first defined here
/usr/bin/ld: save.o:./src/interrupt.h:71: multiple definition of `gblcdc'; cpu.o:./src/interrupt.h:71: first defined here
/usr/bin/ld: save.o:./src/interrupt.h:101: multiple definition of `gbtimer'; cpu.o:./src/interrupt.h:101: first defined here
/usr/bin/ld: save.o:./src/rom.h:55: multiple definition of `rom_timer'; cpu.o:./src/rom.h:55: first defined here
/usr/bin/ld: save.o:./src/rom.h:40: multiple definition of `rom_name'; cpu.o:./src/rom.h:40: first defined here
/usr/bin/ld: save.o:./src/emu.h:67: multiple definition of `conf'; cpu.o:./src/emu.h:67: first defined here
/usr/bin/ld: save.o:./src/interrupt.h:73: multiple definition of `vram_pal_line_temp'; cpu.o:./src/interrupt.h:73: first defined here
/usr/bin/ld: save.o:./src/vram.h:95: multiple definition of `rb_on'; emu.o:./src/vram.h:95: first defined here
/usr/bin/ld: save.o:./src/vram.h:92: multiple definition of `gb_spr'; emu.o:./src/vram.h:92: first defined here
/usr/bin/ld: save.o:./src/vram.h:65: multiple definition of `scyoff'; emu.o:./src/vram.h:65: first defined here
/usr/bin/ld: save.o:./src/vram.h:65: multiple definition of `scxoff'; emu.o:./src/vram.h:65: first defined here
/usr/bin/ld: save.o:./src/emu.h:71: multiple definition of `key'; cpu.o:./src/emu.h:71: first defined here
/usr/bin/ld: save.o:./src/emu.h:69: multiple definition of `sdl_joy'; cpu.o:./src/emu.h:69: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:347: gngb] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:429: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:327: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list