DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_package_spdx
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
WARNING: Unable to link http://spdx.org/spdxdocs/gtk+3-1c875670-2352-521a-97c6-08693c6c26e2/7c8624d3e681b57d5e4778db969c8552cc8510d5ee09a13eb2f3139da7d72165/package/gtk_3-dbg/file/19 in TOPDIR/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/gtk+3/3.24.43/spdx/3.0.1/runtime-deploy/cortexa8hf-neon/packages/gtk+3-dbg.spdx.json as TOPDIR/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/gtk+3/3.24.43/spdx/3.0.1/runtime-deploy/cortexa8hf-neon/by-spdxid-link/gtk+3.spdx.json. Already points to ../packages/gtk+3-src.spdx.json
ERROR: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_create_package_spdx(d)
0003:
File: '/srv/pokybuild/yocto-worker/beaglebone/build/meta/classes/create-spdx-3.0.bbclass', lineno: 155, function: do_create_package_spdx
0151:"
0152:
0153:python do_create_package_spdx() {
0154: import oe.spdx30_tasks
*** 0155: oe.spdx30_tasks.create_package_spdx(d)
0156:}
0157:do_create_package_spdx[vardepsexclude] += "OVERRIDES SPDX_MULTILIB_SSTATE_ARCHS"
0158:
0159:addtask do_create_package_spdx after do_create_spdx before do_build do_rm_work
File: '/srv/pokybuild/yocto-worker/beaglebone/build/meta/lib/oe/spdx30_tasks.py', lineno: 870, function: create_package_spdx
0866: oe.spdx30.LifecycleScopeType.runtime,
0867: [oe.sbom30.get_element_link_id(dep) for dep in runtime_spdx_deps],
0868: )
0869:
*** 0870: oe.sbom30.write_recipe_jsonld_doc(d, pkg_objset, "packages", deploydir)
0871:
0872: oe.sbom30.write_recipe_jsonld_doc(d, common_objset, "common-package", deploydir)
0873:
0874:
File: '/srv/pokybuild/yocto-worker/beaglebone/build/meta/lib/oe/sbom30.py', lineno: 1053, function: write_recipe_jsonld_doc
1049: ext = OELinkExtension(link_spdx_id=True)
1050: o.extension.append(ext)
1051:
1052: if ext.link_spdx_id:
*** 1053: ext.link_name = link_id(o._id)
1054:
1055: alias_ext = get_alias(o)
1056: if alias_ext is not None and alias_ext.alias:
1057: alias_ext.link_name = link_id(alias_ext.alias)
File: '/srv/pokybuild/yocto-worker/beaglebone/build/meta/lib/oe/sbom30.py', lineno: 1022, function: link_id
1018: return hash_path[-1]
1019:
1020: try:
1021: link_name.parent.mkdir(exist_ok=True, parents=True)
*** 1022: link_name.symlink_to(os.path.relpath(dest, link_name.parent))
1023: except:
1024: target = link_name.readlink()
1025: bb.warn(
1026: f"Unable to link {_id} in {dest} as {link_name}. Already points to {target}"
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.12/pathlib.py', lineno: 1386, function: symlink_to
1382: Note the order of arguments (link, target) is the reverse of os.symlink.
1383: """
1384: if not hasattr(os, "symlink"):
1385: raise NotImplementedError("os.symlink() not available on this system")
*** 1386: os.symlink(target, self, target_is_directory)
1387:
1388: def hardlink_to(self, target):
1389: """
1390: Make this path a hard link pointing to the same file as *target*.
Exception: FileExistsError: [Errno 17] File exists: '../packages/gtk+3-dbg.spdx.json' -> 'TOPDIR/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/gtk+3/3.24.43/spdx/3.0.1/runtime-deploy/cortexa8hf-neon/by-spdxid-link/gtk+3.spdx.json'
DEBUG: Python function do_create_package_spdx finished