All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andres Beltran <abeltran@linux.microsoft.com>
To: yocto@lists.yoctoproject.org
Subject: spdx: Extending SPDX SBOMs for SDKs
Date: Mon, 6 Dec 2021 18:54:49 -0500	[thread overview]
Message-ID: <5e48a03f-d635-0b49-29a0-ea9bb3bc8bb6@linux.microsoft.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2062 bytes --]

Hello,


I've been working on extending SPDX SBOMs for SDKs. In 
poky/meta/classes/create-spdx.bbclass I added:

/do_populate_sdk[recrdeptask] += "do_create_spdx do_create_runtime_spdx"/

I ran into a dependency loop when I try to build an SDK that contains 
nativesdk-clang (it works fine for other SDKs):

/ERROR: /

//

/Dependency loop #1 found:/

//

/Task 
mc:lnx-sdk:/__w/1/s/sources/poky/../meta-clang/recipes-devtools/clang/clang-crosssdk_git.bb:do_create_spdx 
(dependent Tasks ['glibc_2.31.bb:do_create_spdx', 
'binutils-crosssdk_2.34.bb:do_create_spdx', 
'clang_git.bb:do_create_spdx', 
'quilt-native_0.66.bb:do_populate_sysroot', 
'nativesdk-clang-glue.bb:do_create_spdx'])/

//

//

//

/Task 
mc:lnx-sdk:virtual:nativesdk:/__w/1/s/sources/poky/../meta-clang/recipes-devtools/clang/clang_git.bb:do_create_spdx 
(dependent Tasks ['clang_git.bb:do_packagedata', 
'cmake-native_3.16.5.bb:do_create_spdx', 
'swig_3.0.12.bb:do_create_spdx', 
'libedit_20191231-3.1.bb:do_create_spdx', 
'binutils-crosssdk_2.34.bb:do_create_spdx', 
'chrpath_0.16.bb:do_create_spdx', 'libffi_3.3.bb:do_create_spdx', 
'clang-crosssdk_git.bb:do_create_spdx', 'zlib_1.2.11.bb:do_create_spdx', 
'clang_git.bb:do_package', 'python3_3.8.2.bb:do_create_spdx', 
'libxml2_2.9.10.bb:do_create_spdx', 'python3_3.8.2.bb:do_create_spdx', 
'pkgconfig_git.bb:do_create_spdx', 'binutils_2.34.bb:do_create_spdx', 
'quilt-native_0.66.bb:do_populate_sysroot', 
'libedit_20191231-3.1.bb:do_create_spdx', 
'libxml2_2.9.10.bb:do_create_spdx', 'ninja_1.10.0.bb:do_create_spdx'])/

//

//

//

/Task 
mc:lnx-sdk:/__w/1/s/sources/poky/../meta-clang/recipes-devtools/clang/nativesdk-clang-glue.bb:do_create_spdx 
(dependent Tasks ['gcc-runtime_9.3.bb:do_create_spdx', 
'glibc_2.31.bb:do_create_spdx', 'nativesdk-clang-glue.bb:do_package', 
'gcc-crosssdk_9.3.bb:do_create_spdx', 'chrpath_0.16.bb:do_create_spdx', 
'quilt-native_0.66.bb:do_populate_sysroot', 
'nativesdk-clang-glue.bb:do_packagedata', 'clang_git.bb:do_create_spdx'])/

Any help on this would be appreciated.

Thanks,

Andres Beltran


[-- Attachment #2: Type: text/html, Size: 4095 bytes --]

                 reply	other threads:[~2021-12-06 23:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5e48a03f-d635-0b49-29a0-ea9bb3bc8bb6@linux.microsoft.com \
    --to=abeltran@linux.microsoft.com \
    --cc=yocto@lists.yoctoproject.org \
    /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.