Bug#667123: btanks: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:08:06 UTC 2012


Package: btanks
Version: 0.9.8083-3
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

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

engine/sl08/sl08.h:449:105: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/btanks_0.9.8083-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
editor/editor.cpp:379:93:   required from here
engine/sl08/sl08.h:974:105: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:974:105: note: declarations in dependent base 'sl08::base_slot5<bool, const int, const int, const int, const int, const int>' are not found by unqualified lookup
engine/sl08/sl08.h:974:105: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot1<void, arg1_type, object_type>::assign(object_type*, sl08::slot1<void, arg1_type, object_type>::func_t, sl08::slot1<void, arg1_type, object_type>::signal_type&) [with arg1_type = const SDL_Event&; object_type = Editor; sl08::slot1<void, arg1_type, object_type>::func_t = void (Editor::*)(const SDL_Event&); sl08::slot1<void, arg1_type, object_type>::signal_type = sl08::base_signal1<void, const SDL_Event&>]':
editor/editor.cpp:380:67:   required from here
engine/sl08/sl08.h:295:98: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:295:98: note: declarations in dependent base 'sl08::base_slot1<void, const SDL_Event&>' are not found by unqualified lookup
engine/sl08/sl08.h:295:98: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot1<void, arg1_type, object_type>::assign(object_type*, sl08::slot1<void, arg1_type, object_type>::func_t, sl08::slot1<void, arg1_type, object_type>::signal_type&) [with arg1_type = const int; object_type = Editor; sl08::slot1<void, arg1_type, object_type>::func_t = void (Editor::*)(int); sl08::slot1<void, arg1_type, object_type>::signal_type = sl08::base_signal1<void, const int>]':
editor/editor.cpp:382:71:   required from here
engine/sl08/sl08.h:295:98: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:295:98: note: declarations in dependent base 'sl08::base_slot1<void, const int>' are not found by unqualified lookup
engine/sl08/sl08.h:295:98: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot2<void, arg1_type, arg2_type, object_type>::assign(object_type*, sl08::slot2<void, arg1_type, arg2_type, object_type>::func_t, sl08::slot2<void, arg1_type, arg2_type, object_type>::signal_type&) [with arg1_type = const int; arg2_type = const char*; object_type = Editor; sl08::slot2<void, arg1_type, arg2_type, object_type>::func_t = void (Editor::*)(int, const char*); sl08::slot2<void, arg1_type, arg2_type, object_type>::signal_type = sl08::base_signal2<void, const int, const char*>]':
editor/editor.cpp:383:74:   required from here
engine/sl08/sl08.h:470:98: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:470:98: note: declarations in dependent base 'sl08::base_slot2<void, const int, const char*>' are not found by unqualified lookup
engine/sl08/sl08.h:470:98: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot1<return_type, arg1_type, object_type>::assign(object_type*, sl08::slot1<return_type, arg1_type, object_type>::func_t, sl08::slot1<return_type, arg1_type, object_type>::signal_type&) [with return_type = bool; arg1_type = float; object_type = Editor; sl08::slot1<return_type, arg1_type, object_type>::func_t = bool (Editor::*)(float); sl08::slot1<return_type, arg1_type, object_type>::signal_type = sl08::base_signal1<bool, float>]':
editor/editor.cpp:388:64:   required from here
engine/sl08/sl08.h:274:105: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:274:105: note: declarations in dependent base 'sl08::base_slot1<bool, float>' are not found by unqualified lookup
engine/sl08/sl08.h:274:105: note: use 'this->connect' instead
scons: *** [build/release/editor/editor.o] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
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