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