Bug#746834: brainparty: ftbfs with GCC-4.9

Matthias Klose doko at debian.org
Sun May 4 00:21:18 UTC 2014


Package: src:brainparty
Version: 0.61+dfsg-1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9

The package fails to build in a test rebuild on at least amd64 with
gcc-4.9/g++-4.9, but succeeds to build with gcc-4.8/g++-4.8. The
severity of this report may be raised before the jessie release.

The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/brainparty_0.61+dfsg-1_unstable_gcc49.log
The last lines of the build log are at the end of this report.

To build with GCC 4.9, either set CC=gcc-4.9 CXX=g++-4.9 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-4.9/porting_to.html

[...]
SCHROOT_CHROOT_NAME=unstable-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=user
SCHROOT_SESSION_ID=unstable-amd64-sbuild-d30d9285-e9a6-4b32-ba3e-ce9dbd80f3c1
SCHROOT_UID=1000
SCHROOT_USER=user
SHELL=/bin/sh
USER=user

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package brainparty
dpkg-buildpackage: source version 0.61+dfsg-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Dmitry Smirnov <onlyjob at member.fsf.org>
 dpkg-source --before-build brainparty-0.61+dfsg
dpkg-buildpackage: host architecture amd64
dpkg-source: info: using options from brainparty-0.61+dfsg/debian/source/options: --compression=xz
 fakeroot debian/rules clean
dh clean --parallel
   dh_testdir -O--parallel
   dh_auto_clean -O--parallel
make[1]: Entering directory `/«BUILDDIR»/brainparty-0.61+dfsg'
rm -f brainparty *.o
make[1]: Leaving directory `/«BUILDDIR»/brainparty-0.61+dfsg'
   dh_clean -O--parallel
 debian/rules build-arch
dh build-arch --parallel
   dh_testdir -a -O--parallel
   dh_auto_configure -a -O--parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory `/«BUILDDIR»/brainparty-0.61+dfsg'
dh_auto_build
make[2]: Entering directory `/«BUILDDIR»/brainparty-0.61+dfsg'
g++ -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -c -Wno-deprecated `sdl-config --cflags` -I/usr/X11R6/include -o BGObject.o BGObject.cpp
g++ -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -c -Wno-deprecated `sdl-config --cflags` -I/usr/X11R6/include -o BPGame.o BPGame.cpp
In file included from BPGame.h:40:0,
                 from BPGame.cpp:19:
BPList.h:174:47: error: redeclaration of 'void BPPList<T>::Clear(bool)' may not have default arguments [-fpermissive]
 void BPPList<T>::Clear(bool safe_delete = true) {
                                               ^
make[2]: *** [BPGame.o] Error 1
make[2]: Leaving directory `/«BUILDDIR»/brainparty-0.61+dfsg'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/«BUILDDIR»/brainparty-0.61+dfsg'
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