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/pcmanfm-4e46b9a6-eab8-5883-bc71-adb7836ef1e7/d808082a579565f3b4cba3583980d07b2eb05c7ba7b465e86d3a5d8655faabae/package/pcmanfm-dbg in TOPDIR/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/pcmanfm/1.3.2/spdx/3.0.1/runtime-deploy/cortexa8hf-neon/packages/pcmanfm-dbg.spdx.json as TOPDIR/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/pcmanfm/1.3.2/spdx/3.0.1/runtime-deploy/cortexa8hf-neon/by-spdxid-link/pcmanfm.spdx.json. Already points to ../packages/pcmanfm-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/pcmanfm-dbg.spdx.json' -> 'TOPDIR/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/pcmanfm/1.3.2/spdx/3.0.1/runtime-deploy/cortexa8hf-neon/by-spdxid-link/pcmanfm.spdx.json'

DEBUG: Python function do_create_package_spdx finished

Error details

Submitted on:
20/11/24 08:19
Error type:
Recipe
Task:
do_create_package_spdx
Recipe:
pcmanfm
Recipe version:
1.3.2-r0
Machine:
beaglebone-yocto
Distro:
poky
Build system:
x86_64-linux
Target system:
arm-poky-linux-gnueabi
Host distro:
opensuseleap-15.5/opensuseleap-15.5
Branch:
mathieu/master-next
Commit:
2408a1c0642c0e35918e4584070a7da8de84f272
Build:
#195338
Submitter:
yp-ab-opensuse155-vk-2.yocto.io
Link back:
https://valkyrie.yoctoproject.org/#/builders/2/builds/474
Similar errors:
1
Open a bug