Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge media-gfx/nomacs doesn't work OOTB?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kikko
Apprentice
Apprentice


Joined: 29 Apr 2014
Posts: 256
Location: Milan, IT

PostPosted: Thu Sep 24, 2015 8:41 pm    Post subject: [SOLVED] emerge media-gfx/nomacs doesn't work OOTB? Reply with quote

Hello everybody
I'm trying to emerge media-gfx/nomacs, but I'm facing a strange compliant about USE flags
Code:
# emerge media-gfx/nomacs
Calculating dependencies |

!!! Problem resolving dependencies for media-gfx/nomacs
... done!

!!! The ebuild selected to satisfy "media-gfx/nomacs" has unmet requirements.
- media-gfx/nomacs-2.4.4::gentoo USE="tiff -opencv -raw -webp -zip" ABI_X86="64"

  The following REQUIRED_USE flag constraints are unsatisfied:
    tiff? ( opencv )

  The above constraints are a subset of the following complete expression:
    raw? ( opencv ) tiff? ( opencv )

furthermore, enabling "opencv" flag makes things worse:
Code:
# USE="opencv" emerge -va media-gfx/nomacs

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/opencv-2.4:=[qt4]".
!!! One of the following packages is required to complete your request:
- media-libs/opencv-3.0.0::gentoo (Change USE: +qt4, this change violates use flag constraints defined by media-libs/opencv-3.0.0: 'python? ( exactly-one-of ( python_single_target_python3_3 python_single_target_python3_4 python_single_target_python2_7 ) python_single_target_python3_3? ( python_targets_python3_3 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python2_7? ( python_targets_python2_7 ) ) qt4? ( !qt5 ) qt5? ( !qt4 )')
(dependency required by "media-gfx/nomacs-2.4.4::gentoo[opencv]" [ebuild])
(dependency required by "media-gfx/nomacs" [argument])

I have correctly emerged it by disabling the "tiff" flag, but I'm not satisfied... :evil: I'm actually using Plasma5 DE, is there a way to have nomacs +tiff emerged?
you can find my full emerge --info here
Thank you in advance
Regards


Last edited by kikko on Thu Sep 24, 2015 9:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1316

PostPosted: Thu Sep 24, 2015 9:15 pm    Post subject: Reply with quote

kikko wrote:
...
qt4? ( !qt5 ) qt5? ( !qt4 )
...
You have both qt4 and qt5 set in your USE variable. I think you should remove one of them.
Back to top
View user's profile Send private message
kikko
Apprentice
Apprentice


Joined: 29 Apr 2014
Posts: 256
Location: Milan, IT

PostPosted: Thu Sep 24, 2015 9:53 pm    Post subject: Reply with quote

Hi quilosaq
I've tried, but no way out... :?
Code:
~ # euse -p media-libs/opencv -D qt4
Adding "media-libs/opencv[-qt4]" use flag to new file /etc/portage/package.use/opencv
~ # euse -p media-gfx/nomacs -R tiff
Removing "media-gfx/nomacs[-tiff]" use flag in "/etc/portage/package.use/nomacs"
Removing empty file /etc/portage/package.use/nomacs
~ # euse -p media-gfx/nomacs -E opencv
~ # emerge -DuNva @world

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

Calculating dependencies -

!!! Problem resolving dependencies for media-gfx/nomacs from @selected
... done!

!!! The ebuild selected to satisfy "media-gfx/nomacs" has unmet requirements.
- media-gfx/nomacs-2.4.4::gentoo USE="tiff -opencv -raw -webp -zip" ABI_X86="64"

  The following REQUIRED_USE flag constraints are unsatisfied:
    tiff? ( opencv )

  The above constraints are a subset of the following complete expression:
    raw? ( opencv ) tiff? ( opencv )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

Here is my first doubt, why I must enable opencv when it's disabled by default? Anyway, enable it and keep going...
Code:
~ # euse -p media-gfx/nomacs -E opencv
Adding "media-gfx/nomacs[opencv]" use flag to new file /etc/portage/package.use/nomacs
~ # emerge -DuNva @world

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

Calculating dependencies... done!


emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/opencv-2.4:=[qt4]".
!!! One of the following packages is required to complete your request:
- media-libs/opencv-3.0.0::gentoo ([b]Change USE: +qt4[/b], this change violates use flag constraints defined by media-libs/opencv-3.0.0: 'python? ( exactly-one-of ( python_single_target_python3_3 python_single_target_python3_4 python_single_target_python2_7 ) python_single_target_python3_3? ( python_targets_python3_3 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python2_7? ( python_targets_python2_7 ) ) qt4? ( !qt5 ) qt5? ( !qt4 )')
(dependency required by "media-gfx/nomacs-2.4.4::gentoo[opencv]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
 ~ # cat /etc/portage/package.use/opencv
media-libs/opencv -qt4

I'll try again tomorrow disabling qt5
Regards

EDIT: Disabling qt5 works:
Code:
~ # USE="-qt5 tiff opencv" emerge -va media-gfx/nomacs

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

Calculating dependencies... done!
[ebuild  N     ] x11-libs/pangox-compat-0.0.2-r1::gentoo  ABI_X86="(64) -32 (-x32)" 262 KiB
[ebuild  N     ] x11-libs/gtkglext-1.2.0-r3::gentoo  USE="-debug" ABI_X86="(64) -32 (-x32)" 688 KiB
[ebuild  N     ] dev-cpp/eigen-3.2.5:3::gentoo  USE="-debug -doc" 1125 KiB
[ebuild  N     ] media-libs/opencv-3.0.0:0/3.0::gentoo  USE="eigen gtk jpeg opengl openmp png python qt4 tiff -contrib -cuda -doc -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k -libav -opencl -openexr -pch -qt5 -testprograms -threads -v4l -vtk -xine" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 98615 KiB
[ebuild   R    ] media-gfx/nomacs-2.4.4::gentoo  USE="opencv* tiff* -raw -webp -zip" 0 KiB

Total: 5 packages (4 new, 1 reinstall), Size of downloads: 100688 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-gfx/nomacs-2.4.4::gentoo[opencv]
# required by media-gfx/nomacs (argument)
>=media-libs/opencv-3.0.0 qt4

I'll mark topic as solved
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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