Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540074 - dev-games/openscenegraph-3.2.1 - CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package): Could not find a package configuration file provided by "Qt5OpenGL" [..]
Summary: dev-games/openscenegraph-3.2.1 - CMake Warning at /usr/lib64/cmake/Qt5Core/Qt...
Status: RESOLVED DUPLICATE of bug 550206
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-14 16:30 UTC by Silvio
Modified: 2015-07-14 17:33 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2015-02-14 16:30:56 UTC
In the ebuild you have to add the dependencies to:

>=dev-qt/qtopengl-5

if there isn't qtopengl-5.x it fails to compile exiting with:

CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package):
  Could not find a package configuration file provided by "Qt5OpenGL" with
  any of the following names:

    Qt5OpenGLConfig.cmake
    qt5opengl-config.cmake

  Add the installation prefix of "Qt5OpenGL" to CMAKE_PREFIX_PATH or set
  "Qt5OpenGL_DIR" to a directory containing one of the above files.  If
  "Qt5OpenGL" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  src/osgQt/CMakeLists.txt:77 (qt5_use_modules)


CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:275 (message):
  Can not use "OpenGL" module which has not yet been found.
Call Stack (most recent call first):
  src/osgQt/CMakeLists.txt:77 (qt5_use_modules)



Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-15 07:46:34 UTC
It doesn't have any dev-qt/*:5 dependencies right now. It has USE=qt4 with appropriate dependencies, but doesn't list or mention Qt5 anywhere.
Comment 2 Silvio 2015-02-15 10:32:59 UTC
(In reply to Jeroen Roovers from comment #1)
> It doesn't have any dev-qt/*:5 dependencies right now. It has USE=qt4 with
> appropriate dependencies, but doesn't list or mention Qt5 anywhere.

Well, but if you emerge qtopengl-5 it compiles well
Comment 3 Silvio 2015-03-08 07:36:27 UTC
(In reply to Silvio from comment #2)
> (In reply to Jeroen Roovers from comment #1)
> > It doesn't have any dev-qt/*:5 dependencies right now. It has USE=qt4 with
> > appropriate dependencies, but doesn't list or mention Qt5 anywhere.
> 
> Well, but if you emerge qtopengl-5 it compiles well

Problem is still here.
I've to emerge qtopengl-5 manually (with -1 option) everytime I install a machine.

I think it would be important to add the dependency in the ebuild as soon as possible
Comment 4 Maciej Mrozowski gentoo-dev 2015-07-14 17:33:15 UTC
This was fixed in bug 550206.

*** This bug has been marked as a duplicate of bug 550206 ***