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/build/tmp/work/cortexa57-yoe-linux/floret/0.10.5/spdx/3.0.1/runtime-deploy/cortexa57/packages/package-libfloret0.spdx.json as TOPDIR/build/tmp/work/cortexa57-yoe-linux/floret/0.10.5/spdx/3.0.1/runtime-deploy/cortexa57/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: 'TOPDIR/sources/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: 'TOPDIR/sources/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: 'TOPDIR/sources/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: 'TOPDIR/sources/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.13/pathlib/_local.py', lineno: 791, function: symlink_to
     0787:            """
     0788:            Make this path a symlink pointing to the target path.
     0789:            Note the order of arguments (link, target) is the reverse of os.symlink.
     0790:            """
 *** 0791:            os.symlink(target, self, target_is_directory)
     0792:
     0793:    if hasattr(os, "link"):
     0794:        def hardlink_to(self, target):
     0795:            """
Exception: FileExistsError: [Errno 17] File exists: '../../packages/package-libfloret0.spdx.json' -> 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/floret/0.10.5/spdx/3.0.1/runtime-deploy/cortexa57/by-spdxid-hash/1f/1fa84d8c6ac575b9f7ef88fa614c44dbaaf1922f0fdf92d9986f3081094b7732.spdx.json'

DEBUG: Python function do_create_package_spdx finished

Error details

Submitted on:
31/08/26 08:00
Error type:
Recipe
Task:
do_create_package_spdx
Recipe:
floret
Recipe version:
0.10.5-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
aarch64-linux
Target system:
aarch64-yoe-linux
Host distro:
universal/debian-13
Branch:
HEAD
Commit:
1631a0af2989e87f7cb918ebd24d9849bb35989a
Build:
#248882
Submitter:
info@yoedistro.org
Similar errors:
0
Open a bug