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/meta-qcom/build/layers/openembedded-core/meta/classes/create-spdx-3.0.bbclass', lineno: 213, function: do_create_spdx
     0209:addtask do_create_recipe_spdx_setscene
     0210:
     0211:python do_create_spdx() {
     0212:    import oe.spdx30_tasks
 *** 0213:    oe.spdx30_tasks.create_spdx(d)
     0214:}
     0215:addtask do_create_spdx after \
     0216:    do_unpack \
     0217:    do_patch \
File: '/srv/pokybuild/yocto-worker/meta-qcom/build/layers/openembedded-core/meta/lib/oe/spdx30_tasks.py', lineno: 825, function: create_spdx
     0821:            oe.spdx30.RelationshipType.hasDeclaredLicense,
     0822:            [oe.sbom30.get_element_link_id(recipe_spdx_license)],
     0823:        )
     0824:    else:
 *** 0825:        build_objset.new_relationship(
     0826:            source_files,
     0827:            oe.spdx30.RelationshipType.hasDeclaredLicense,
     0828:            None,
     0829:        )
File: '/srv/pokybuild/yocto-worker/meta-qcom/build/layers/openembedded-core/meta/lib/oe/sbom30.py', lineno: 560, function: new_relationship
     0556:
     0557:        return ret
     0558:
     0559:    def new_relationship(self, from_, typ, to):
 *** 0560:        return self._new_relationship(oe.spdx30.Relationship, from_, typ, to)
     0561:
     0562:    def new_scoped_relationship(self, from_, typ, scope, to):
     0563:        return self._new_relationship(
     0564:            oe.spdx30.LifecycleScopedRelationship,
File: '/srv/pokybuild/yocto-worker/meta-qcom/build/layers/openembedded-core/meta/lib/oe/sbom30.py', lineno: 529, function: _new_relationship
     0525:        spdxid_name="relationship",
     0526:        **props,
     0527:    ):
     0528:        from_ = to_list(from_)
 *** 0529:        to = to_list(to)
     0530:
     0531:        if not from_:
     0532:            return []
     0533:
File: '/srv/pokybuild/yocto-worker/meta-qcom/build/layers/openembedded-core/meta/lib/oe/sbom30.py', lineno: 187, function: to_list
     0183:    if isinstance(l, set):
     0184:        l = sorted(list(l))
     0185:
     0186:    if not isinstance(l, (list, tuple)):
 *** 0187:        raise TypeError("Must be a list or tuple. Got %s" % type(l))
     0188:
     0189:    return l
     0190:
     0191:
Exception: TypeError: Must be a list or tuple. Got <class 'NoneType'>

DEBUG: Python function do_create_spdx finished

Error details

Submitted on:
13/07/26 15:15
Error type:
Recipe
Task:
do_create_spdx
Recipe:
firmware-qcom-rb3gen2
Recipe version:
1.0-r0
Machine:
rb3gen2-core-kit
Distro:
poky-altcfg
Build system:
x86_64-linux
Target system:
aarch64-poky-linux
Host distro:
debian-13/debian-13
Branch:
jpew/spdx-licenses
Commit:
8f56482b368241767c2d2fdf25f690c9f228eb00
Build:
#242391
Submitter:
yp-ab-debian13-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/113/builds/1116
Similar errors:
5
Open a bug