Summary: | media-libs/opencv-4.9.0: .../work/opencv-4.9.0/modules/gapi/include/opencv2/gapi/streaming/cap.hpp:27:10: fatal error: opencv2/videoio.hpp: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tokoyami <tokoyami> |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, tokoyami |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/36248 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log (compressed) |
Description
tokoyami
2024-03-27 21:27:06 UTC
There seems to be a missing dependency in the code somewhere. You have two options for now: The easier one, re-enable USE=ffmpeg for opencv. You kind of want that anyway for video input support. Or you pass MYCMAKEARGS="-DBUILD_opencv_gapi=no" and hope that that disables that module. Hi, thanks for the suggestions. I tried both and both worked. I looked at the CMake files and saw why, so for now I'll keep ffmpeg enabled event though I don't need the videoio module (I think). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebb6e2fdce12a8c5f81f1b19bd494469ace2786 commit cebb6e2fdce12a8c5f81f1b19bd494469ace2786 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-04-12 13:08:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-21 12:49:40 +0000 media-libs/opencv: bugfixes Closes: https://bugs.gentoo.org/929972 Closes: https://bugs.gentoo.org/928516 Closes: https://bugs.gentoo.org/928747 Closes: https://bugs.gentoo.org/927992 Closes: https://bugs.gentoo.org/927917 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36248 Signed-off-by: Sam James <sam@gentoo.org> .../opencv/files/opencv-4.9.0-cuda-12.4.patch | 70 ++++++++++++++++++++++ media-libs/opencv/opencv-4.8.1-r1.ebuild | 1 + media-libs/opencv/opencv-4.9.0.ebuild | 5 +- profiles/arch/amd64/use.mask | 4 ++ profiles/arch/arm64/package.use.force | 4 ++ profiles/arch/arm64/package.use.mask | 4 ++ profiles/arch/base/use.mask | 4 ++ profiles/arch/x86/use.mask | 4 ++ 8 files changed, 95 insertions(+), 1 deletion(-) |