We got a job were all steps failed several time because of this error, on various recipes. ERROR: gettext-minimal-native-1.0-r0 do_create_recipe_spdx: 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: '/srv/pokybuild/yocto-worker/poky-tiny/build/buildtools/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: '/srv/pokybuild/yocto-worker/poky-tiny/build/buildtools/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', './*', '/srv/pokybuild/yocto-worker/poky-tiny/build/build/tmp/deploy/spdx/3.0.1']' returned non-zero exit status 1. Subprocess output: cp: cannot stat './*': No such file or directory
poky-tiny alma9-vk-2 master-next&master completed at 2026-06-11 13:49:14+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/50/builds/3936/steps/13/logs/stdio
This was a broken shell=True change and wasn't merged.