Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921761 - media-libs/opencv-4.8.1-r1 abi_x86_32 contribdnn system-flatbuffers error
Summary: media-libs/opencv-4.8.1-r1 abi_x86_32 contribdnn system-flatbuffers error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
: 921971 (view as bug list)
Depends on:
Blocks: 921296
  Show dependency tree
 
Reported: 2024-01-11 08:43 UTC by Aweal
Modified: 2024-03-20 11:03 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,6.79 KB, text/plain)
2024-01-11 08:43 UTC, Aweal
Details
build.log (build.log,19.43 KB, text/x-log)
2024-01-11 08:46 UTC, Aweal
Details
revert to 4.8.1 flatbuffer.patch (opencv-4.8.1-use-system-flatbuffers.patch,1.72 KB, patch)
2024-01-11 17:43 UTC, Aweal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aweal 2024-01-11 08:43:38 UTC
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)
Comment 1 Aweal 2024-01-11 08:46:04 UTC
Created attachment 881919 [details]
build.log
Comment 2 Aweal 2024-01-11 17:43:56 UTC
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)
Comment 3 Miroslav Šulc gentoo-dev 2024-01-12 21:40:39 UTC
i have the same issue during configuration
Comment 4 Larry the Git Cow gentoo-dev 2024-01-12 21:44:04 UTC
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(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-13 06:02:19 UTC
*** Bug 921971 has been marked as a duplicate of this bug. ***