Bug 15737

Summary: AB-INT: do_create_image_sbom_spdx: <file> not found in .spdx.json
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: coreAssignee: Joshua Watt <JPEWhacker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, ross.burton
Version: 5.99   
Target Milestone: 5.3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2025-02-06 14:39:39 UTC
We had this issue twice both on oe-selftest builds, once during imagefeatures.ImageFeatures.test_mandb test, once during incompatible_lic.NoGPL3InImagesTests.test_core_image_full_cmdline_weston.

ERROR: core-image-minimal-1.0-r0 do_create_image_sbom_spdx: http://spdxdocs.org/openembedded-alias/by-doc-hash/139fb061447311138a3051230884af6c86a0aefdef8fe959bf0aca5b330d6ca3/ncurses/UNIHASH/package/ncurses-terminfo-base/file/5 not found in /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3128976/tmp/deploy/spdx/3.0.1/core2-64/by-spdxid-hash/13/139fb061447311138a3051230884af6c86a0aefdef8fe959bf0aca5b330d6ca3.spdx.json
Comment 1 Mathieu Dubois-Briand 2025-02-06 14:58:34 UTC
oe-selftest-ubuntu ubuntu2004-vk-3 mathieu/master-next completed at 2025-02-05T10:13:33Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/903/steps/14/logs/stdio

oe-selftest-fedora fedora40-vk-2 master completed at 2025-02-06T03:07:08Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/869/steps/14/logs/stdio
Comment 2 Randy MacLeod 2025-02-06 15:40:53 UTC
If seen again, please archive the logs or ping Joshua or RP on IRC.
Comment 3 Ross Burton 2025-02-12 21:30:30 UTC
Our CI can produce this on demand.  I'll try and extract logs from it...
Comment 4 Mathieu Dubois-Briand 2025-02-13 15:17:07 UTC
oe-selftest-ubuntu ubuntu2004-vk-3 mathieu/master-next completed at 2025-02-11T12:04:58Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/949/steps/14/logs/stdio

oe-selftest-fedora fedora39-vk-1 mathieu/master-next completed at 2025-02-13T11:33:44Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/922/steps/14/logs/stdio

oe-selftest-ubuntu ubuntu2004-vk-1 mathieu/master-next completed at 2025-02-13T13:20:16Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/964/steps/14/logs/stdio
Comment 5 Randy MacLeod 2026-01-29 16:08:14 UTC
Not clear during the bug review meeting what the fix is 
but Joshua may dig it up and add a comment.
Comment 6 Joshua Watt 2026-01-29 16:11:28 UTC
Probably fixed in eb597bf61c ("lib: Fix dependencies on SPDX code")