[Buildroot] [git commit] package/ola: add missing python-numpy dependencies

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue May 17 20:52:09 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=b3be5990680514634aad41a1ca8f5a6337223cf6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_NUMPY
  Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS [=y] && (BR2_TOOLCHAIN_USES_GLIBC [=n] || BR2_TOOLCHAIN_USES_MUSL [=n])
  Selected by [y]:
  - BR2_PACKAGE_OLA_RDM_TESTS [=y] && BR2_PACKAGE_OLA [=y] && BR2_PACKAGE_OLA_PYTHON_BINDINGS [=y] && BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS [=y]

Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/ola/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/ola/Config.in b/package/ola/Config.in
index e59637b57f..399f7702fc 100644
--- a/package/ola/Config.in
+++ b/package/ola/Config.in
@@ -52,10 +52,16 @@ config BR2_PACKAGE_OLA_RDM_TESTS
 	bool "rdm tests"
 	depends on BR2_PACKAGE_OLA_PYTHON_BINDINGS
 	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
 	select BR2_PACKAGE_PYTHON_NUMPY
 	help
 	  Build OLA RDM tests.
 
+comment "rdm tests needs a toolchain w/ glibc or musl"
+	depends on BR2_PACKAGE_OLA_PYTHON_BINDINGS
+	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
+	depends on !BR2_TOOLCHAIN_USES_GLIBC && !BR2_TOOLCHAIN_USES_MUSL
+
 comment "plugin selections"
 
 config BR2_PACKAGE_OLA_PLUGIN_ARTNET



More information about the buildroot mailing list