Bug#778098: quarry: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:36:28 UTC 2015


Package: src:quarry
Version: 0.2.0.dfsg.1-4
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/quarry_0.2.0.dfsg.1-4_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

[...]
               ^
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wunused-parameter -Wwrite-strings -I ../../src   -g -O2 -c `test -f 'string-list.c' || echo './'`string-list.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wunused-parameter -Wwrite-strings -I ../../src   -g -O2 -c `test -f 'utils.c' || echo './'`utils.c
utils.c: In function 'utils_malloc':
utils.c:94:20: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]
   fprintf (stderr, ("%s: fatal error: out of memory "
                    ^
utils.c: In function 'utils_realloc':
utils.c:140:20: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]
   fprintf (stderr, ("%s: fatal error: out of memory "
                    ^
In file included from utils.c:25:0:
utils.c: At top level:
utils.h:451:15: warning: inline function 'association_list_find_association' declared but never defined
 inline char * association_list_find_association (AssociationList *list,
               ^
rm -f libutils.a
ar cru libutils.a buffered-writer.o getopt.o getopt1.o memory-pool.o object-cache.o string-buffer.o string-list.o utils.o 
ranlib libutils.a
make[5]: Leaving directory '/«PKGBUILDDIR»/src/utils'
Making all in board
make[5]: Entering directory '/«PKGBUILDDIR»/src/board'
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wunused-parameter -Wwrite-strings -I ../../src -I ../../src/utils   -g -O2 -c `test -f 'parse-game-list.c' || echo './'`parse-game-list.c
In file included from ../../src/utils/parse-list.h:27:0,
                 from parse-game-list.c:23:
../../src/utils/utils.h:451:15: warning: inline function 'association_list_find_association' declared but never defined
 inline char * association_list_find_association (AssociationList *list,
               ^
gcc  -g -O2   -o parse-game-list  parse-game-list.o ../../src/utils/libparselist.a ../../src/utils/libutils.a -lm 
../../src/utils/libparselist.a(parse-list.o): In function `read_line':
/«PKGBUILDDIR»/src/utils/parse-list.c:891: undefined reference to `association_list_find_association'
collect2: error: ld returned 1 exit status
make[5]: *** [parse-game-list] Error 1
Makefile:301: recipe for target 'parse-game-list' failed
make[5]: Leaving directory '/«PKGBUILDDIR»/src/board'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
Makefile:311: recipe for target 'all-recursive' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/src'
Makefile:231: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/«PKGBUILDDIR»'
Makefile:186: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:17: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-games-devel mailing list