From: Andres Beltran <abeltran@linux.microsoft.com>
To: raj.khem@gmail.com
Cc: yocto@lists.yoctoproject.org, Saul.Wold@windriver.com,
Joshua Watt <jpewhacker@gmail.com>
Subject: Re: [yocto] spdx: Extending SPDX SBOMs for SDKs
Date: Wed, 5 Jan 2022 16:59:52 -0500 [thread overview]
Message-ID: <ee24bf2e-8fcc-e44c-aeed-950e0e826b8d@linux.microsoft.com> (raw)
In-Reply-To: <CAJdd5GYxf3HgrgnExCY9HQb_tHR_uqOs-j+ZH859Ah+Ljw_NfA@mail.gmail.com>
+ Khem Raj (clang recipes)
On 12/15/2021 5:45 PM, Joshua Watt wrote:
> On Wed, Dec 15, 2021 at 3:33 PM Andres Beltran
> <abeltran@linux.microsoft.com> wrote:
>> + Joshua, Saul
>>
>> On 12/6/2021 6:54 PM, Andres Beltran wrote:
>>
>> 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'])
> Looks like the loop is:
> nativesdk-clang-glue.bb:do_create_spdx ->
> clang_git.bb:do_create_spdx -> clang-crosssdk_git.bb:do_create_spdx ->
> nativesdk-clang-glue.bb:do_create_spdx
>
> I don't know enough about the clang recipes to be able to help you
> much beyond that however
>
>>
>>
>> Any help on this would be appreciated.
>>
>>
>>
>> Thanks,
>>
>> Andres Beltran
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#55489): https://lists.yoctoproject.org/g/yocto/message/55489
>> Mute This Topic: https://lists.yoctoproject.org/mt/87554396/6294599
>> Group Owner: yocto+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [abeltran@linux.microsoft.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
prev parent reply other threads:[~2022-01-05 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <16BE4FA6969E32DE.28785@lists.yoctoproject.org>
2021-12-15 21:33 ` [yocto] spdx: Extending SPDX SBOMs for SDKs Andres Beltran
2021-12-15 22:45 ` Joshua Watt
2022-01-05 21:59 ` Andres Beltran [this message]
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=ee24bf2e-8fcc-e44c-aeed-950e0e826b8d@linux.microsoft.com \
--to=abeltran@linux.microsoft.com \
--cc=Saul.Wold@windriver.com \
--cc=jpewhacker@gmail.com \
--cc=raj.khem@gmail.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.