Bug#667122: bsnes: ftbfs with GCC-4.7

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


Package: bsnes
Version: 0.085-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.

./nall/string/core.hpp:10:3: error: 'make_string' 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/bsnes_0.085-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.

[...]
./nall/string/math-floating-point.hpp:50:81:   required from here
./nall/string/core.hpp:10:3: error: 'make_string' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ./nall/string.hpp:29:0,
                 from ./nall/dl.hpp:8,
                 from ./nes/nes.hpp:24,
                 from ui/base.hpp:1,
                 from ui/main.cpp:1:
./nall/string/cast.hpp:179:35: note: 'template<class T> nall::stringify<T> nall::make_string(T)' declared here, later in the translation unit
In file included from ./nall/string.hpp:28:0,
                 from ./nall/dl.hpp:8,
                 from ./nes/nes.hpp:24,
                 from ui/base.hpp:1,
                 from ui/main.cpp:1:
./nall/string/core.hpp: In instantiation of 'void nall::istring(nall::string&, const T&, Args&& ...) [with T = char [4]; Args = {nall::string}]':
./nall/string/core.hpp:11:3:   required from 'void nall::istring(nall::string&, const T&, Args&& ...) [with T = nall::string; Args = {const char (&)[4], nall::string}]'
./nall/string/core.hpp:33:3:   required from 'nall::string& nall::string::append(Args&& ...) [with Args = {const nall::string&, const char (&)[4], nall::string}]'
./nall/config.hpp:108:59:   required from here
./nall/string/core.hpp:10:3: error: 'make_string' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ./nall/string.hpp:29:0,
                 from ./nall/dl.hpp:8,
                 from ./nes/nes.hpp:24,
                 from ui/base.hpp:1,
                 from ui/main.cpp:1:
./nall/string/cast.hpp:179:35: note: 'template<class T> nall::stringify<T> nall::make_string(T)' declared here, later in the translation unit
make[2]: *** [obj/ui-main.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/bsnes'
dh_auto_build: make -j1 compiler=gcc phoenix=gtk profile=compatibility name=bsnes-compatibility returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
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