Given that we need some SPDX files produced in other recipes by do_create_spdx task, we need to ensure that any of this other do_create_spdx build-time dependencies runs first to produce the artidacts we need in the do_create_spdx of the current recipe.
Fix the following which especially affects multiconfig machines: | ERROR: flex-native-2.6.4-r0 do_create_spdx: Cannot find any SPDX file for recipe autoconf-native, True sstate:autoconf-native:x86_64-linux:2.72c:r0:x86_64:11: sstate:autoconf-native::2.72c:r0::11: Signed-off-by: Jose Quaresma <[email protected]> --- meta/classes/create-spdx-2.2.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass index b0aef80db1..a37245bdba 100644 --- a/meta/classes/create-spdx-2.2.bbclass +++ b/meta/classes/create-spdx-2.2.bbclass @@ -709,6 +709,7 @@ addtask do_create_spdx_setscene do_create_spdx[dirs] = "${SPDXWORK}" do_create_spdx[cleandirs] = "${SPDXDEPLOY} ${SPDXWORK}" do_create_spdx[depends] += "${PATCHDEPENDENCY}" +do_create_spdx[recrdeptask] += "do_create_spdx" def collect_package_providers(d): from pathlib import Path -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#189071): https://lists.openembedded.org/g/openembedded-core/message/189071 Mute This Topic: https://lists.openembedded.org/mt/101942902/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
