* [Buildroot] [git commit] package/opencv-contrib: propagate opencv4 dependencies
@ 2024-02-07 14:53 Thomas Petazzoni via buildroot
2024-03-01 10:05 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-02-07 14:53 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=a2e01b23fc441a4be4416e68d91e331e00db3bbd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Commit a7736afacaef (package/opencv4-contrib: properly note dependencies
between modules) forgot to propagate the dependencies of selected
symbols, causing unmet dependencies warnings (unfortunately, not
errors), such as:
$ KCONFIG_SEED=0x9F66F854 make randconfig
WARNING: unmet direct dependencies detected for BR2_PACKAGE_OPENCV4_LIB_DNN
Depends on [n]: BR2_PACKAGE_OPENCV4 [=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=y] && BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS [=y]
Selected by [y]:
- BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT [=y] && BR2_PACKAGE_OPENCV4_CONTRIB [=y]
Propagate the dependencies and add associated comments.
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Woodrow Douglass <wdouglass@carnegierobotics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/opencv4-contrib/Config.in | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/package/opencv4-contrib/Config.in b/package/opencv4-contrib/Config.in
index 951d5f71ad..261d414869 100644
--- a/package/opencv4-contrib/Config.in
+++ b/package/opencv4-contrib/Config.in
@@ -74,19 +74,31 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DATASETS
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT
bool "dnn_objdetect"
+ depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 dnn
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 dnn
select BR2_PACKAGE_OPENCV4_LIB_DNN
help
Object Detection using CNNs -- Implements compact CNN Model
for object detection. Trained using Caffe but uses
opencv_dnn module.
+comment "dnn_objdetect needs a glibc or musl toolchain"
+ depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC
+
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES
bool "dnn_superres"
+ depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 dnn
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 dnn
select BR2_PACKAGE_OPENCV4_LIB_DNN
help
Superresolution using CNNs -- Contains four trained
convolutional neural networks to upscale images.
+comment "dnn_superres needs a glibc or musl toolchain"
+ depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC
+
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED
bool "dnns_easily_fooled"
help
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [git commit] package/opencv-contrib: propagate opencv4 dependencies
2024-02-07 14:53 [Buildroot] [git commit] package/opencv-contrib: propagate opencv4 dependencies Thomas Petazzoni via buildroot
@ 2024-03-01 10:05 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2024-03-01 10:05 UTC (permalink / raw)
To: Thomas Petazzoni via buildroot; +Cc: Thomas Petazzoni
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=a2e01b23fc441a4be4416e68d91e331e00db3bbd
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Commit a7736afacaef (package/opencv4-contrib: properly note dependencies
> between modules) forgot to propagate the dependencies of selected
> symbols, causing unmet dependencies warnings (unfortunately, not
> errors), such as:
> $ KCONFIG_SEED=0x9F66F854 make randconfig
> WARNING: unmet direct dependencies detected for BR2_PACKAGE_OPENCV4_LIB_DNN
> Depends on [n]: BR2_PACKAGE_OPENCV4 [=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=y] && BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS [=y]
> Selected by [y]:
> - BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT [=y] && BR2_PACKAGE_OPENCV4_CONTRIB [=y]
> Propagate the dependencies and add associated comments.
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Woodrow Douglass <wdouglass@carnegierobotics.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Committed to 2023.02.x and 2023.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-01 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07 14:53 [Buildroot] [git commit] package/opencv-contrib: propagate opencv4 dependencies Thomas Petazzoni via buildroot
2024-03-01 10:05 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.