Bug#853614: pingus: ftbfs with GCC-7

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


Package: src:pingus
Version: 0.7.6-3
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/pingus_0.7.6-3_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

[...]
         highlight
src/pingus/screens/demo_session.cpp: In member function 'virtual void BButton::on_click()':
src/pingus/screens/demo_session.cpp:68:5: error: 'callback' was not declared in this scope
     callback();
     ^~~~~~~~
src/pingus/screens/demo_session.cpp:68:5: note: suggested alternative: 'calloc'
     callback();
     ^~~~~~~~
     calloc
src/pingus/screens/demo_session.cpp: In constructor 'DemoSession::DemoSession(const Pathname&)':
src/pingus/screens/demo_session.cpp:125:57: error: 'bind' is not a member of 'std'
                                                    std::bind(&DemoSession::on_fast_forward_press, this),
                                                         ^~~~
src/pingus/screens/demo_session.cpp:125:57: note: suggested alternative: 'find'
                                                    std::bind(&DemoSession::on_fast_forward_press, this),
                                                         ^~~~
                                                         find
src/pingus/screens/demo_session.cpp:126:57: error: 'bind' is not a member of 'std'
                                                    std::bind(&DemoSession::is_fast_forward, this)));
                                                         ^~~~
src/pingus/screens/demo_session.cpp:126:57: note: suggested alternative: 'find'
                                                    std::bind(&DemoSession::is_fast_forward, this)));
                                                         ^~~~
                                                         find
src/pingus/screens/demo_session.cpp:128:51: error: 'bind' is not a member of 'std'
                                              std::bind(&DemoSession::on_pause_press, this),
                                                   ^~~~
src/pingus/screens/demo_session.cpp:128:51: note: suggested alternative: 'find'
                                              std::bind(&DemoSession::on_pause_press, this),
                                                   ^~~~
                                                   find
src/pingus/screens/demo_session.cpp:129:51: error: 'bind' is not a member of 'std'
                                              std::bind(&DemoSession::is_pause, this)));
                                                   ^~~~
src/pingus/screens/demo_session.cpp:129:51: note: suggested alternative: 'find'
                                              std::bind(&DemoSession::is_pause, this)));
                                                   ^~~~
                                                   find
src/pingus/screens/demo_session.cpp:131:54: error: 'bind' is not a member of 'std'
                                                 std::bind(&DemoSession::restart, this)));
                                                      ^~~~
src/pingus/screens/demo_session.cpp:131:54: note: suggested alternative: 'find'
                                                 std::bind(&DemoSession::restart, this)));
                                                      ^~~~
                                                      find
scons: *** [build/src/pingus/screens/demo_session.o] Error 1
scons: building terminated because of errors.
debian/rules:23: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-games-devel mailing list