DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/srv/pokybuild/yocto-worker/beaglebone/build/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/beaglebone/build/layers/openembedded-core/meta/recipes-devtools/rpm/rpm_4.20.1.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'cmake-native', 'libtool-native', 'texinfo-dummy-native', 'openssl-native', 'expat-native', 'ncurses-native', 'readline-native', 'util-linux-libuuid-native', 'zlib-native', 'elfutils-native', 'file-native', 'json-c-native', 'libedit-native', 'lua-native', 'make-native', 'perl-native', 'pseudo-native', 'python3-native', 'rpm-native', 'bzip2-native', 'libarchive-native', 'libidn2-native', 'lzlib-native', 'xz-native', 'zstd-native', 'acl-native', 'attr-native', 'curl-native', 'gdbm-native', 'gmp-native', 'gnutls-native', 'libtasn1-native', 'libcap-native', 'libffi-native', 'libgcrypt-native', 'libgpg-error-native', 'libmicrohttpd-native', 'libunistring-native', 'nettle-native', 'popt-native', 'sqlite3-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package_write_rpm
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Executing python function do_package_rpm
DEBUG: Executing python function write_specfile
NOTE: Not creating empty RPM package for base-files-src
NOTE: Creating empty RPM package for base-files-dbg
NOTE: Creating RPM package for base-files-doc
NOTE: Creating RPM package for base-files
NOTE: Creating empty RPM package for base-files-dev
DEBUG: Python function write_specfile finished
DEBUG: PKGWRITEDIR: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/deploy-rpms/beaglebone_yocto
DEBUG: Executing shell function BUILDSPEC
Building target platforms: beaglebone_yocto-poky-linux
Building for target beaglebone_yocto-poky-linux
Processing files: base-files-3.0.14-r0.beaglebone_yocto
warning: Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/lock
warning: Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/run
warning: Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/tmp
warning: Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/log
warning: Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/etc/mtab
warning: absolute symlink: /etc/mtab -> /proc/mounts
warning: Deprecated external dependency generator is used!
Finding  Provides: 
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires(preuntrans): 
Finding  Requires(postuntrans): 
Finding  Requires: 
Finding  Conflicts: 
Finding  Obsoletes: 
Finding  Recommends: 
Finding  Suggests: 
Finding  Supplements: 
Finding  Enhances: 
Finding  OrderWithRequires: 
Provides: base-files = 3.0.14-r0 config(base-files) = 3.0.14-r0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: base-files-dbg-3.0.14-r0.beaglebone_yocto
Processing files: base-files-doc-3.0.14-r0.beaglebone_yocto
warning: Deprecated external dependency generator is used!
Finding  Provides: 
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires(preuntrans): 
Finding  Requires(postuntrans): 
Finding  Requires: 
Finding  Conflicts: 
Finding  Obsoletes: 
Finding  Recommends: 
Finding  Suggests: 
Finding  Supplements: 
Finding  Enhances: 
Finding  OrderWithRequires: 
Provides: base-files-doc = 3.0.14-r0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: base-files-dev-3.0.14-r0.beaglebone_yocto
Checking for unpackaged file(s): TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/recipe-sysroot-native/usr/bin/../../usr/lib/rpm/check-files TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package
Wrote: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/deploy-rpms/beaglebone_yocto/base-files-dev-3.0.14-r0.beaglebone_yocto.rpm
Wrote: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/deploy-rpms/beaglebone_yocto/base-files-dbg-3.0.14-r0.beaglebone_yocto.rpm
Wrote: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/deploy-rpms/beaglebone_yocto/base-files-doc-3.0.14-r0.beaglebone_yocto.rpm
Wrote: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/deploy-rpms/beaglebone_yocto/base-files-3.0.14-r0.beaglebone_yocto.rpm

RPM build warnings:
    Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/lock
    Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/run
    Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/tmp
    Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/var/log
    Explicit %attr() mode not applicable to symlink: TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/package/etc/mtab
    absolute symlink: /etc/mtab -> /proc/mounts
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
DEBUG: Shell function BUILDSPEC finished
DEBUG: Python function do_package_rpm finished
DEBUG: Python function do_package_write_rpm finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/deploy-rpms for packaging at TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/sstate-build-package_write_rpm/deploy-rpms
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/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/sstate-build-package_write_rpm/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/recipe-sysroot' -e 'TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/sstate-build-package_write_rpm/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/beaglebone_yocto-poky-linux-gnueabi/base-files/3.0.14/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: Reported task 2227c2961ecb3b5cf9d226acd15c5e70688ea067f34539d5854907d9abafa372 as unihash 2227c2961ecb3b5cf9d226acd15c5e70688ea067f34539d5854907d9abafa372 to wss://hashserv-eu.yoctoproject.org/ws
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing python function sstate_create_and_sign_package
tar (child): /srv/autobuilder/valkyrie.yocto.io/pub/sstate/22/27/sstate\:base-files\:beaglebone_yocto-poky-linux-gnueabi\:3.0.14\:r0\:beaglebone_yocto\:14\:2227c2961ecb3b5cf9d226acd15c5e70688ea067f34539d5854907d9abafa372_package_write_rpm.tar.zst2su5iu9g: Cannot open: Remote I/O error
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
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_create_and_sign_package(d)
     0003:
File: '/srv/pokybuild/yocto-worker/beaglebone/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 864, function: sstate_create_and_sign_package
     0860:    else:
     0861:        from tempfile import NamedTemporaryFile
     0862:        with NamedTemporaryFile(prefix=sstate_pkg.name, dir=sstate_pkg.parent) as tmp_pkg_fd:
     0863:            tmp_pkg = tmp_pkg_fd.name
 *** 0864:            sstate_archive_package(tmp_pkg, d)
     0865:            update_file(tmp_pkg, sstate_pkg)
     0866:            # update_file() may have renamed tmp_pkg, which must exist when the
     0867:            # NamedTemporaryFile() context handler ends.
     0868:            touch(Path(tmp_pkg))
File: '/srv/pokybuild/yocto-worker/beaglebone/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 891, function: sstate_archive_package
     0887:    if not files:
     0888:        files = ["--files-from=/dev/null"]
     0889:
     0890:    try:
 *** 0891:        subprocess.run(cmd + files, check=True)
     0892:    except subprocess.CalledProcessError as e:
     0893:        # Ignore error 1 as this is caused by files changing
     0894:        # (link count increasing from hardlinks being created).
     0895:        if e.returncode != 1:
File: '/usr/lib/python3.11/subprocess.py', lineno: 571, function: run
     0567:            # We don't call process.wait() as .__exit__ does that for us.
     0568:            raise
     0569:        retcode = process.poll()
     0570:        if check and retcode:
 *** 0571:            raise CalledProcessError(retcode, process.args,
     0572:                                     output=stdout, stderr=stderr)
     0573:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0574:
     0575:
Exception: subprocess.CalledProcessError: Command '['tar', '-I', 'pzstd -8 -p8', '-cS', '-f', '/srv/autobuilder/valkyrie.yocto.io/pub/sstate/22/27/sstate:base-files:beaglebone_yocto-poky-linux-gnueabi:3.0.14:r0:beaglebone_yocto:14:2227c2961ecb3b5cf9d226acd15c5e70688ea067f34539d5854907d9abafa372_package_write_rpm.tar.zst2su5iu9g', 'deploy-rpms']' returned non-zero exit status 2.

DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Python function sstate_task_postfunc finished

Error details

Submitted on:
17/03/26 10:47
Error type:
Recipe
Task:
do_package_write_rpm
Recipe:
base-files
Recipe version:
3.0.14-r0
Machine:
beaglebone-yocto
Distro:
poky
Build system:
x86_64-linux
Target system:
arm-poky-linux-gnueabi
Host distro:
debian-12/debian-12
Branch:
master-next
Commit:
c897733f22ba54b1df87ec3d8a33e0682de233cf
Build:
#230813
Submitter:
yp-ab-debian12-vk-4
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/3405
Similar errors:
1
Open a bug