Bug#777881: gngb: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:31:58 UTC 2015


Package: src:gngb
Version: 20060309-3
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/gngb_20060309-3_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
unzip.c:169:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
     x = (uLong)i;
       ^
unzip.c:165:9: note: 'i' was declared here
     int i;
         ^
unzip.c:169:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
     x = (uLong)i;
       ^
unzip.c:165:9: note: 'i' was declared here
     int i;
         ^
unzip.c:169:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
     x = (uLong)i;
       ^
unzip.c:165:9: note: 'i' was declared here
     int i;
         ^
unzip.c:169:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
     x = (uLong)i;
       ^
unzip.c:165:9: note: 'i' was declared here
     int i;
         ^
gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL  -O3 -Wall  -Wl,-z,relro -o gngb  cpu.o emu.o frame_skip.o interrupt.o main.o memory.o message.o rom.o serial.o sgb.o sound.o vram.o video_yuy2.o video_yuv.o video_yv12.o video_std.o video_gl.o menu.o fileio.o save.o unzip.o  -lz -lSDL -lpthread  -L/usr/lib/x86_64-linux-gnu -lSDL -lGL 
interrupt.o: In function `gblcdc_update':
/«PKGBUILDDIR»/src/interrupt.c:237: undefined reference to `get_nb_spr'
/«PKGBUILDDIR»/src/interrupt.c:237: undefined reference to `get_nb_spr'
interrupt.o: In function `gblcdc_update2':
/«PKGBUILDDIR»/src/interrupt.c:368: undefined reference to `get_nb_spr'
interrupt.o: In function `gblcdc_set_on3':
/«PKGBUILDDIR»/src/interrupt.c:404: undefined reference to `get_nb_spr'
interrupt.o: In function `gblcdc_update3':
/«PKGBUILDDIR»/src/interrupt.c:433: undefined reference to `get_nb_spr'
interrupt.o:/«PKGBUILDDIR»/src/interrupt.c:452: more undefined references to `get_nb_spr' follow
main.o: In function `main':
/«PKGBUILDDIR»/src/main.c:75: undefined reference to `cpu_run'
collect2: error: ld returned 1 exit status
make[3]: *** [gngb] Error 1
Makefile:162: recipe for target 'gngb' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
Makefile:187: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all-recursive-am] Error 2
Makefile:332: recipe for target 'all-recursive-am' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [debian/stamp-makefile-build] Error 2
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-games-devel mailing list