[Bug 1250924] Re: [SRU] Ubuntu changes to Ogre install plugins in wrong directory

Scott Howard showard314 at ubuntu.com
Sat Nov 16 15:13:53 UTC 2013


** Changed in: ogre-1.8 (Ubuntu)
    Milestone: saucy-updates => None

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1250924

Title:
  [SRU] Ubuntu changes to Ogre install plugins in wrong directory

Status in “ogre-1.8” package in Ubuntu:
  Triaged

Bug description:
  Fixed in trusty:
  https://bugs.launchpad.net/ubuntu/+source/ogre-1.8/+bug/1244592

  [Impact]
  The Ogre3D 1.8.1 plugins are in the wrong directory. They should either be in OGRE-1.8 or OGRE-1.8.1 but not in OGRE-1.8.0, this causes problems when compiling freeOrion and OpenMW. The workaround at this moment is to "sudo ln -sf OGRE-1.8.0 OGRE-1.8.1" and rebuild or add kludge code their respective CMake files.

  find /usr/lib/x86_64-linux-gnu | grep -i OGRE

  /usr/lib/x86_64-linux-gnu/libOgreProperty.so
  /usr/lib/x86_64-linux-gnu/libOgrePaging.so.1.8.1
  /usr/lib/x86_64-linux-gnu/libOgreTerrain.so
  /usr/lib/x86_64-linux-gnu/libOgreTerrain.so.1.8.1
  /usr/lib/x86_64-linux-gnu/pkgconfig/OGRE-Paging.pc
  /usr/lib/x86_64-linux-gnu/pkgconfig/OGRE-Terrain.pc
  /usr/lib/x86_64-linux-gnu/pkgconfig/OGRE-RTShaderSystem.pc
  /usr/lib/x86_64-linux-gnu/pkgconfig/OGRE-PCZ.pc
  /usr/lib/x86_64-linux-gnu/pkgconfig/OGRE.pc
  /usr/lib/x86_64-linux-gnu/pkgconfig/OGRE-Property.pc
  /usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
  /usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so.1.8.1
  /usr/lib/x86_64-linux-gnu/libOgreMain.so
  /usr/lib/x86_64-linux-gnu/libOgrePaging.so
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_BSPSceneManager.so.1.8.1
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_ParticleFX.so.1.8.1
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/RenderSystem_GL.so
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_PCZSceneManager.so.1.8.1
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_ParticleFX.so
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_OctreeZone.so
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_PCZSceneManager.so
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_BSPSceneManager.so
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_OctreeSceneManager.so
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_OctreeSceneManager.so.1.8.1
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/RenderSystem_GL.so.1.8.1
  /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_OctreeZone.so.1.8.1
  /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
  /usr/lib/x86_64-linux-gnu/libOgreProperty.so.1.8.1

  ogre's pc files are correct, the problem is with packages that use
  cmake and find_package(OGRE). cmake comes with their own scripts and
  are looking in OGRE-{VERSION}, while .pc files tell autotools to look
  in OGRE-1.8.0.

  [Test Case]
  Try compiling openmw or freeorion, or any cmake build tools application. They will fail for not finding plugins in OGRE-1.8.1

  [Proposed fix]
  The least invasive fix is to symlink OGRE-1.8.0 and OGRE-1.8.1. The other option is for depending libraries to not use cmake's find_package but instead use pkgconfig. I'll try another build with a simple symlink

  [Regression potential]
  Zero, nothing is changed/removed from the package - we're just adding a symlink to maintain backwards compatibility.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ogre-1.8/+bug/1250924/+subscriptions



More information about the Ubuntu-sponsors mailing list