Bug#765456: ogre-1.8: FTBFS on arm64

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Wed Oct 15 09:26:37 UTC 2014


Source: ogre-1.8
Version: 1.8.0+dfsg1-7

It failed to build on arm64:

http://buildd.debian.org/status/package.php?p=ogre-1.8&suite=sid

The error was:

/«BUILDDIR»/ogre-1.8-1.8.0+dfsg1/OgreMain/include/OgreStringConverter.h:
At global scope:
/«BUILDDIR»/ogre-1.8-1.8.0+dfsg1/OgreMain/include/OgreStringConverter.h:116:23:
error: 'static Ogre::String Ogre::StringConverter::toString(long
unsigned int, short unsigned int, char, std::ios_base::fmtflags)'
cannot be overloaded
         static String toString(unsigned long val,
                       ^
/«BUILDDIR»/ogre-1.8-1.8.0+dfsg1/OgreMain/include/OgreStringConverter.h:112:23:
error: with 'static Ogre::String
Ogre::StringConverter::toString(size_t, short unsigned int, char,
std::ios_base::fmtflags)'
         static String toString(size_t val,
                       ^

This can be fixed by adding " || defined(__aarch64__)" to the end of
line 136 in OgreMain/include/OgrePlatform.h.

(There may also be a better way of recognising 64-bit platforms than
listing all the ones we can think of!)



More information about the Pkg-games-devel mailing list