DEBUG: Executing python function sstate_task_prefunc
DEBUG: Removing file: TOPDIR/tmp/deploy/spdx/3.0.1/x86_64/by-spdxid-hash/5a/5a5a7d11917e1b9187047203d9ed2aac32ff4d18961657993d584da529beb73a.spdx.json
DEBUG: Removing file: TOPDIR/tmp/deploy/spdx/3.0.1/x86_64/static/static-tzcode-native.spdx.json
DEBUG: Removing file: TOPDIR/tmp/deploy/spdx/3.0.1/x86_64/by-spdxid-hash/5a/
DEBUG: Removing file: TOPDIR/tmp/deploy/spdx/3.0.1/x86_64/by-spdxid-hash/
DEBUG: Removing file: TOPDIR/tmp/deploy/spdx/3.0.1/x86_64/static/
DEBUG: Removing file: TOPDIR/tmp/deploy/spdx/3.0.1/x86_64/
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_recipe_spdx
DEBUG: Scanning 0 patches for CVEs
DEBUG: Python function do_create_recipe_spdx finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/spdx/3.0.1/recipe-deploy for packaging at TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/sstate-build-create_recipe_spdx/recipe-deploy
DEBUG: Executing python function target_add_sysroot_deps
DEBUG: Python function target_add_sysroot_deps finished
DEBUG: Executing python function sstate_hardcode_path
NOTE: Removing hardcoded paths from sstate package: 'grep -Irl -e TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/recipe-sysroot -e TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/recipe-sysroot-native -e TOPDIR/tmp/hosttools TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/sstate-build-create_recipe_spdx/ | xargs grep -l -e 'TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/sstate-build-create_recipe_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/hosttools:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing python function native_add_do_populate_sysroot_deps
DEBUG: Python function native_add_do_populate_sysroot_deps finished
DEBUG: Executing python function sstate_report_unihash
DEBUG: Reported task 15e4081896dcf7494b94570e32c373f91fc2377a09c3600c1cd565768b975297 as unihash 15e4081896dcf7494b94570e32c373f91fc2377a09c3600c1cd565768b975297 to wss://hashserv-eu.yoctoproject.org/ws
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing python function sstate_create_and_sign_package
DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Executing python function sstate_hardcode_path_unpack
DEBUG: Python function sstate_hardcode_path_unpack finished
DEBUG: Executing python function uninative_changeinterp
DEBUG: Python function uninative_changeinterp finished
DEBUG: Staging files from TOPDIR/tmp/work/x86_64-linux/tzcode-native/2026b/spdx/3.0.1/recipe-deploy to TOPDIR/tmp/deploy/spdx/3.0.1
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:sstate_task_postfunc(d)
0003:
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 782, function: sstate_task_postfunc
0778:
0779: sstateinst = d.getVar("SSTATE_INSTDIR")
0780: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
0781:
*** 0782: sstate_installpkgdir(shared_state, d)
0783:
0784: bb.utils.remove(d.getVar("SSTATE_BUILDDIR"), recurse=True)
0785:}
0786:sstate_task_postfunc[dirs] = "${WORKDIR}"
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 403, function: sstate_installpkgdir
0399: for f in (d.getVar('SSTATEPOSTUNPACKFUNCS') or '').split():
0400: # All hooks should run in the SSTATE_INSTDIR
0401: bb.build.exec_func(f, d, (sstateinst,))
0402:
*** 0403: sstate_install(ss, d)
0404:
0405: return True
0406:
0407:python sstate_hardcode_path_unpack () {
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 331, function: sstate_install
0327:
0328: # Run the actual file install
0329: for state in ss['dirs']:
0330: if os.path.exists(state[1]):
*** 0331: oe.path.copyhardlinktree(state[1], state[2])
0332:
0333: for plain in ss['plaindirs']:
0334: workdir = d.getVar('WORKDIR')
0335: sharedworkdir = os.path.join(d.getVar('TMPDIR'), "work-shared")
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/lib/oe/path.py', lineno: 138, function: copyhardlinktree
0134: else:
0135: source = src
0136: s_dir = os.getcwd()
0137: cmd = ['cp', '-afl', '--preserve=xattr', source, os.path.realpath(dst)]
*** 0138: subprocess.check_output(cmd, cwd=s_dir, stderr=subprocess.STDOUT)
0139: else:
0140: copytree(src, dst)
0141:
0142:def copyhardlink(src, dst):
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/subprocess.py', lineno: 472, function: check_output
0468: else:
0469: empty = b''
0470: kwargs['input'] = empty
0471:
*** 0472: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
0473: **kwargs).stdout
0474:
0475:
0476:class CompletedProcess(object):
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/subprocess.py', lineno: 577, function: run
0573: # We don't call process.wait() as .__exit__ does that for us.
0574: raise
0575: retcode = process.poll()
0576: if check and retcode:
*** 0577: raise CalledProcessError(retcode, process.args,
0578: output=stdout, stderr=stderr)
0579: return CompletedProcess(process.args, retcode, stdout, stderr)
0580:
0581:
Exception: subprocess.CalledProcessError: Command '['cp', '-afl', '--preserve=xattr', './*', 'TOPDIR/tmp/deploy/spdx/3.0.1']' returned non-zero exit status 1.
Subprocess output:
cp: cannot stat './*': No such file or directory
DEBUG: Python function sstate_task_postfunc finished