On Thu, 25 Nov 2021 at 11:10, Jacques Montier <[email protected]> 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

