Bug#777860: gargoyle-free: ftbfs with GCC-5

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


Package: src:gargoyle-free
Version: 2011.1a-2
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/gargoyle-free_2011.1a-2_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

[...]
op_math.c:(.text+0x2d): undefined reference to `set_var'
build/linux.release/nitfol/op_math.o: In function `op_dec':
op_math.c:(.text+0x190): undefined reference to `set_var'
build/linux.release/nitfol/op_math.o: In function `op_inc':
op_math.c:(.text+0x200): undefined reference to `set_var'
collect2: error: ld returned 1 exit status

cc  -o build/linux.release/nitfol/nitfol  build/linux.release/nitfol/automap.o build/linux.release/nitfol/solve.o build/linux.release/nitfol/infix.o build/linux.release/nitfol/copying.o build/linux.release/nitfol/debug.o build/linux.release/nitfol/inform.o build/linux.release/nitfol/quetzal.o build/linux.release/nitfol/undo.o build/linux.release/nitfol/op_call.o build/linux.release/nitfol/decode.o build/linux.release/nitfol/errmesg.o build/linux.release/nitfol/globals.o build/linux.release/nitfol/iff.o build/linux.release/nitfol/init.o build/linux.release/nitfol/io.o build/linux.release/nitfol/z_io.o build/linux.release/nitfol/op_jmp.o build/linux.release/nitfol/op_math.o build/linux.release/nitfol/op_save.o build/linux.release/nitfol/op_table.o build/linux.release/nitfol/op_v6.o build/linux.release/nitfol/oplist.o build/linux.release/nitfol/stack.o build/linux.release/nitfol/zscii.o build/linux.release/nitfol/tokenise.o build/linux.release/nitfol/struct.o build/linux.release/nitfol/objects.o build/linux.release/nitfol/portfunc.o build/linux.release/nitfol/hash.o build/linux.release/nitfol/sound.o build/linux.release/nitfol/graphics.o build/linux.release/nitfol/blorb.o build/linux.release/nitfol/main.o build/linux.release/nitfol/startunix.o build/linux.release/garglk/libgarglkmain.a build/linux.release/garglk/libgarglk.a build/linux.release/babel/babel_static.a -lz -lm `pkg-config freetype2 gtk+-x11-2.0 gdk-x11-2.0 gobject-2.0 glib-2.0 fontconfig --libs` `pkg-config freetype2 gtk+-x11-2.0 gdk-x11-2.0 gobject-2.0 glib-2.0 fontconfig --libs` -ljpeg -lpng -lz -lrt -lSDL_mixer -lSDL_sound -lSDL

...failed Link build/linux.release/nitfol/nitfol ...
Cc build/linux.release/scare/sctaffil.o 
Cc build/linux.release/scare/scprops.o 
Cc build/linux.release/scare/scvars.o 
Cc build/linux.release/scare/scexpr.o 
Cc build/linux.release/scare/scprintf.o 
Cc build/linux.release/scare/scinterf.o 
Cc build/linux.release/scare/scparser.o 
Cc build/linux.release/scare/sclibrar.o 
Cc build/linux.release/scare/scrunner.o 
Cc build/linux.release/scare/scevents.o 
Cc build/linux.release/scare/scnpcs.o 
Cc build/linux.release/scare/scobjcts.o 
Cc build/linux.release/scare/sctasks.o 
Cc build/linux.release/scare/screstrs.o 
Cc build/linux.release/scare/scgamest.o 
Cc build/linux.release/scare/scserial.o 
Cc build/linux.release/scare/scresour.o 
Cc build/linux.release/scare/scutils.o 
Cc build/linux.release/scare/scdebug.o 
Cc build/linux.release/scare/sclocale.o 
Cc build/linux.release/scare/scmemos.o 
Cc build/linux.release/scare/os_glk.o 
MkDir1 build/linux.release/scott 
Cc build/linux.release/scott/scott.o 
Link build/linux.release/scott/scott 
Link build/linux.release/scare/scare 
build/linux.release/garglk/libgarglk.a(cgfref.o): In function `glk_fileref_create_temp':
cgfref.c:(.text+0x1ef): warning: the use of `tempnam' is dangerous, better use `mkstemp'
Chmod1 build/linux.release/scott/scott 
build/linux.release/garglk/libgarglk.a(cgfref.o): In function `glk_fileref_create_temp':
cgfref.c:(.text+0x1ef): warning: the use of `tempnam' is dangerous, better use `mkstemp'
Chmod1 build/linux.release/scare/scare 
...failed updating 1 target(s)...
...updated 452 target(s)...
make[1]: *** [override_dh_auto_build] Error 1
debian/rules:31: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:28: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-games-devel mailing list