Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929972 - media-libs/opencv-4.9.0[quirc] needs to DEPEND on media-libs/quirc
Summary: media-libs/opencv-4.9.0[quirc] needs to DEPEND on media-libs/quirc
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
Depends on:
Blocks:
 
Reported: 2024-04-13 22:52 UTC by Maciej S. Szmigiero
Modified: 2024-04-21 12:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej S. Szmigiero 2024-04-13 22:52:57 UTC
media-libs/opencv-4.9.0[quirc] fails to build when media-libs/quirc isn't already installed:

> FAILED: modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/qrcode.cpp.o
> 
> /var/tmp/portage/media-libs/opencv-4.9.0/work/opencv-4.9.0/modules/objdetect/src/qrcode.cpp:15:10: fatal error: quirc.h: No such file or directory
>    15 | #include "quirc.h"
>       |          ^~~~~~~~~
> compilation terminated
Comment 1 Larry the Git Cow gentoo-dev 2024-04-21 12:51:22 UTC
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(-)