Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 599252

Summary: media-gfx/digikam-5.3.0 and media-libs/opencv and [-qt4]
Product: Gentoo Linux Reporter: jms <jms.gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jms 2016-11-09 01:46:57 UTC
can not emerge media-libs/opencv-3.1.0-r6
due to media-gfx/digikam-5.3.0 request for -qt4


[ebuild     U ~] media-libs/opencv-3.1.0-r6:0/3.1::gentoo [3.1.0-r5:0/3.1::gentoo] USE="eigen ffmpeg gstreamer gtk jpeg jpeg2k opengl openmp png python qt5 tiff v4l vaapi xine -contrib -contrib_cvv% -contrib_hdf% -contrib_sfm% -cuda -examples -gdal -gflags% -glog% -gphoto2 -ieee1394 (-ipp) -java -libav -opencl -openexr -pch -tesseract% -testprograms -threads -vtk -webp (-qt4%)" PYTHON_TARGETS="python2_7 python3_4 -python3_5" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/opencv:0

  (media-libs/opencv-3.1.0-r6:0/3.1::gentoo, ebuild scheduled for merge) pulled in by
    media-libs/opencv (Argument)

  (media-libs/opencv-3.1.0-r5:0/3.1::gentoo, installed) pulled in by
    media-libs/opencv:0/3.1=[-qt4] required by (media-gfx/digikam-5.3.0:5/5::gentoo, installed)



opencv (0/3.1) doesn not have qt4 flag

ebuild to media-gfx/digikam-5.3.0 seems to be incorrect (after closed Bug 599178 )

ebuild has
media-libs/opencv:=[-qt4(-)]
	|| ( <media-libs/opencv-3.0.0 >=media-libs/opencv-3.1.0 )

I think 
media-libs/opencv:=[-qt4(-)]

should be enough from what I understand (did the trick for me)
https://devmanual.gentoo.org/general-concepts/dependencies/#use-dependency-defaults

otherwise I can't compile media-libs/opencv-3.1.0-r6
Comment 1 Andreas Sturmlechner gentoo-dev 2016-11-09 16:01:40 UTC

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