All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support
@ 2023-02-23 20:17 Martin Böh via buildroot
  2023-02-23 22:13 ` Thomas Petazzoni via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Martin Böh via buildroot @ 2023-02-23 20:17 UTC (permalink / raw)
  To: buildroot; +Cc: Martin Böh, Gwenhael Goavec-Merou

Osmosdr failed to build docs when python support is enabled.
[ 41%] Copying osmosdr docstring templates as pybind headers ...
Traceback (most recent call last):
  File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/update_pydoc.py", line 22, in <module>
    from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile
  File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/__init__.py", line 69, in <module>
    from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
  File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/doxyindex.py", line 31, in <module>
    from .generated import index
  File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/index.py", line 13, in <module>
    from . import compound
  File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compound.py", line 15, in <module>
    from . import compoundsuper as supermod
  File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compoundsuper.py", line 15, in <module>
    import six
ModuleNotFoundError: No module named 'six'
make[2]: *** [python/bindings/CMakeFiles/osmosdr_docstrings.dir/build.make:73: python/bindings/docstring_status] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:332: python/bindings/CMakeFiles/osmosdr_docstrings.dir/all] Fehler 2

Signed-off-by: Martin Böh <contact@martb.dev>
---
 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 89907c1baa..b96a32a221 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_GR_OSMOSDR_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.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support
  2023-02-23 20:17 [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support Martin Böh via buildroot
@ 2023-02-23 22:13 ` Thomas Petazzoni via buildroot
  2024-05-12  7:56 ` Thomas Petazzoni via buildroot
  2024-06-08 10:56 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-23 22:13 UTC (permalink / raw)
  To: Martin Böh via buildroot; +Cc: Gwenhael Goavec-Merou, Martin Böh

Hello Martin,

On Thu, 23 Feb 2023 21:17:33 +0100
Martin Böh via buildroot <buildroot@buildroot.org> wrote:

> Osmosdr failed to build docs when python support is enabled.
> [ 41%] Copying osmosdr docstring templates as pybind headers ...
> Traceback (most recent call last):
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/update_pydoc.py", line 22, in <module>
>     from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/__init__.py", line 69, in <module>
>     from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/doxyindex.py", line 31, in <module>
>     from .generated import index
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/index.py", line 13, in <module>
>     from . import compound
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compound.py", line 15, in <module>
>     from . import compoundsuper as supermod
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compoundsuper.py", line 15, in <module>
>     import six
> ModuleNotFoundError: No module named 'six'
> make[2]: *** [python/bindings/CMakeFiles/osmosdr_docstrings.dir/build.make:73: python/bindings/docstring_status] Fehler 1
> make[1]: *** [CMakeFiles/Makefile2:332: python/bindings/CMakeFiles/osmosdr_docstrings.dir/all] Fehler 2
> 
> Signed-off-by: Martin Böh <contact@martb.dev>

Is there potentially a way to disable building documentation instead?
Of course, adding host-python-six in the dependencies is not a huge
deal, but we really don't care about building documentation in the
context of Buildroot.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support
       [not found] <e1ff72dc-06fc-db71-dd1d-64d5d2cf96b3@familie-boeh.de>
@ 2023-02-24  1:04 ` Martin Böh via buildroot
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Böh via buildroot @ 2023-02-24  1:04 UTC (permalink / raw)
  To: Martin Böh via buildroot

Hey Thomas,

thanks for taking a look.
Sadly this is part of the pybind11 build process and there is no way to 
get rid of these docs, the ENABLE_DOXYGEN does not affect it.
I found no viable solution to get rid of them. Same with gnuradio, it 
also has a lot of docs that cant be disabled.

Kind regards,
Martin Böh

Am 23.02.23 um 23:13 schrieb Thomas Petazzoni:
> Hello Martin,
>
> On Thu, 23 Feb 2023 21:17:33 +0100
> Martin Böh via buildroot <buildroot@buildroot.org> wrote:
>
>> Osmosdr failed to build docs when python support is enabled.
>> [ 41%] Copying osmosdr docstring templates as pybind headers ...
>> Traceback (most recent call last):
>>    File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/update_pydoc.py", line 22, in <module>
>>      from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile
>>    File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/__init__.py", line 69, in <module>
>>      from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
>>    File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/doxyindex.py", line 31, in <module>
>>      from .generated import index
>>    File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/index.py", line 13, in <module>
>>      from . import compound
>>    File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compound.py", line 15, in <module>
>>      from . import compoundsuper as supermod
>>    File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compoundsuper.py", line 15, in <module>
>>      import six
>> ModuleNotFoundError: No module named 'six'
>> make[2]: *** [python/bindings/CMakeFiles/osmosdr_docstrings.dir/build.make:73: python/bindings/docstring_status] Fehler 1
>> make[1]: *** [CMakeFiles/Makefile2:332: python/bindings/CMakeFiles/osmosdr_docstrings.dir/all] Fehler 2
>>
>> Signed-off-by: Martin Böh <contact@martb.dev>
> Is there potentially a way to disable building documentation instead?
> Of course, adding host-python-six in the dependencies is not a huge
> deal, but we really don't care about building documentation in the
> context of Buildroot.
>
> Best regards,
>
> Thomas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support
  2023-02-23 20:17 [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support Martin Böh via buildroot
  2023-02-23 22:13 ` Thomas Petazzoni via buildroot
@ 2024-05-12  7:56 ` Thomas Petazzoni via buildroot
  2024-06-08 10:56 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-12  7:56 UTC (permalink / raw)
  To: Martin Böh via buildroot; +Cc: Gwenhael Goavec-Merou, Martin Böh

On Thu, 23 Feb 2023 21:17:33 +0100
Martin Böh via buildroot <buildroot@buildroot.org> wrote:

> Osmosdr failed to build docs when python support is enabled.
> [ 41%] Copying osmosdr docstring templates as pybind headers ...
> Traceback (most recent call last):
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/update_pydoc.py", line 22, in <module>
>     from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/__init__.py", line 69, in <module>
>     from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/doxyindex.py", line 31, in <module>
>     from .generated import index
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/index.py", line 13, in <module>
>     from . import compound
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compound.py", line 15, in <module>
>     from . import compoundsuper as supermod
>   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compoundsuper.py", line 15, in <module>
>     import six
> ModuleNotFoundError: No module named 'six'
> make[2]: *** [python/bindings/CMakeFiles/osmosdr_docstrings.dir/build.make:73: python/bindings/docstring_status] Fehler 1
> make[1]: *** [CMakeFiles/Makefile2:332: python/bindings/CMakeFiles/osmosdr_docstrings.dir/all] Fehler 2
> 
> Signed-off-by: Martin Böh <contact@martb.dev>
> ---
>  package/gr-osmosdr/gr-osmosdr.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master after adding a reference to the autobuilder failure
being fixed. Thanks, and sorry for the super long delay!

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] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support
  2023-02-23 20:17 [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support Martin Böh via buildroot
  2023-02-23 22:13 ` Thomas Petazzoni via buildroot
  2024-05-12  7:56 ` Thomas Petazzoni via buildroot
@ 2024-06-08 10:56 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2024-06-08 10:56 UTC (permalink / raw)
  To: Martin Böh via buildroot; +Cc: Gwenhael Goavec-Merou, Martin Böh

>>>>> "Martin" == Martin Böh via buildroot <buildroot@buildroot.org> writes:

 > Osmosdr failed to build docs when python support is enabled.
 > [ 41%] Copying osmosdr docstring templates as pybind headers ...
 > Traceback (most recent call last):
 >   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/update_pydoc.py", line 22, in <module>
 >     from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile
 >   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/__init__.py", line 69, in <module>
 >     from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
 >   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/doxyindex.py", line 31, in <module>
 >     from .generated import index
 >   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/index.py", line 13, in <module>
 >     from . import compound
 >   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compound.py", line 15, in <module>
 >     from . import compoundsuper as supermod
 >   File "/home/martb/Schreibtisch/DiscoSAT/satos/output/build/gr-osmosdr-0.2.4/docs/doxygen/doxyxml/generated/compoundsuper.py", line 15, in <module>
 >     import six
 > ModuleNotFoundError: No module named 'six'
 > make[2]: *** [python/bindings/CMakeFiles/osmosdr_docstrings.dir/build.make:73: python/bindings/docstring_status] Fehler 1
 > make[1]: *** [CMakeFiles/Makefile2:332: python/bindings/CMakeFiles/osmosdr_docstrings.dir/all] Fehler 2

 > Signed-off-by: Martin Böh <contact@martb.dev>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-08 10:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-23 20:17 [Buildroot] [PATCH 1/1] package/gr-osmosdr: add missing host-python-six dependency to python support Martin Böh via buildroot
2023-02-23 22:13 ` Thomas Petazzoni via buildroot
2024-05-12  7:56 ` Thomas Petazzoni via buildroot
2024-06-08 10:56 ` Peter Korsgaard
     [not found] <e1ff72dc-06fc-db71-dd1d-64d5d2cf96b3@familie-boeh.de>
2023-02-24  1:04 ` Martin Böh 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.