Bug#667324: plee-the-bear: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:39 UTC 2012


Package: plee-the-bear
Version: 0.6.0-1
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.

socket_stream.tpp:58:3: error: 'init' 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/plee-the-bear_0.6.0-1_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.

[...]
/usr/include/claw/impl/socket_stream.tpp:58:3: note: declarations in dependent base 'std::basic_ios<char>' are not found by unqualified lookup
/usr/include/claw/impl/socket_stream.tpp:58:3: note: use 'this->init' instead
In file included from /usr/include/claw/basic_socketbuf.hpp:109:0,
                 from /usr/include/claw/socket_stream.hpp:33,
                 from /«PKGBUILDDIR»/bear-engine/core/src/engine/code/game_stats.cpp:34:
/usr/include/claw/impl/basic_socketbuf.tpp: In instantiation of 'int claw::net::basic_socketbuf<CharT, Traits>::sync() [with CharT = char; Traits = std::char_traits<char>]':
/«PKGBUILDDIR»/bear-engine/core/src/engine/code/game_stats.cpp:149:1:   required from here
/usr/include/claw/impl/basic_socketbuf.tpp:181:5: error: 'setp' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/claw/impl/basic_socketbuf.tpp:181:5: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
/usr/include/claw/impl/basic_socketbuf.tpp:181:5: note: use 'this->setp' instead
/usr/include/claw/impl/basic_socketbuf.tpp: In instantiation of 'claw::net::basic_socketbuf<CharT, Traits>::int_type claw::net::basic_socketbuf<CharT, Traits>::underflow() [with CharT = char; Traits = std::char_traits<char>; claw::net::basic_socketbuf<CharT, Traits>::int_type = int]':
/«PKGBUILDDIR»/bear-engine/core/src/engine/code/game_stats.cpp:149:1:   required from here
/usr/include/claw/impl/basic_socketbuf.tpp:217:7: error: 'setg' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/claw/impl/basic_socketbuf.tpp:217:7: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
/usr/include/claw/impl/basic_socketbuf.tpp:217:7: note: use 'this->setg' instead
/usr/include/claw/impl/basic_socketbuf.tpp:221:5: error: 'setg' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/claw/impl/basic_socketbuf.tpp:221:5: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
/usr/include/claw/impl/basic_socketbuf.tpp:221:5: note: use 'this->setg' instead
/usr/include/claw/impl/basic_socketbuf.tpp: In instantiation of 'claw::net::basic_socketbuf<CharT, Traits>::int_type claw::net::basic_socketbuf<CharT, Traits>::overflow(claw::net::basic_socketbuf<CharT, Traits>::int_type) [with CharT = char; Traits = std::char_traits<char>; claw::net::basic_socketbuf<CharT, Traits>::int_type = int]':
/«PKGBUILDDIR»/bear-engine/core/src/engine/code/game_stats.cpp:149:1:   required from here
/usr/include/claw/impl/basic_socketbuf.tpp:246:9: error: 'sputc' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/claw/impl/basic_socketbuf.tpp:246:9: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
/usr/include/claw/impl/basic_socketbuf.tpp:246:9: note: use 'this->sputc' instead
make[3]: *** [bear-engine/core/src/engine/CMakeFiles/bear_engine.dir/code/game_stats.cpp.o] Error 1
make[2]: *** [bear-engine/core/src/engine/CMakeFiles/bear_engine.dir/all] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/build-tree'
make[2]: Leaving directory `/«PKGBUILDDIR»/build-tree'
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-games-devel mailing list