DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/srv/pokybuild/yocto-worker/wic/build/layers/openembedded-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.7.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/wic/build/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/wic/build/layers/openembedded-core/meta/recipes-devtools/rpm/rpm_6.0.2.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['opkg-utils-native']
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', 'scdoc-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', 'p11-kit-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 python3-pytest-src
NOTE: Creating empty RPM package for python3-pytest-dbg
NOTE: Not creating empty RPM package for python3-pytest-staticdev
NOTE: Creating empty RPM package for python3-pytest-dev
NOTE: Not creating empty RPM package for python3-pytest-doc
NOTE: Not creating empty RPM package for python3-pytest-locale
NOTE: Creating RPM package for python3-pytest
DEBUG: Python function write_specfile finished
DEBUG: PKGWRITEDIR: TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/deploy-rpms/core2_32
DEBUG: Executing shell function BUILDSPEC
Building target platforms: core2_32-poky-linux
Building for target core2_32-poky-linux
Processing files: python3-pytest-9.1.1-r0.core2_32
Provides: /usr/bin/py.test /usr/bin/pytest python3-pytest = 9.1.1-r0
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(LargeFiles) <= 4.12.0-1
Requires(post): /bin/sh /usr/bin/env python3-colorama python3-core python3-debugger python3-doctest python3-iniconfig python3-json python3-packaging python3-pluggy python3-pygments python3-tomllib python3-xml update-alternatives-opkg
Requires(preun): /bin/sh /usr/bin/env python3-colorama python3-core python3-debugger python3-doctest python3-iniconfig python3-json python3-packaging python3-pluggy python3-pygments python3-tomllib python3-xml update-alternatives-opkg
Processing files: python3-pytest-dbg-9.1.1-r0.core2_32
Processing files: python3-pytest-dev-9.1.1-r0.core2_32
Checking for unpackaged file(s): TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/recipe-sysroot-native/usr/bin/../../usr/lib/rpm/check-files TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/package
Wrote: TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/deploy-rpms/core2_32/python3-pytest-dbg-9.1.1-r0.core2_32.rpm
Wrote: TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/deploy-rpms/core2_32/python3-pytest-dev-9.1.1-r0.core2_32.rpm
Wrote: TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/deploy-rpms/core2_32/python3-pytest-9.1.1-r0.core2_32.rpm
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/core2-32-poky-linux/python3-pytest/9.1.1/deploy-rpms for packaging at TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/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/core2-32-poky-linux/python3-pytest/9.1.1/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/core2-32-poky-linux/python3-pytest/9.1.1/recipe-sysroot' -e 'TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/sstate-build-package_write_rpm/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/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 9803fba3a016be7f9fabf465a277dd83512385321e0912d9a4f0b5bcc4d586de unihash changed 9803fba3a016be7f9fabf465a277dd83512385321e0912d9a4f0b5bcc4d586de -> 0ba696053d5151c3f78dfae95c55a61e64128c5dca2762ea84fa24a9bf64dfa1 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/core2-32-poky-linux/python3-pytest/9.1.1/deploy-rpms to TOPDIR/tmp/deploy/rpm
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/wic/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 788, function: sstate_task_postfunc
     0784:
     0785:    sstateinst = d.getVar("SSTATE_INSTDIR")
     0786:    d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
     0787:
 *** 0788:    sstate_installpkgdir(shared_state, d)
     0789:
     0790:    bb.utils.remove(d.getVar("SSTATE_BUILDDIR"), recurse=True)
     0791:}
     0792:sstate_task_postfunc[dirs] = "${WORKDIR}"
File: '/srv/pokybuild/yocto-worker/wic/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/wic/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/wic/build/layers/openembedded-core/meta/lib/oe/path.py', lineno: 127, function: copyhardlinktree
     0123:    if (canhard):
     0124:        # Need to copy directories only with tar first since cp will error if two
     0125:        # writers try and create a directory at the same time
     0126:        cmd = "find . -type d -print | tar --xattrs --xattrs-include='*' -cf - -S -C %s -p --no-recursion --files-from - | tar --xattrs --xattrs-include='*' -xhf - -C %s" % (src, dst)
 *** 0127:        subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, cwd=src)
     0128:        source = ''
     0129:        if os.path.isdir(src):
     0130:            if len(glob.glob('%s/.??*' % src)) > 0:
     0131:                source = './.??* '
File: '/usr/lib64/python3.15/subprocess.py', lineno: 587, function: check_output
     0583:        else:
     0584:            empty = b''
     0585:        kwargs['input'] = empty
     0586:
 *** 0587:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
     0588:               **kwargs).stdout
     0589:
     0590:
     0591:class CompletedProcess(object):
File: '/usr/lib64/python3.15/subprocess.py', lineno: 692, function: run
     0688:            # We don't call process.wait() as .__exit__ does that for us.
     0689:            raise
     0690:        retcode = process.poll()
     0691:        if check and retcode:
 *** 0692:            raise CalledProcessError(retcode, process.args,
     0693:                                     output=stdout, stderr=stderr)
     0694:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0695:
     0696:
Exception: subprocess.CalledProcessError: Command 'find . -type d -print | tar --xattrs --xattrs-include='*' -cf - -S -C TOPDIR/tmp/work/core2-32-poky-linux/python3-pytest/9.1.1/deploy-rpms -p --no-recursion --files-from - | tar --xattrs --xattrs-include='*' -xhf - -C TOPDIR/tmp/deploy/rpm' died with <Signals.SIGSEGV: 11>.

DEBUG: Python function sstate_task_postfunc finished

Error details

Submitted on:
14/10/26 10:13
Error type:
Recipe
Task:
do_package_write_rpm
Recipe:
python3-pytest
Recipe version:
9.1.1-r0
Machine:
genericx86
Distro:
poky
Build system:
x86_64-linux
Target system:
i686-poky-linux
Host distro:
universal/fedora-45
Branch:
master-next
Commit:
d1fc131870831485d2f411876f82f3f7d2df69b8
Build:
#252848
Submitter:
yp-ab-fedora45-vk-1.yocto.io
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/4762
Similar errors:
0
Open a bug