DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_spdx
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_spdx(d)
     0003:
File: '/srv/pokybuild/yocto-worker/qemux86-world/build/layers/openembedded-core/meta/classes/create-spdx-3.0.bbclass', lineno: 264, function: do_create_spdx
     0260:addtask do_create_recipe_spdx_setscene
     0261:
     0262:python do_create_spdx() {
     0263:    import oe.spdx30_tasks
 *** 0264:    oe.spdx30_tasks.create_spdx(d)
     0265:}
     0266:addtask do_create_spdx after \
     0267:    do_unpack \
     0268:    do_patch \
File: '/srv/pokybuild/yocto-worker/qemux86-world/build/layers/openembedded-core/meta/lib/oe/spdx30_tasks.py', lineno: 1077, function: create_spdx
     1073:    build_inputs = set()
     1074:
     1075:    cpe_ids = oe.cve_check.get_cpe_ids(d.getVar("CVE_PRODUCT"), d.getVar("CVE_VERSION"))
     1076:
 *** 1077:    source_files = add_download_files(d, build_objset)
     1078:    build_inputs |= source_files
     1079:
     1080:    # The output packages inherit the PURLs of the downloads they are built
     1081:    # from, as the code of statically linked dependencies is in them. Only
File: '/srv/pokybuild/yocto-worker/qemux86-world/build/layers/openembedded-core/meta/lib/oe/spdx30_tasks.py', lineno: 642, function: add_download_files
     0638:                )
     0639:            )
     0640:
     0641:            enrich_source_package(d, dl, fd, file_name, primary_purpose)
 *** 0642:            set_package_identity(d, dl, fd)
     0643:
     0644:            if release_date is not None:
     0645:                dl.releaseTime = release_date
     0646:
File: '/srv/pokybuild/yocto-worker/qemux86-world/build/layers/openembedded-core/meta/lib/oe/spdx30_tasks.py', lineno: 472, function: set_package_identity
     0468:
     0469:    Fetchers of package registries (crate, gomod, npm) know which package
     0470:    a URL downloads, see FetchMethod.package_identity() in bitbake.
     0471:    """
 *** 0472:    identity = fd.method.package_identity(fd, d)
     0473:    if identity:
     0474:        dl.name = identity["name"]
     0475:        dl.software_packageVersion = identity["version"]
     0476:        dl.software_packageUrl = identity["purl"]
Exception: AttributeError: 'Wget' object has no attribute 'package_identity'

DEBUG: Python function do_create_spdx finished

Error details

Submitted on:
19/11/26 06:14
Error type:
Recipe
Task:
do_create_spdx
Recipe:
zip
Recipe version:
3.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
ubuntu-25.10/ubuntu-25.10
Branch:
mathieu/master-next
Commit:
197696f2d0531abb467ee6d6bb7a95e5e3ba0e45
Build:
#255425
Submitter:
yp-ab-ubuntu2510-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/5072
Similar errors:
5
Open a bug