Skip to contentSkip to conversation

package/gr-osmosdr: add host-python-six dependency needed for generating Python bindings

PATCH In review [email protected] 2 participants 2 messages Apr 11, 2024 – May 12, 2024

lore
Share & tools
lore
#0 lore raw

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
index 8491c005d8..316ed80887 100644
@@ -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
#1 lore raw

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.

---
 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