From: Paul Eggleton <bluelightning@bluelightning.org>
To: openembedded-core@lists.openembedded.org,
Joshua Watt <jpewhacker@gmail.com>
Subject: create-spdx and sstate
Date: Fri, 06 Jan 2023 09:32:42 +1300 [thread overview]
Message-ID: <4769387.GXAFRqVoOG@linc> (raw)
Hi Joshua / all
We've been having an issue with the create-spdx class if we share sstate
between two configurations - one where gcc-cross-<arch> has a dependency and
one where it doesn't (specifically, one where the abicheck class in meta-
binaryaudit is inherited and the other where it isn't; that influences
DEPENDS). The result is that if you build the configuration with the dependency
then the one where it doesn't (in separate build dirs with the same sstate
cache), image_combine_spdx fails because it can't find the SPDX data file for
the dependency as it was not built in the second configuration.
It seems that create-spdx looks at BB_TASKDEPDATA to get dependencies and then
adds BB_TASKDEPDATA to vardepsexclude, thus the dependencies changing does not
cause the task to be re-executed. However, I assume a variable dependency on
BB_TASKDEPDATA might be impractical, thus why it was excluded in the first
place. Do we instead add an explicit dependency on DEPENDS? I'm happy to come
up with a patch if we can determine what the correct fix is.
(FWIW we're still using dunfell, but I don't see any changes in master that
alter this particular behaviour.)
Thanks
Paul
next reply other threads:[~2023-01-05 20:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-05 20:32 Paul Eggleton [this message]
2023-01-06 18:16 ` create-spdx and sstate Joshua Watt
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=4769387.GXAFRqVoOG@linc \
--to=bluelightning@bluelightning.org \
--cc=jpewhacker@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox