compile fails with: In file included from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/ApplyWrenchVisual.cc:23:0: /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/MovableText.hh:182:24: error: conflicting return type specified for ‘virtual float gazebo::rendering::MovableText::getBoundingRadius() const’ protected: float getBoundingRadius() const; ^ In file included from /usr/include/OGRE/OgreBillboardChain.h:37:0, from /usr/include/OGRE/Ogre.h:40, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/ogre_gazebo.h:26, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/MovableText.hh:25, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/ApplyWrenchVisual.cc:23: /usr/include/OGRE/OgreMovableObject.h:253:16: error: overriding ‘virtual Ogre::Real Ogre::MovableObject::getBoundingRadius() const’ virtual Real getBoundingRadius(void) const = 0; ^ In file included from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/ApplyWrenchVisual.cc:23:0: /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/MovableText.hh:186:24: error: conflicting return type specified for ‘virtual float gazebo::rendering::MovableText::getSquaredViewDepth(const Ogre::Camera*) const’ protected: float getSquaredViewDepth(const Ogre::Camera *cam) const; ^ In file included from /usr/include/OGRE/OgreShadowCaster.h:32:0, from /usr/include/OGRE/OgreMovableObject.h:37, from /usr/include/OGRE/OgreBillboardChain.h:37, from /usr/include/OGRE/Ogre.h:40, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/ogre_gazebo.h:26, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/MovableText.hh:25, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/ApplyWrenchVisual.cc:23: /usr/include/OGRE/OgreRenderable.h:210:22: error: overriding ‘virtual Ogre::Real Ogre::Renderable::getSquaredViewDepth(const Ogre::Camera*) const’ virtual Real getSquaredViewDepth(const Camera* cam) const = 0; ^ make[2]: *** [gazebo/rendering/CMakeFiles/gazebo_rendering.dir/build.make:63: gazebo/rendering/CMakeFiles/gazebo_rendering.dir/ApplyWrenchVisual.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/VCloudsManager.h:29:0, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/SkyX.h:37, from /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/Camera.cc:38: /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/VClouds/VClouds.h: In member function ‘const Real& SkyX::VClouds::VClouds::getGlobalOpacity() const’: /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/VClouds/VClouds.h:403:14: warning: returning reference to temporary [-Wreturn-local-addr] return mGlobalOpacity; ^ /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/VClouds/VClouds.h: In member function ‘const Real& SkyX::VClouds::VClouds::getCloudFieldScale() const’: /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/VClouds/VClouds.h:419:14: warning: returning reference to temporary [-Wreturn-local-addr] return mCloudFieldScale; ^ /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/VClouds/VClouds.h: In member function ‘const Real& SkyX::VClouds::VClouds::getNoiseScale() const’: /var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0/gazebo/rendering/skyx/include/VClouds/VClouds.h:435:14: warning: returning reference to temporary [-Wreturn-local-addr] return mNoiseScale; ^ make[2]: Leaving directory '/var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0_build' make[1]: *** [CMakeFiles/Makefile2:3063: gazebo/rendering/CMakeFiles/gazebo_rendering.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0_build' make: *** [Makefile:139: all] Error 2 * ERROR: sci-electronics/gazebo-8.0.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-electronics/gazebo-8.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-electronics/gazebo-8.0.0::gentoo'`. * The complete build log is located at '/var/log/portage/sci-electronics:gazebo-8.0.0:20170313-234753.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-electronics/gazebo-8.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/gazebo-8.0.0/temp/environment'. * Working directory: '/var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0_build' * S: '/var/tmp/portage/sci-electronics/gazebo-8.0.0/work/gazebo-8.0.0'
Created attachment 466994 [details] emergeinfo
Could you please attach the full build log?
Sorry, my bad I put the log here https://gist.github.com/Alessandro-Barbieri/19f8b36cfef10f7c76a24991b3c14f6e (too heavy for attachment)
cant reproduce it; does it work with gcc 5 or 6 ? gcc 4.9 is quite old
Meanwhile I updated GCC but masked this package, I'll try again to emerge.
Can close now