From 76818c5a85a2342c9ba48c96531187577b9e6e58 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 16 Sep 2026 00:11:07 +0200 Subject: [PATCH] package/gnuradio: fix dependencies of BR2_PACKAGE_GNURADIO_PYTHON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BR2_PACKAGE_GNURADIO_PYTHON selects BR2_PACKAGE_PYTHON_NUMPY, so it should inherit its dependencies, but BR2_TOOLCHAIN_GCC_AT_LEAST_9 was forgotten in commit 8b3993178d0ffae312d7dd0df70d30d1d3d88873, when python-numpy got this gcc >= 9 dependency added. Note that the existing BR2_HOST_GCC_AT_LEAST_9 dependency is correct: it is there because gnuradio needs host-python-numpy at build time. Fixes: 8b3993178d0ffae312d7dd0df70d30d1d3d88873 ("package/python-numpy: needs gcc >= 9") Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit c6986e6d2e284604bcac43bf9dfd79f3d028ef6d) Signed-off-by: Raphaël Mélotte --- package/gnuradio/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in index 98d87aed56..e87275de4d 100644 --- a/package/gnuradio/Config.in +++ b/package/gnuradio/Config.in @@ -80,6 +80,7 @@ config BR2_PACKAGE_GNURADIO_PYTHON depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy select BR2_PACKAGE_BOOST_PYTHON select BR2_PACKAGE_PYTHON_NUMPY # runtime select BR2_PACKAGE_PYTHON_PYBIND @@ -87,8 +88,8 @@ config BR2_PACKAGE_GNURADIO_PYTHON help Enable python component -comment "python support needs a glibc or musl toolchain w/ host gcc >= 9" - depends on !BR2_HOST_GCC_AT_LEAST_9 || \ +comment "python support needs a glibc or musl toolchain w/ gcc >= 9, host gcc >= 9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || !BR2_HOST_GCC_AT_LEAST_9 || \ !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) config BR2_PACKAGE_GNURADIO_SOAPY