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
DEBUG: Searching for libc6
DEBUG: Searching for libstdc++6
DEBUG: Searching for libfloret0
WARNING: Unable to link http://spdxdocs.org/openembedded-alias/doc/floret/package-libfloret0/floret/UNIHASH/document/package-libfloret0 in TOPDIR/tmp/work/x86-64-v3-poky-linux/floret/0.10.5/spdx/3.0.1/runtime-deploy/x86-64-v3/packages/package-libfloret0.spdx.json as TOPDIR/tmp/work/x86-64-v3-poky-linux/floret/0.10.5/spdx/3.0.1/runtime-deploy/x86-64-v3/by-spdxid-hash/1f/1fa84d8c6ac575b9f7ef88fa614c44dbaaf1922f0fdf92d9986f3081094b7732.spdx.json. Already points to ../../packages/package-libfloret0.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/meta-oe/build/layers/openembedded-core/meta/classes/create-spdx-3.0.bbclass', lineno: 247, function: do_create_package_spdx
0243:addtask do_create_spdx_setscene
0244:
0245:python do_create_package_spdx() {
0246: import oe.spdx30_tasks
*** 0247: oe.spdx30_tasks.create_package_spdx(d)
0248:}
0249:oe.spdx30_tasks.create_package_spdx[vardepsexclude] = "OVERRIDES"
0250:
0251:addtask do_create_package_spdx after do_create_spdx before do_build do_rm_work
File: '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/lib/oe/spdx30_tasks.py', lineno: 1203, function: create_package_spdx
1199: oe.spdx30.LifecycleScopeType.runtime,
1200: [oe.sbom30.get_element_link_id(dep) for dep in runtime_spdx_deps],
1201: )
1202:
*** 1203: oe.sbom30.write_recipe_jsonld_doc(d, pkg_objset, "packages", deploydir)
1204:
1205: oe.sbom30.write_recipe_jsonld_doc(d, common_objset, "common-package", deploydir)
1206:
1207:
File: '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/lib/oe/sbom30.py', lineno: 1096, function: write_recipe_jsonld_doc
1092: try:
1093: if create_spdx_id_links:
1094: alias_ext = get_alias(objset.doc)
1095: if alias_ext is not None and alias_ext.alias:
*** 1096: alias_ext.link_name = link_id(alias_ext.alias)
1097:
1098: finally:
1099: # It is really helpful for debugging if the JSON document is written
1100: # out, so always do that even if there is an error making the links
File: '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/lib/oe/sbom30.py', lineno: 1080, function: link_id
1076: deploydir=deploydir,
1077: )
1078: try:
1079: link_name.parent.mkdir(exist_ok=True, parents=True)
*** 1080: link_name.symlink_to(os.path.relpath(dest, link_name.parent))
1081: except:
1082: target = link_name.readlink()
1083: bb.warn(
1084: f"Unable to link {_id} in {dest} as {link_name}. Already points to {target}"
File: '/usr/lib/python3.11/pathlib.py', lineno: 1199, function: symlink_to
1195: Note the order of arguments (link, target) is the reverse of os.symlink.
1196: """
1197: if not hasattr(os, "symlink"):
1198: raise NotImplementedError("os.symlink() not available on this system")
*** 1199: os.symlink(target, self, target_is_directory)
1200:
1201: def hardlink_to(self, target):
1202: """
1203: Make this path a hard link pointing to the same file as *target*.
Exception: FileExistsError: [Errno 17] File exists: '../../packages/package-libfloret0.spdx.json' -> 'TOPDIR/tmp/work/x86-64-v3-poky-linux/floret/0.10.5/spdx/3.0.1/runtime-deploy/x86-64-v3/by-spdxid-hash/1f/1fa84d8c6ac575b9f7ef88fa614c44dbaaf1922f0fdf92d9986f3081094b7732.spdx.json'
DEBUG: Python function do_create_package_spdx finished