All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gr-osmosdr: add host-python-six dependency needed for generating Python bindings
@ 2024-04-11 12:07 friedtj
  2024-05-12  7:57 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: friedtj @ 2024-04-11 12:07 UTC (permalink / raw)
  To: buildroot; +Cc: gwenhael.goavec-merou

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.


Signed-off-by: Jean-Michel Friedt <jmfriedt@femto-st.fr>
---
 package/gr-osmosdr/gr-osmosdr.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gr-osmosdr/gr-osmosdr.mk b/package/gr-osmosdr/gr-osmosdr.mk
index 8491c005d8..316ed80887 100644
--- a/package/gr-osmosdr/gr-osmosdr.mk
+++ b/package/gr-osmosdr/gr-osmosdr.mk
@@ -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
-- 
2.43.0
_______________________________________________
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] [PATCH 1/1] package/gr-osmosdr: add host-python-six dependency needed for generating Python bindings
  2024-04-11 12:07 [Buildroot] [PATCH 1/1] package/gr-osmosdr: add host-python-six dependency needed for generating Python bindings friedtj
@ 2024-05-12  7:57 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-12  7:57 UTC (permalink / raw)
  To: friedtj; +Cc: gwenhael.goavec-merou, buildroot

Hello Jean-Michel,

On Thu, 11 Apr 2024 14:07:43 +0200 (CEST)
friedtj@free.fr 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
> 
> when generating the Python bindings. The following patch solves the problem.
> 
> 
> Signed-off-by: Jean-Michel Friedt <jmfriedt@femto-st.fr>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
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-05-12  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 12:07 [Buildroot] [PATCH 1/1] package/gr-osmosdr: add host-python-six dependency needed for generating Python bindings friedtj
2024-05-12  7:57 ` Thomas Petazzoni via buildroot

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.