At this moment it is possible to install media-libs/opencv[mkl,-lapack], which is completely wrong because: lapack? ( atlas? ( sci-libs/atlas ) mkl? ( sci-libs/mkl ) !atlas? ( !mkl? ( virtual/cblas >=virtual/lapack-3.10 virtual/lapacke ) ) ) So mkl dep weirdly is not installed if lapack is not enabled :) Reproducible: Always Expected Results: There must be REQUIRED_USE
Created attachment 915295 [details] Complete build log
Created attachment 915297 [details] emerge --info
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: error: /opt/cuda/targets/x86_64-linux/lib/libcublasLt.so: file too short That's the cause of the build crash. Not the config options. I'll add the REQUIRED_USE to opencv-4.11.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d43224edb4e4a966f3031b08f97929c3a24065 commit b9d43224edb4e4a966f3031b08f97929c3a24065 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2025-05-01 18:37:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-05-08 06:26:48 +0000 media-libs/opencv: add 4.11.0 Bug: https://bugs.gentoo.org/947031 Closes: https://bugs.gentoo.org/953397 Closes: https://bugs.gentoo.org/953304 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41967 Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencv/Manifest | 5 + .../files/opencv-4.11.0-ade-0.1.2e.tar.gz.patch | 18 + .../opencv/files/opencv-4.11.0-cmake-CMP0175.patch | 22 + .../opencv/files/opencv-4.11.0-cmake-CMP0177.patch | 25 + media-libs/opencv/files/opencv-4.11.0-qt-6.9.patch | 19 + media-libs/opencv/metadata.xml | 4 + media-libs/opencv/opencv-4.11.0.ebuild | 1473 ++++++++++++++++++++ profiles/arch/amd64/use.mask | 9 + profiles/arch/arm/use.mask | 5 + profiles/arch/arm64/use.mask | 4 + profiles/arch/base/use.mask | 9 + profiles/features/big-endian/package.use.mask | 1 + 12 files changed, 1594 insertions(+)