Bug#812293: armagetronad: FTBFS with GCC 6: undefined reference

Martin Michlmayr tbm at hpe.com
Fri Jan 22 04:13:00 UTC 2016


Package: armagetronad
Version: 0.2.8.3.3-2
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
>                             ^~~~~~~~
> 
> mv -f .deps/armagetronad_main-gFloor.Tpo .deps/armagetronad_main-gFloor.Po
> x86_64-linux-gnu-g++   -I../../src/tools  -I../../src/render -I../../src/ui     -I../../src/network -I../../src/engine  -I../../src/thirdparty/particles -I../../src/tron  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wno-long-long   -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o armagetronad_main armagetronad_main-gFloor.o libtron.a libenginecore.a libengine.a libnetwork.a libui.a librender.a libtools.a -lpthread -lSDL_image -ljpeg -lz -lGLU -lGL -L/usr/lib/x86_64-linux-gnu -lSDL -lm -lxml2   -lpng12
> libtron.a(libtron_a-gCycle.o): In function `tOutput::tOutput<tColoredString, tColoredString>(char const*, tColoredString const&, tColoredString const&)':
> /<<PKGBUILDDIR>>/client/src/../../src/tools/tLocale.h:128: undefined reference to `tOutput::operator<<(tOutput const&)'
> /<<PKGBUILDDIR>>/client/src/../../src/tools/tLocale.h:128: undefined reference to `tOutput::operator<<(tOutput const&)'
> libtron.a(libtron_a-gCycle.o): In function `tOutput::tOutput<tColoredString>(char const*, tColoredString const&)':
> /<<PKGBUILDDIR>>/client/src/../../src/tools/tLocale.h:116: undefined reference to `tOutput::operator<<(tOutput const&)'
> libtron.a(libtron_a-gGame.o): In function `tOutput::tOutput<tString, int>(char const*, tString const&, int const&)':
> /<<PKGBUILDDIR>>/client/src/../../src/tools/tLocale.h:128: undefined reference to `tOutput::operator<<(tOutput const&)'
> libtron.a(libtron_a-gGame.o): In function `tOutput::tOutput<tString>(char const*, tString const&)':
> /<<PKGBUILDDIR>>/client/src/../../src/tools/tLocale.h:116: undefined reference to `tOutput::operator<<(tOutput const&)'
> libtron.a(libtron_a-gGame.o):/<<PKGBUILDDIR>>/client/src/../../src/tools/tLocale.h:116: more undefined references to `tOutput::operator<<(tOutput const&)' follow
> collect2: error: ld returned 1 exit status
> Makefile:813: recipe for target 'armagetronad_main' failed
> make[5]: *** [armagetronad_main] Error 1
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/client/src'
> Makefile:2392: recipe for target 'all-recursive' failed
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/client/src'
> Makefile:646: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/client'
> Makefile:463: recipe for target 'all' failed
> make[2]: *** [all] Error 2

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-games-devel mailing list