DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_recipe_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_recipe_spdx(d)
     0003:
File: '/srv/pokybuild/yocto-worker/qemux86-64-musl-ptest/build/layers/openembedded-core/meta/classes/create-spdx-3.0.bbclass', lineno: 193, function: do_create_recipe_spdx
     0189:    "
     0190:
     0191:python do_create_recipe_spdx() {
     0192:    import oe.spdx30_tasks
 *** 0193:    oe.spdx30_tasks.create_recipe_spdx(d)
     0194:}
     0195:addtask do_create_recipe_spdx
     0196:
     0197:SSTATETASKS += "do_create_recipe_spdx"
File: '/srv/pokybuild/yocto-worker/qemux86-64-musl-ptest/build/layers/openembedded-core/meta/lib/oe/spdx30_tasks.py', lineno: 641, function: create_recipe_spdx
     0637:                identifier=cpe_id,
     0638:            )
     0639:        )
     0640:
 *** 0641:    direct_deps = oe.spdx_common.collect_direct_deps(d, "do_create_recipe_spdx")
     0642:
     0643:    dep_objsets, dep_recipes = collect_dep_objsets(
     0644:        d, direct_deps, "static", "static-", oe.spdx30.software_Package
     0645:    )
File: '/srv/pokybuild/yocto-worker/qemux86-64-musl-ptest/build/layers/openembedded-core/meta/lib/oe/spdx_common.py', lineno: 127, function: collect_direct_deps
     0123:    for dep_name in this_dep.deps:
     0124:        dep_data = taskdepdata[dep_name]
     0125:        if dep_data.taskname == dep_task and dep_data.pn != pn:
     0126:            deps.add(
 *** 0127:                Dep(dep_data.pn, dep_data.hashfn, this_dep.taskhash_deps and (p_name in this_dep.taskhash_deps))
     0128:            )
     0129:
     0130:    return sorted(deps)
     0131:
Exception: NameError: name 'p_name' is not defined

DEBUG: Python function do_create_recipe_spdx finished

Error details

Submitted on:
13/08/26 09:06
Error type:
Recipe
Task:
do_create_recipe_spdx
Recipe:
pigz-native
Recipe version:
2.8-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux-musl
Host distro:
ubuntu-24.04/ubuntu-24.04
Branch:
mathieu/master-next
Commit:
c7cc4a06fee009198cfd96037ead1cb609d286ac
Build:
#246634
Submitter:
yp-ab-ubuntu2404-vk-3
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/945
Similar errors:
4
Open a bug