Bug#777933: lgeneral: ftbfs with GCC-5

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


Package: src:lgeneral
Version: 1.2.3+dfsg-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/lgeneral_1.2.3+dfsg-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

[...]
config.status: executing po-directories commands
config.status: creating po/lgeneral/POTFILES
config.status: creating po/lgeneral/Makefile
config.status: executing po-lgeneral commands
config.status: executing po-pg commands
make[1]: Leaving directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg'
   dh_auto_build -a -O--parallel
make[1]: Entering directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg'
make  all-recursive
make[2]: Entering directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg'
Making all in intl
make[3]: Entering directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg/intl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg/intl'
Making all in util
make[3]: Entering directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg/util'
gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share/games\" -DPREFIX=\"/usr\" -I. -I. -I..  -I..  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c localize.c
gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share/games\" -DPREFIX=\"/usr\" -I. -I. -I..  -I..  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c hashtable.c
gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share/games\" -DPREFIX=\"/usr\" -I. -I. -I..  -I..  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c hashtable_itr.c
gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share/games\" -DPREFIX=\"/usr\" -I. -I. -I..  -I..  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c hashtable_utility.c
gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share/games\" -DPREFIX=\"/usr\" -I. -I. -I..  -I..  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c paths.c
gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share/games\" -DPREFIX=\"/usr\" -I. -I. -I..  -I..  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c portability.c
hashtable_itr.c:29:1: error: redefinition of 'hashtable_iterator_key'
 hashtable_iterator_key(struct hashtable_itr *i)
 ^
In file included from hashtable_itr.c:5:0:
hashtable_itr.h:32:1: note: previous definition of 'hashtable_iterator_key' was here
 hashtable_iterator_key(struct hashtable_itr *i)
 ^
hashtable_itr.c:33:1: error: redefinition of 'hashtable_iterator_value'
 hashtable_iterator_value(struct hashtable_itr *i)
 ^
In file included from hashtable_itr.c:5:0:
hashtable_itr.h:41:1: note: previous definition of 'hashtable_iterator_value' was here
 hashtable_iterator_value(struct hashtable_itr *i)
 ^
make[3]: *** [hashtable_itr.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:304: recipe for target 'hashtable_itr.o' failed
make[3]: Leaving directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg/util'
make[2]: *** [all-recursive] Error 1
Makefile:358: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg'
make[1]: *** [all] Error 2
Makefile:260: recipe for target 'all' failed
make[1]: Leaving directory '/«BUILDDIR»/lgeneral-1.2.3+dfsg'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:7: 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