| Summary: | media-libs/opencv-4.8.1-r1 stable build fails | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | CaptainBlood <luc_pierard_de_maujouy> |
| Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | asturm, negril.nx+gentoo, proxy-maint |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/34970 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log | ||
|
Description
CaptainBlood
2024-01-18 23:39:08 UTC
opencv-4.8.1-r1.ebuild:246: unpack $(echo "${A}" | tr ' ' '\n' | grep -vP "(ade-0.1.2|NVIDIAOpticalFlowSDK)")
grep -P requires grep[pcre]. We can use BRE here fine.
Also, this is only needed for IUSE=cuda and unpacking could be conditional as well, right? Sorry, I somehow entirely missed this bug report. We can completely comment src_unpack out for now. It only saves a bit of tiny bit of disk space anyway. I want to rework the pre-download part anyway. ade is always in A, but doesn't need to be unpacked. NVIDIAOpticalFlowSDK is only in A for USE="contrib,cuda" and doesn't need to be unpacked. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace7d0c6c33c07d1f0e8aa57e2cab2f813deb791 commit ace7d0c6c33c07d1f0e8aa57e2cab2f813deb791 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-01-22 23:41:10 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-01-23 20:34:50 +0000 media-libs/opencv: 4.8.1-r1 unpack everything always Not filtering out these two archives adds about 1 MiB to `WORKDIR`, but doesn't rely on `sys-apps/grep[pcre]`. Since `pkgcheck` doesn't like them being zip files anyway this is going to change for `-4.9.0` either way. Closes: https://bugs.gentoo.org/922450 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34970 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-libs/opencv/opencv-4.8.1-r1.ebuild | 4 ---- 1 file changed, 4 deletions(-) |