Mailing List Archive

opencv problem
Hello all,

I encounter a problem with emerging opencv-4.5.2-r3 so i can't do any
emerge world anymore.
I get this :

media-libs/opencv-4.5.2-r3::gentoo (Change USE: +contribdnn, this change
violates use flag constraints defined by media-libs/opencv-4.5.2-r3:
'cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? (
cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) dnnsamples? (
examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib qt5
) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? (
contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog
) contribxfeatures2d? ( contrib download ) examples? ( contribdnn ) java? (
python ) opengl? ( qt5 ) python? ( any-of ( python_targets_python3_8
python_targets_python3_9 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3
qt5 )')

Changing the contribdnn use flag does not solve the problem.

emerge --info in attached file.

Any idea ?

Thanks in advance,

Cheers,

--
Jacques
Re: opencv problem [ In reply to ]
On Thu, 25 Nov 2021 at 11:10, Jacques Montier <jmontier@gmail.com> wrote:
> media-libs/opencv-4.5.2-r3::gentoo (Change USE: +contribdnn, this change violates use flag constraints defined by media-libs/opencv-4.5.2-r3: 'cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? ( cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) dnnsamples? ( examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib qt5 ) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? ( contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog ) contribxfeatures2d? ( contrib download ) examples? ( contribdnn ) java? ( python ) opengl? ( qt5 ) python? ( any-of ( python_targets_python3_8 python_targets_python3_9 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3 qt5 )')
>
> Changing the contribdnn use flag does not solve the problem.

This says that activating the contribdnn flag also needs the contrib
flag to be activated. Hard to give any direct advice without knowing
what you are trying to do. On my computers I don't install opencv, so
the easiest solution if you don't need it is to remove the opencv flag
from any packages you have installed.

Regards,
Arve