Re: [OE-core][PATCH v4 00/10] Add SPDX 3.0 support

Alexandre Belloni
2024-06-25T15:08:49Z

Hello,

I believe this is the cause of the following failures:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4986/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4989/steps/13/logs/stdio

I'm not sure why they don't have any diffoscope output.

On 24/06/2024 13:10:50-0600, Joshua Watt wrote:
> This patch series add support for SPDX 3.0 and sets it as the default.
> Currently it is not possible to have SPDX 2.2 and SPDX 3.0 enabled at
> the same time
>
> v2: Added tests and addressed feedback
> v3: Fixed several oe-selftest and build failures
> v4: Fixed silly typo mistake in staging.bbclass
>
> Joshua Watt (10):
> classes-recipe/image: Add image file manifest
> classes-recipe/baremetal-image: Add image file manifest
> classes/create-spdx-3.0: Add classes
> classes-global/staging: Exclude do_create_spdx from automatic sysroot
> extension
> binutils-cross-testsuite: Rename to binutils-testsuite
> classes-recipe/image_types: Add SPDX_IMAGE_PURPOSE to images
> selftest: spdx: Add SPDX 3.0 test cases
> classes-recipe: nospdx: Add class
> classes/spdx-common: Move SPDX_SUPPLIER
> Switch default spdx version to 3.0
>
> meta/classes-global/mirrors.bbclass | 2 +-
> meta/classes-global/staging.bbclass | 9 +-
> meta/classes-recipe/baremetal-image.bbclass | 30 +-
> meta/classes-recipe/image.bbclass | 58 +
> meta/classes-recipe/image_types.bbclass | 2 +
> meta/classes-recipe/image_types_wic.bbclass | 1 +
> meta/classes-recipe/nospdx.bbclass | 13 +
> meta/classes-recipe/packagegroup.bbclass | 2 +
> meta/classes/create-spdx-2.2.bbclass | 8 +
> meta/classes/create-spdx-3.0.bbclass | 1179 ++++
> meta/classes/create-spdx-image-3.0.bbclass | 224 +
> meta/classes/create-spdx.bbclass | 2 +-
> meta/classes/spdx-common.bbclass | 13 +-
> meta/conf/distro/include/maintainers.inc | 2 +-
> meta/lib/oe/sbom30.py | 1122 +++
> meta/lib/oe/spdx30.py | 5996 +++++++++++++++++
> meta/lib/oeqa/selftest/cases/binutils.py | 2 +-
> meta/lib/oeqa/selftest/cases/spdx.py | 119 +-
> meta/recipes-core/meta/build-sysroots.bb | 5 +-
> meta/recipes-core/meta/meta-world-pkgdata.bb | 3 +-
> ...ite_2.42.bb => binutils-testsuite_2.42.bb} | 3 +
> 21 files changed, 8765 insertions(+), 30 deletions(-)
> create mode 100644 meta/classes-recipe/nospdx.bbclass
> create mode 100644 meta/classes/create-spdx-3.0.bbclass
> create mode 100644 meta/classes/create-spdx-image-3.0.bbclass
> create mode 100644 meta/lib/oe/sbom30.py
> create mode 100644 meta/lib/oe/spdx30.py
> rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.42.bb => binutils-testsuite_2.42.bb} (95%)
>
> --
> 2.43.2
>

>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#201102): https://lists.openembedded.org/g/openembedded-core/message/201102
> Mute This Topic: https://lists.openembedded.org/mt/106856868/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering