Summary: | media-plugins/frei0r-plugins-1.7.0[facedetect] missing dependency on opencv[features2d] (facebl0r.cpp:58:43: error: ‘cv::CascadeClassifier’ has not been declared) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nE0sIghT <ykonotopov> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
nE0sIghT
2021-03-17 06:51:44 UTC
Hm, obviously something to do with opencv but can't reproduce. In case it will help: emerge --info media-libs/opencv media-libs/opencv-4.5.0::gentoo was built with the following: USE="ffmpeg gphoto2 gstreamer gtk3 jpeg jpeg2k lto openmp png threads tiff vaapi webp -contrib (-contribcvv) -contribdnn -contribfreetype (-contribhdf) (-contribovis) (-contribsfm) (-contribxfeatures2d) (-cuda) -debug -dnnsamples -download -eigen -examples -features2d -gdal (-gflags) (-glog) -ieee1394 -java -lapack -opencl -opencvapps -openexr -opengl -python -qt5 (-tesseract) -testprograms -v4l (-vtk) -xine" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx2 -avx512f -f16c -fma3" PYTHON_TARGETS="python3_7 -python3_8 -python3_9" (In reply to nE0sIghT from comment #2) > In case it will help: emerge --info media-libs/opencv It did, thanks. Re-enable the default features2d on opencv. I find it kind of curious this flag exists rather than being always-enabled. I'm really confused why it is not enabled for me:
> grep -R features2d /etc/portage
>
...
Seeing the same failure in frei0r-plugins 1.7.0, but features2d was already enabled on opencv. Message from opencv configuration about the objdetect module was: -- Module opencv_objdetect disabled because opencv_dnn dependency can't be resolved! Needed to also enable contribdnn for the objdetect module to build. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f3d76f7844b3f523eb30015330aed481884fa9 commit e7f3d76f7844b3f523eb30015330aed481884fa9 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-23 22:27:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-23 22:29:20 +0000 media-plugins/frei0r-plugins: fix opencv use deps (needs contribdnn, features2d) Closes: https://bugs.gentoo.org/776811 Signed-off-by: Sam James <sam@gentoo.org> .../{frei0r-plugins-1.7.0.ebuild => frei0r-plugins-1.7.0-r1.ebuild} | 2 +- profiles/arch/powerpc/package.use.mask | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) |