Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499188 - =media-libs/opencv-2.4.8 - Please consider dropping `opengl? ( || ( gtk qt4 ) )` from REQUIRED_USE
Summary: =media-libs/opencv-2.4.8 - Please consider dropping `opengl? ( || ( gtk qt4 )...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-25 03:52 UTC by eroen
Modified: 2014-01-25 11:02 UTC (History)
1 user (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 eroen 2014-01-25 03:52:18 UTC
When updating my system today, I get the following:

!!! The ebuild selected to satisfy "media-libs/opencv" has unmet requirements.
- media-libs/opencv-2.4.8::gentoo USE="eigen ffmpeg gstreamer jpeg jpeg2k opencl openexr opengl openmp png python threads tiff v4l xine -cuda -doc -examples -gtk -ieee1394 (-ipp) -java -pch -qt4 -testprograms" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"

  The following REQUIRED_USE flag constraints are unsatisfied:
    opengl? ( any-of ( gtk qt4 ) )

  The above constraints are a subset of the following complete expression:
    opengl? ( any-of ( gtk qt4 ) ) python? ( python_single_target_python2_6? ( python_targets_python2_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) exactly-one-of ( python_single_target_python2_6 python_single_target_python2_7 ) )

From my (very superficial) research, it appears that enabling or disabling the opengl switch for opencl only affects the gui component(s) of opencl. If so, I think it would make more sense to bake some logic for overriding the opengl use flag into the ebuild to disable it when no gui component is enabled. 

Afaict, nothing in the tree depends on opencv[opengl], so this weakening of the opengl use flag should not cause direct issues.


If, conversely, the opengl use flag actually affects the library (or cli?) components of opencl, it would be nice if this was clarified to the user through a local use flag description.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-01-25 11:02:41 UTC
Done

> From my (very superficial) research, it appears that enabling or disabling
> the opengl switch for opencl only affects the gui component(s) of opencl. If
> so, I think it would make more sense to bake some logic for overriding the
> opengl use flag into the ebuild to disable it when no gui component is
> enabled. 
> 
> Afaict, nothing in the tree depends on opencv[opengl], so this weakening of
> the opengl use flag should not cause direct issues.

That's what happened so far anyway.