Created attachment 881918 [details] emerge --info fails to build: CMake Error at cmake/OpenCVDetectFlatbuffers.cmake:2 (find_package): By not providing "Findflatbuffers.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "flatbuffers", but CMake did not find one. Could not find a package configuration file provided by "flatbuffers" with any of the following names: flatbuffersConfig.cmake flatbuffers-config.cmake Add the installation prefix of "flatbuffers" to CMAKE_PREFIX_PATH or set "flatbuffers_DIR" to a directory containing one of the above files. If "flatbuffers" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:759 (include)
Created attachment 881919 [details] build.log
Created attachment 881991 [details, diff] revert to 4.8.1 flatbuffer.patch I suggest a revert patch opencv-4.8.0-fix-flatbuffer.patch (a plug with which at least the installation will work)
i have the same issue during configuration
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6de8470abd5b1298b26b2868cfba3708b8c72b commit 1f6de8470abd5b1298b26b2868cfba3708b8c72b Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-01-11 17:41:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-12 21:43:10 +0000 media-libs/opencv: 4.8.1 restrict contribdnn on ABI_X86_32 `dev-libs/flatbuffers` has no ABI_X86_32 support, so don't enable it there. Closes: https://bugs.gentoo.org/921761 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34765 Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencv/opencv-4.8.1-r1.ebuild | 153 ++++++++++++++++++++++++++++++- 1 file changed, 151 insertions(+), 2 deletions(-)
*** Bug 921971 has been marked as a duplicate of this bug. ***