Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612568 - sci-electronics/gazebo-8.0.0 fails to build - usr/include/OGRE/OgreMovableObject.h:253:16: error: overriding ‘virtual Ogre::Real Ogre::MovableObject::getBoundingRadius() const’
Summary: sci-electronics/gazebo-8.0.0 fails to build - usr/include/OGRE/OgreMovableObj...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 00:35 UTC by Alessandro Barbieri
Modified: 2017-05-10 15:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emergeinfo (info,10.64 KB, text/plain)
2017-03-14 00:35 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-03-14 00:35:25 UTC
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'
Comment 1 Alessandro Barbieri 2017-03-14 00:35:57 UTC
Created attachment 466994 [details]
emergeinfo
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-03-14 10:30:13 UTC
Could you please attach the full build log?
Comment 3 Alessandro Barbieri 2017-03-14 17:16:41 UTC
Sorry, my bad
I put the log here https://gist.github.com/Alessandro-Barbieri/19f8b36cfef10f7c76a24991b3c14f6e
(too heavy for attachment)
Comment 4 Alexis Ballier gentoo-dev 2017-04-25 06:57:19 UTC
cant reproduce it; does it work with gcc 5 or 6 ?
gcc 4.9 is quite old
Comment 5 Alessandro Barbieri 2017-04-25 21:00:47 UTC
Meanwhile I updated GCC but masked this package, I'll try again to emerge.
Comment 6 Alessandro Barbieri 2017-05-10 15:56:19 UTC
Can close now