| Summary: | create-spdx-2.2.bbclass broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Michael Opdenacker <michael.opdenacker> | ||||
| Component: | oe-core other | Assignee: | Joshua Watt <JPEWhacker> | ||||
| Status: | RESOLVED NOTABUG | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | Medium | CC: | ccasciato, JPEWhacker, michael.opdenacker, randy.macleod | ||||
| Version: | 5.2 | ||||||
| Target Milestone: | 5.3 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
Joshua to comment on the mix of spdx2/3. Something doesn't add up here, because the error file is SPDX 3.0.1, not SPDX 2.2. I'm wondering if maybe you didn't switch from SPDX 3 to SPDX 2 properly? Hi Joshua I confirm I have this issue with just this in conf/local.conf: INHERIT += "create-spdx-2.2" Can you try to reproduce this? Cheers Michael. Ya, I think you're getting both SPDX 2.2 and SPDX 3.0 at the same time (which is not supported). Try adding: INHERIT:remove = "create-spdx" To remove the creation of the default SPDX 3.0. I realize this is probably not ideal, but we've not really had a good proposal for how to let users choose this. Hi Joshua I confirm that your suggestion works. I'll post an update to the documentation to make users aware of this. Thanks! Michael. By the way, comparing with the current documentation, to update it. I no longer see a toplevel <IMAGE>-<MACHINE>.spdx.json file but only tmp/deploy/images/<machine>/<image>-<machine>.rootfs.spdx.tar.zst archive of indidividual JSON files. Is this the expected output for SPDX 2.2? See previous comments. |
Created attachment 5114 [details] create-spdx-2.2 error log Greetings, It seems that create-spdx-2.2.bbclass is broken now. When I try to build "core-image-minimal" on poky master, I get this error: Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/mike/work/yocto/poky/build/tmp/deploy/spdx/3.0.1/core2-64/packages/nettle-src.spdx.json' Time to stop maintaining this version of the class? Cheers Michael