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 dev-libs/flatbuffers has no support for ABI_X86, but media-libs/opencv does, so this fails. Reproducible: Always
Could you please attach build.log and comment with emerge --info? And is the actual bug in media-libs/opencv or dev-libs/flatbuffer, or perhaps we leave that to the maintainer to decide. Or maybe related to bug 909081?
I had the same issue Michael did, which turned out to be that my ABI_X86 was '32 64', and flatbuffers doesn't seem to support a 32 bit build, so flatbuffers' search would return nada when doing the system search. By doing ABI_X86=64 emerge opencv, I got past that. But then cmake complained about not being able to download a bunch of files from raw.githubusercontent.com claiming, 'could not resolve host name', but by this time, I'd lost patience with it. :)
(In reply to Greg Kubaryk from comment #1) > Could you please attach build.log and comment with emerge --info? And is the > actual bug in media-libs/opencv or dev-libs/flatbuffer, or perhaps we leave > that to the maintainer to decide. > > Or maybe related to bug 909081? This is happening when building with ABI_X86="32 64" and it was in the 32 pass. flatbuffers is only 64, so it fails. Either need to remove ABI support in opencv or add it in flatbuffers.
In the absence of rquested info, surely a dupe. *** This bug has been marked as a duplicate of bug 909081 ***
Sorry, rather bug 921971. *** This bug has been marked as a duplicate of bug 921761 ***