On Tue Feb 24, 2026 at 4:53 PM CET, Benjamin Robin wrote: > - Part of the dependency chain for sbom-cve-check > > Signed-off-by: Benjamin Robin <[email protected]> > --- > ...enerate-bindings-allow-to-use-local-files.patch | 58 > ++++++++++++++++++++++ > .../python/python3-spdx-python-model_0.0.4.bb | 37 ++++++++++++++ > 2 files changed, 95 insertions(+) > > diff --git > a/meta/recipes-devtools/python/python3-spdx-python-model/0001-generate-bindings-allow-to-use-local-files.patch > > b/meta/recipes-devtools/python/python3-spdx-python-model/0001-generate-bindings-allow-to-use-local-files.patch > new file mode 100644 > index 000000000000..ec24d7beb3c5 > --- /dev/null > +++ > b/meta/recipes-devtools/python/python3-spdx-python-model/0001-generate-bindings-allow-to-use-local-files.patch > @@ -0,0 +1,58 @@ > +From 9fb565a0a70c6985fa1efde13cfe7fb4851588ce Mon Sep 17 00:00:00 2001 > +From: Benjamin Robin <[email protected]> > +Date: Tue, 24 Feb 2026 10:59:25 +0100 > +Subject: [PATCH] generate-bindings: allow to use local files > + > +shacl2code needs to download the following URLs during build time: > + - https://spdx.org/rdf/3.0.1/spdx-model.ttl > + - https://spdx.org/rdf/3.0.1/spdx-json-serialize-annotations.ttl > + - https://spdx.org/rdf/3.0.1/spdx-context.jsonld > + > +There are a lot of package build tools that do not allow to download > +a file during the build. So provide a way to use local file: > +If the environment variable SHACL2CODE_SPDX_DIR is defined, load > +the SPDX model and SPDX context from the directory specified by this > +environment variable. > + > +Upstream-Status: Submitted > [https://github.com/spdx/spdx-python-model/pull/19] > + > +Signed-off-by: Benjamin Robin <[email protected]> > +---
Hi Benjamin, Thanks for your patch. It looks like there is some dependency issue with this recipe. We get the following error on the autobuilder: ERROR: python3-spdx-python-model-0.0.4-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/python3-spdx-python-model/0.0.4/temp/run.do_compile.2119994' failed with exit code 1 ... Log data follows: | DEBUG: Executing shell function do_compile | * Getting build dependencies for wheel... | | ERROR Missing dependencies: | shacl2code==0.0.24 | hatch-build-scripts | WARNING: exit code 1 from a shell command. NOTE: recipe lib32-python3-spdx-python-model-0.0.4-r0: task do_compile: Failed https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/3246 https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/3078 https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3299 Can you have a look at the issue? Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#231944): https://lists.openembedded.org/g/openembedded-core/message/231944 Mute This Topic: https://lists.openembedded.org/mt/117977987/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
