Bug#778034: ogre-1.9: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:35:07 UTC 2015


Package: src:ogre-1.9
Version: 1.9.0+dfsg1-4
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/ogre-1.9_1.9.0+dfsg1-4_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneNode.h:33,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneManager.h:37,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreRoot.h:36,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:31:
/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreRenderable.h:349:44: note: declared here
         OGRE_DEPRECATED virtual const Any& getUserAny(void) const { return getUserObjectBindings().getUserAny(); }
                                            ^
/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:201:1: warning: 'virtual void Ogre::Resource::Listener::backgroundLoadingComplete(Ogre::Resource*)' is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreMaterial.h:33:0,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreRenderable.h:36,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreNode.h:38,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneNode.h:33,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneManager.h:37,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreRoot.h:36,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:31:
/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreResource.h:93:33: note: declared here
    OGRE_DEPRECATED virtual void backgroundLoadingComplete(Resource*) {}
                                 ^
/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:201:1: warning: 'virtual void Ogre::Resource::Listener::backgroundPreparingComplete(Ogre::Resource*)' is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreMaterial.h:33:0,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreRenderable.h:36,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreNode.h:38,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneNode.h:33,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneManager.h:37,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreRoot.h:36,
                 from /«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp:31:
/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreResource.h:99:33: note: declared here
    OGRE_DEPRECATED virtual void backgroundPreparingComplete(Resource*) {}
                                 ^
make[3]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/Threading/OgreDefaultWorkQueueStandard.cpp.o] Error 1
OgreMain/CMakeFiles/OgreMain.dir/build.make:4496: recipe for target 'OgreMain/CMakeFiles/OgreMain.dir/src/Threading/OgreDefaultWorkQueueStandard.cpp.o' failed
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/obj-x86_64-linux-gnu'
make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/all] Error 2
CMakeFiles/Makefile2:78: recipe for target 'OgreMain/CMakeFiles/OgreMain.dir/all' failed
make[2]: Leaving directory '/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
Makefile:140: recipe for target 'all' failed
make[1]: Leaving directory '/«BUILDDIR»/ogre-1.9-1.9.0+dfsg1/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:38: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-games-devel mailing list