Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kdenlive - Decrypting Portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nulltheliteralnothing
n00b
n00b


Joined: 23 Feb 2024
Posts: 68

PostPosted: Tue Apr 30, 2024 1:22 pm    Post subject: Kdenlive - Decrypting Portage Reply with quote

Hi Everyone,

I hope everyone is doing well!

I am trying to emerge kde-apps/kdenlive on my Gnome system.

I appear to have a dependency issue.

Code:


thelittletemple /home/shinobi # emerge --ask kdenlive

 * IMPORTANT: 1 news items need reading for repository 'librewolf'.
 * IMPORTANT: 20 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.15 s (backtrack: 0/20).


!!! The ebuild selected to satisfy ">=media-libs/opencv-2.3.0:=[contribdnn,features2d,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements.
- media-libs/opencv-4.8.1-r1::gentoo USE="contribdnn eigen features2d gstreamer jpeg opengl openmp png python qt5 tiff -contrib (-contribcvv) -contribfreetype (-contribhdf) (-contribovis) (-contribsfm) (-contribxfeatures2d) (-cuda) (-cudnn) -debug -dnnsamples -examples -ffmpeg -gdal (-gflags) (-glog) -gphoto2 -gtk3 -ieee1394 -java -jpeg2k -lapack -non-free -opencl -opencvapps -openexr -qt6 -tbb (-tesseract) -testprograms -v4l -vaapi (-vtk) -webp -xine" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" VIDEO_CARDS="-intel"

  The following REQUIRED_USE flag constraints are unsatisfied:
    contribdnn? ( contrib )

  The above constraints are a subset of the following complete expression:
    cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? ( cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) cudnn? ( cuda ) dnnsamples? ( examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib any-of ( qt5 qt6 ) ) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? ( contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog ) contribxfeatures2d? ( contrib ) java? ( python ) opengl? ( any-of ( qt5 qt6 ) ) python? ( any-of ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3 any-of ( qt5 qt6 ) ) at-most-one-of ( cuda gdal ) at-most-one-of ( cuda openexr ) at-most-one-of ( cuda tbb )

(dependency required by "media-plugins/frei0r-plugins-1.8.0::gentoo" [ebuild])
(dependency required by "media-libs/mlt-7.22.0-r1::gentoo[frei0r]" [ebuild])
(dependency required by "kde-apps/kdenlive-23.08.5::gentoo" [ebuild])
(dependency required by "kdenlive" [argument])



From what I can tell, there is a dependency on contribdnn, which in turn has a dependency on contrib, which is indicated as not to be used by the Kdenlive ebuild.

I am not sure how to move forward with any clarity.

I haven't had any luck gaining that clarity via the documentation.

Any help is appreciated.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1919

PostPosted: Tue Apr 30, 2024 1:34 pm    Post subject: Reply with quote

media-plugins/frei0r-plugins for its facedetect USE requires >=media-libs/opencv-2.3.0 with contribdnn USE and features2d USE. Unfortunately, the ebuild of opencv needs the contrib USE to have contribdnn USE be considered.

It is a technical bug (meaning it won't break but extra effort is needed by users) on media-plugins/frei0r-plugins to not include contrib USE as a requirement along with contribdnn.

As a workaround, enable contrib USE on opencv.
Back to top
View user's profile Send private message
nulltheliteralnothing
n00b
n00b


Joined: 23 Feb 2024
Posts: 68

PostPosted: Tue Apr 30, 2024 1:43 pm    Post subject: Reply with quote

Thank you. That resolved the issue. Much appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum