[Buildroot] [PATCH 01/29 v2] package/libsigrokdecode: needs python3 w/ zlib support

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Apr 19 15:02:07 UTC 2025


On Wed,  9 Apr 2025 22:03:16 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> Some protocol decoders in libsigrokdecode need the zlib module:
> 
>     srd: ModuleNotFoundError: Failed to load decoder usb_power_delivery: import by name failed: No module named 'zlib'
>     srd: Traceback (most recent call last):
>       File "/usr/share/libsigrokdecode/decoders/usb_power_delivery/__init__.py", line 24, in <module>
>         from .pd import *
>       File "/usr/share/libsigrokdecode/decoders/usb_power_delivery/pd.py", line 24, in <module>
>         import zlib   # for crc32
>         ^^^^^^^^^^^
>     ModuleNotFoundError: No module named 'zlib'
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> ---
>  package/libsigrokdecode/Config.in | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list