Bug#853394: extremetuxracer: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:31:11 UTC 2017


Package: src:extremetuxracer
Version: 0.7.4-1
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/extremetuxracer_0.7.4-1_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

[...]
                 from bh.h:32,
                 from credits.h:20,
                 from credits.cpp:21:
/usr/include/SFML/Graphics/Text.hpp:177:26: note: declared here
     SFML_DEPRECATED void setColor(const Color& color);
                          ^~~~~~~~
credits.cpp:85:26: warning: 'void sf::Text::setColor(const sf::Color&)' is deprecated [-Wdeprecated-declarations]
    text.setColor(colDYell);
                          ^
In file included from /usr/include/SFML/Graphics.hpp:51:0,
                 from bh.h:32,
                 from credits.h:20,
                 from credits.cpp:21:
/usr/include/SFML/Graphics/Text.hpp:177:26: note: declared here
     SFML_DEPRECATED void setColor(const Color& color);
                          ^~~~~~~~
splash_screen.cpp: In member function 'virtual void CSplashScreen::Loop(float)':
splash_screen.cpp:103:29: warning: 'void sf::Text::setColor(const sf::Color&)' is deprecated [-Wdeprecated-declarations]
    Failure->setColor(colDRed);
                             ^
In file included from /usr/include/SFML/Graphics.hpp:51:0,
                 from bh.h:32,
                 from splash_screen.h:21,
                 from splash_screen.cpp:22:
/usr/include/SFML/Graphics/Text.hpp:177:26: note: declared here
     SFML_DEPRECATED void setColor(const Color& color);
                          ^~~~~~~~
g++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11  -Wl,-z,relro -Wl,-z,now -o etr audio.o common.o config_screen.o course.o course_render.o credits.o env.o event.o event_select.o font.o game_config.o game_ctrl.o game_over.o game_type_select.o gui.o help.o hud.o intro.o keyframe.o loading.o main.o mathlib.o matrices.o newplayer.o ogl.o ogl_test.o particles.o paused.o physics.o quadtree.o race_select.o racing.o regist.o reset.o score.o splash_screen.o spx.o states.o textures.o tool_char.o tool_frame.o tools.o track_marks.o translation.o tux.o vectors.o view.o winsys.o  -lGLU -lGL  -lsfml-system -lsfml-audio -lsfml-system -lsfml-window -lsfml-system -lsfml-graphics -lsfml-window -lsfml-system -lGL -lGLU
event.o: In function `CEvent::Enter()':
./src/event.cpp:160: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
./src/event.cpp:166: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
./src/event.cpp:170: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
game_over.o: In function `GameOverMessage(CControl const*)':
./src/game_over.cpp:91: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
./src/game_over.cpp:97: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
game_over.o:./src/game_over.cpp:107: more undefined references to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const' follow
collect2: error: ld returned 1 exit status
Makefile:474: recipe for target 'etr' failed
make[3]: *** [etr] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Makefile:383: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:324: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 returned exit code 2
debian/rules:6: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2



More information about the Pkg-games-devel mailing list