Re: [Buildroot] [PATCH] package/opencv: depend on webp mux/demux
Thomas Petazzoni via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <aognldAvgHC81hyu@windsurf> |
On Fri, Aug 21, 2026 at 12:23:03PM +0200, Thomas Petazzoni wrote:
> In the autobuilders, I see that the few occurrences of this failures
> occur when BR2_PACKAGE_OPENCV4_WITH_WEBP is enabled, which pulls in
> webp as a dependency already.
Ah, I can indeed reproduce the problem with:
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
BR2_PACKAGE_OPENCV4=y
BR2_PACKAGE_OPENCV4_WITH_WEBP=y
but in this case, webp is already added as a dependency of opencv4. So
your patch is not actually correct.
What I guess happens is that we build webp without demux/mux support,
so we're missing features. So I believe the correct fix is probably:
diff --git a/package/opencv4/Config.in b/package/opencv4/Config.in
index 47c1cf3f4a..e4a15f742b 100644
--- a/package/opencv4/Config.in
+++ b/package/opencv4/Config.in
@@ -369,6 +369,8 @@ config BR2_PACKAGE_OPENCV4_WITH_V4L
config BR2_PACKAGE_OPENCV4_WITH_WEBP
bool "webp support"
select BR2_PACKAGE_WEBP
+ select BR2_PACKAGE_WEBP_DEMUX
+ select BR2_PACKAGE_WEBP_MUX
help
Enable WebP support.
Remains to figure out since when this problem occurs. The 4.12.0 ->
4.13.0 bump of opencv4 in commit
33178c538541be224e49b5f548bd5404de3912fa ? But this one has been
around for quite a while.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot