Bug#667094: adanaxisgpl: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:07:36 UTC 2012


Package: adanaxisgpl
Version: 1.2.5.dfsg.1-4
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.

./Mushcore/MushcoreSingleton.h:86:5: error: 'SingletonPtrSet' 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/adanaxisgpl_1.2.5.dfsg.1-4_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.

[...]
./Mushcore/MushcoreSingleton.h:86:5: note: use 'MushcoreSingleton::SingletonPtrSet' instead
Game/GameRecords.cpp: In member function 'virtual char* GameRecords::TypeNameGet() const':
Game/GameRecords.cpp:400:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Game/GameGraphicModel.cpp: In member function 'virtual char* GameGraphicModel::TypeNameGet() const':
Game/GameGraphicModel.cpp:430:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
make[3]: *** [GameQuit.o] Error 1
In file included from ./Mushcore/MushcoreData.h:178:0,
                 from ./Mushcore/Mushcore.h:120,
                 from ./API/mushMushcore.h:58,
                 from Game/GameAppHandler.h:117,
                 from Game/GameAppHandler.cpp:215:
./Mushcore/MushcoreSingleton.h: In instantiation of 'static void MushcoreSingleton<SingletonType>::SingletonUncheckedNew() [with SingletonType = MushcoreEnv]':
./Mushcore/MushcoreSingleton.h:76:9:   required from 'static SingletonType& MushcoreSingleton<SingletonType>::Sgl() [with SingletonType = MushcoreEnv]'
Game/GameAppHandler.cpp:241:18:   required from here
./Mushcore/MushcoreSingleton.h:86:5: error: 'SingletonPtrSet' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./Mushcore/MushcoreSingleton.h:86:5: note: declarations in dependent base 'MushcoreAbstractSingleton<MushcoreEnv>' are not found by unqualified lookup
./Mushcore/MushcoreSingleton.h:86:5: note: use 'MushcoreSingleton::SingletonPtrSet' instead
./Mushcore/MushcoreSingleton.h: In instantiation of 'static void MushcoreSingleton<SingletonType>::SingletonUncheckedNew() [with SingletonType = MushcoreData<GameBase, std::basic_string<char> >]':
./Mushcore/MushcoreSingleton.h:76:9:   required from 'static SingletonType& MushcoreSingleton<SingletonType>::Sgl() [with SingletonType = MushcoreData<GameBase, std::basic_string<char> >]'
Game/GameAppHandler.cpp:295:37:   required from here
./Mushcore/MushcoreSingleton.h:86:5: error: 'SingletonPtrSet' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./Mushcore/MushcoreSingleton.h:86:5: note: declarations in dependent base 'MushcoreAbstractSingleton<MushcoreData<GameBase, std::basic_string<char> > >' are not found by unqualified lookup
./Mushcore/MushcoreSingleton.h:86:5: note: use 'MushcoreSingleton::SingletonPtrSet' instead
make[3]: *** [GameAppHandler.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j10 returned exit code 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