From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>,
Asaf Kahlon <asafka7@gmail.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 3/5] package/python-uswid: new host package
Date: Thu, 18 Jul 2024 23:38:07 +0200 [thread overview]
Message-ID: <20240718233807.1027677e@windsurf> (raw)
In-Reply-To: <20240716175037.1844929-3-james.hilliard1@gmail.com>
Hello James,
On Tue, 16 Jul 2024 11:50:35 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> package/python-uswid/python-uswid.hash | 5 +++++
> package/python-uswid/python-uswid.mk | 18 ++++++++++++++++++
> 2 files changed, 23 insertions(+)
> create mode 100644 package/python-uswid/python-uswid.hash
> create mode 100644 package/python-uswid/python-uswid.mk
Thanks for this new iteration. However, fwupd-efi still fails to build,
which I believe is due to a missing feature in host-python3:
>>> fwupd-efi 1.6 Building
GIT_DIR=. PATH="/home/thomas/projets/buildroot/output/host/bin:/home/thomas/projets/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/thomas/projets/buildroot/output/host/bin/ninja -C /home/thomas/projets/buildroot/output/build/fwupd-efi-1.6//build
ninja: Entering directory `/home/thomas/projets/buildroot/output/build/fwupd-efi-1.6//build'
[4/9] Generating efi/fwup-sbom.o with a custom command
FAILED: efi/fwup-sbom.o
/home/thomas/projets/buildroot/output/host/bin/uswid --cc /home/thomas/projets/buildroot/output/host/bin/arm-linux-gcc --objcopy /home/thomas/projets/buildroot/output/host/bin/arm-linux-objcopy --load efi/swid.xml --save efi/fwup-sbom.o
Traceback (most recent call last):
File "/home/thomas/projets/buildroot/output/host/bin/uswid", line 5, in <module>
from uswid.cli import main
File "/home/thomas/projets/buildroot/output/host/lib/python3.12/site-packages/uswid/__init__.py", line 29, in <module>
from uswid.format_uswid import uSwidFormatUswid
File "/home/thomas/projets/buildroot/output/host/lib/python3.12/site-packages/uswid/format_uswid.py", line 14, in <module>
import lzma
File "/home/thomas/projets/buildroot/output/host/lib/python3.12/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
[7/9] Generating efi/fwupdate.o with a custom command
ninja: build stopped: subcommand failed.
So it looks like host-python-uswid should select a (to be introduced)
BR2_PACKAGE_HOST_PYTHON3_XZ option?
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
next prev parent reply other threads:[~2024-07-18 21:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 17:50 [Buildroot] [PATCH v3 1/5] package/python-pefile: new host package James Hilliard
2024-07-16 17:50 ` [Buildroot] [PATCH v3 2/5] package/python-cbor2: enable host build James Hilliard
2024-07-16 17:50 ` [Buildroot] [PATCH v3 3/5] package/python-uswid: new host package James Hilliard
2024-07-18 21:38 ` Thomas Petazzoni via buildroot [this message]
2024-07-16 17:50 ` [Buildroot] [PATCH v3 4/5] package/fwupd-efi: new package James Hilliard
2024-07-16 17:50 ` [Buildroot] [PATCH v3 5/5] package/fwupd: " James Hilliard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240718233807.1027677e@windsurf \
--to=buildroot@buildroot.org \
--cc=asafka7@gmail.com \
--cc=eric.le.bihan.dev@free.fr \
--cc=james.hilliard1@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.