package/gr-osmosdr: add host-python-six dependency needed for generating Python bindings
PATCH 1/1 package/gr-osmosdr: add host-python-six dependency needed for generating Python bindings
Compiling gr-osmosdr when Python3 support is active fails with
ModuleNotFoundError: No module named 'six'
make[3]: *** [python/bindings/CMakeFiles/osmosdr_docstrings.dir/build.make:73: python/bindings/docstring_status] Error 1
when generating the Python bindings. The following patch solves the problem.
--- package/gr-osmosdr/gr-osmosdr.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/gr-osmosdr/gr-osmosdr.mk +1 -1
@@ -24,7 +24,7 @@ GR_OSMOSDR_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y) GR_OSMOSDR_CONF_OPTS += -DENABLE_PYTHON=ON -GR_OSMOSDR_DEPENDENCIES += python3 +GR_OSMOSDR_DEPENDENCIES += python3 host-python-six else GR_OSMOSDR_CONF_OPTS += -DENABLE_PYTHON=OFF endif
Signature · 5 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Jean-Michel,
Quoted 5 lines · On Thu, 11 Apr 2024 14:07:43 +0200 (CEST) [email protected] wrote:
Compiling gr-osmosdr when Python3 support is active fails with
ModuleNotFoundError: No module named 'six'
make[3]: *** [python/bindings/CMakeFiles/osmosdr_docstrings.dir/build.make:73: python/bindings/docstring_status] Error 1
Quoted 7 lines
when generating the Python bindings. The following patch solves the problem.
Signed-off-by Jean-Michel Friedt <[email protected]>--- package/gr-osmosdr/gr-osmosdr.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for the patch. However, I have applied a similar patch which was submitted earlier by Martin Böh:
https://gitlab.com/buildroot.org/buildroot/-/commit/cfda1f0b87ebfb7686b82f319c531d4d28fdfd67
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot