DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_populate_lic
DEBUG: Python function do_populate_lic finished
DEBUG: Executing python function populate_lic_qa_checksum
NOTE: libgcc-initial: md5 checksum matched for file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552
NOTE: libgcc-initial: md5 checksum matched for file://COPYING3;md5=d32239bcb673463ab874e80d47fae504
NOTE: libgcc-initial: md5 checksum matched for file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6
NOTE: libgcc-initial: md5 checksum matched for file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1
NOTE: libgcc-initial: md5 checksum matched for file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8
DEBUG: Python function populate_lic_qa_checksum finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/license-destdir for packaging at TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/sstate-build-populate_lic/license-destdir
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: 'find TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/sstate-build-populate_lic/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/recipe-sysroot' -e 'TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/sstate-build-populate_lic/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/recipe-sysroot:FIXMESTAGINGDIRTARGET:g' -e 's:TOPDIR/tmp/hosttools:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing python function sstate_report_unihash
DEBUG: Task fab5501537f68bb5ee46ad7c4b11f9450efd78c6fb15a1869980737685bd4675 unihash changed fab5501537f68bb5ee46ad7c4b11f9450efd78c6fb15a1869980737685bd4675 -> c9e8e797c9e1d647c438f0bf6da406930cb72cbb6dc3b60cdd9ecd5f2e1545a8 by server 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/cortexa57-poky-linux-musl/libgcc-initial/16.1.0/license-destdir to TOPDIR/tmp/deploy/licenses/cortexa57
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/licenses/cortexa57']' returned non-zero exit status 1.
Subprocess output:
cp: cannot stat './*': No such file or directory
DEBUG: Python function sstate_task_postfunc finished