Bug#853517: lierolibre: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:33:21 UTC 2017
Package: src:lierolibre
Version: 0.5-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/lierolibre_0.5-2_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html
[...]
std::auto_ptr<WormAI> ai;
^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
from src/menu/menu.hpp:35,
from src/gfx.hpp:41,
from src/main.cpp:35:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from src/main.cpp:35:0:
src/gfx.hpp:266:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Controller> controller;
^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
from src/menu/menu.hpp:35,
from src/gfx.hpp:41,
from src/main.cpp:35:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from src/main.cpp:42:0:
src/filesystem.hpp:88:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
typedef std::auto_ptr<dir_itr_imp> dir_itr_imp_ptr;
^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
from src/menu/menu.hpp:35,
from src/gfx.hpp:41,
from src/main.cpp:35:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o src/gvl/libgvl.la src/gvl/containers/list.lo src/gvl/crypt/curve25519.lo src/gvl/io/stream.lo src/gvl/io/encoding.lo src/gvl/io/convert.lo src/gvl/math/ieee.lo src/gvl/math/tt800.lo src/gvl/resman/shared.lo src/gvl/sockets/fd_set.lo src/gvl/sockets/sockets.lo src/gvl/sockets/socketstream.lo src/gvl/support/src_gvl_libgvl_la-bits.lo src/gvl/support/debug.lo src/gvl/support/hash.lo src/gvl/support/log.lo src/gvl/support/profile.lo src/gvl/system/src_gvl_libgvl_la-system.lo src/gvl/tut/quickcheck/context.lo -lz
libtool: link: ar cru src/gvl/.libs/libgvl.a src/gvl/containers/.libs/list.o src/gvl/crypt/.libs/curve25519.o src/gvl/io/.libs/stream.o src/gvl/io/.libs/encoding.o src/gvl/io/.libs/convert.o src/gvl/math/.libs/ieee.o src/gvl/math/.libs/tt800.o src/gvl/resman/.libs/shared.o src/gvl/sockets/.libs/fd_set.o src/gvl/sockets/.libs/sockets.o src/gvl/sockets/.libs/socketstream.o src/gvl/support/.libs/src_gvl_libgvl_la-bits.o src/gvl/support/.libs/debug.o src/gvl/support/.libs/hash.o src/gvl/support/.libs/log.o src/gvl/support/.libs/profile.o src/gvl/system/.libs/src_gvl_libgvl_la-system.o src/gvl/tut/quickcheck/.libs/context.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib src/gvl/.libs/libgvl.a
libtool: link: ( cd "src/gvl/.libs" && rm -f "libgvl.la" && ln -s "../libgvl.la" "libgvl.la" )
/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o lierolibre src/lierolibre-binReader.o src/lierolibre-bobject.o src/lierolibre-bonus.o src/lierolibre-common.o src/lierolibre-console.o src/lierolibre-constants.o src/lierolibre-filesystem.o src/lierolibre-game.o src/lierolibre-gfx.o src/lierolibre-keys.o src/lierolibre-level.o src/lierolibre-main.o src/lierolibre-math.o src/lierolibre-ninjarope.o src/lierolibre-nobject.o src/lierolibre-rand.o src/lierolibre-reader.o src/lierolibre-replay.o src/lierolibre-sdlmain.o src/lierolibre-settings.o src/lierolibre-sfx.o src/lierolibre-sobject.o src/lierolibre-sys.o src/lierolibre-text.o src/lierolibre-viewport.o src/lierolibre-weapon.o src/lierolibre-weapsel.o src/lierolibre-worm.o src/lierolibre-argParse.o src/lierolibre-configCompat.o src/lierolibre-configHelper.o src/lierolibre-configInit.o src/lierolibre-dataPath.o src/lierolibre-to_string.o src/controller/lierolibre-commonController.o src/controller/lierolibre-localController.o src/controller/lierolibre-replayController.o src/gfx/lierolibre-blit.o src/gfx/lierolibre-font.o src/gfx/lierolibre-palette.o src/gfx/lierolibre-sprite.o src/menu/lierolibre-booleanSwitchBehavior.o src/menu/lierolibre-enumBehavior.o src/menu/lierolibre-hiddenMenu.o src/menu/lierolibre-integerBehavior.o src/menu/lierolibre-itemBehavior.o src/menu/lierolibre-menu.o src/menu/lierolibre-menuItem.o src/menu/lierolibre-timeBehavior.o src/gvl/libgvl.la -lconfig++ -lSDL_mixer -lSDL -L/usr/lib/x86_64-linux-gnu -lSDL -lboost_program_options
libtool: link: g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o lierolibre src/lierolibre-binReader.o src/lierolibre-bobject.o src/lierolibre-bonus.o src/lierolibre-common.o src/lierolibre-console.o src/lierolibre-constants.o src/lierolibre-filesystem.o src/lierolibre-game.o src/lierolibre-gfx.o src/lierolibre-keys.o src/lierolibre-level.o src/lierolibre-main.o src/lierolibre-math.o src/lierolibre-ninjarope.o src/lierolibre-nobject.o src/lierolibre-rand.o src/lierolibre-reader.o src/lierolibre-replay.o src/lierolibre-sdlmain.o src/lierolibre-settings.o src/lierolibre-sfx.o src/lierolibre-sobject.o src/lierolibre-sys.o src/lierolibre-text.o src/lierolibre-viewport.o src/lierolibre-weapon.o src/lierolibre-weapsel.o src/lierolibre-worm.o src/lierolibre-argParse.o src/lierolibre-configCompat.o src/lierolibre-configHelper.o src/lierolibre-configInit.o src/lierolibre-dataPath.o src/lierolibre-to_string.o src/controller/lierolibre-commonController.o src/controller/lierolibre-localController.o src/controller/lierolibre-replayController.o src/gfx/lierolibre-blit.o src/gfx/lierolibre-font.o src/gfx/lierolibre-palette.o src/gfx/lierolibre-sprite.o src/menu/lierolibre-booleanSwitchBehavior.o src/menu/lierolibre-enumBehavior.o src/menu/lierolibre-hiddenMenu.o src/menu/lierolibre-integerBehavior.o src/menu/lierolibre-itemBehavior.o src/menu/lierolibre-menu.o src/menu/lierolibre-menuItem.o src/menu/lierolibre-timeBehavior.o src/gvl/.libs/libgvl.a -lz -lconfig++ -lSDL_mixer -L/usr/lib/x86_64-linux-gnu -lSDL -lboost_program_options
src/lierolibre-gfx.o: In function `Gfx::loadMenusFromCFG(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
./src/gfx.cpp:379: undefined reference to `libconfig::Setting::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
./src/gfx.cpp:393: undefined reference to `libconfig::Setting::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
./src/gfx.cpp:417: undefined reference to `libconfig::Setting::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
collect2: error: ld returned 1 exit status
Makefile:1357: recipe for target 'lierolibre' failed
make[1]: *** [lierolibre] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 returned exit code 2
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Pkg-games-devel
mailing list