DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/bison/bison_3.8.2.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/pkgconf/pkgconf_3.0.4.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/rpm/rpm_6.0.2.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/rsync/rsync_3.4.4.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/recipes-devtools/unifdef/unifdef_2.12.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['cmake-native', 'openssl-native', 'expat-native', 'ncurses-native', 'readline-native', 'util-linux-libuuid-native', 'dwarfsrcfiles-native', 'elfutils-native', 'file-native', 'libedit-native', 'lua-native', 'make-native', 'perl-native', 'python3-native', 'rpm-native', 'bzip2-native', 'libarchive-native', 'lzlib-native', 'scdoc-native', 'xz-native', 'zstd-native', 'gdbm-native', 'libcap-native', 'libffi-native', 'libgcrypt-native', 'libgpg-error-native']
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'zlib-native', 'bison-native', 'flex-native', 'gnu-config-native', 'patch-native', 'pkgconf-native', 'pseudo-native', 'rsync-native', 'unifdef-native', 'acl-native', 'attr-native', 'popt-native', 'sqlite3-native']
DEBUG: sed -e 's:^[^/]*/:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/recipe-sysroot-native/:g' TOPDIR/tmp/sysroots-components/x86_64/openssl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/ncurses-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/elfutils-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/lua-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/perl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/python3-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/rpm-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libgcrypt-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libgpg-error-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/tmp/pkgdata/qemux86-64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/temp/fifo.2752420:g'
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:extend_recipe_sysroot(d)
     0003:
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/classes-global/staging.bbclass', lineno: 631, function: extend_recipe_sysroot
     0627:    bb.note("Installed into sysroot: %s" % str(msg_adding))
     0628:    bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
     0629:
     0630:    for f in fixme:
 *** 0631:        staging_processfixme(fixme[f], f, recipesysroot, recipesysrootnative, d)
     0632:
     0633:    for p in sorted(postinsts):
     0634:        bb.note("Running postinst {}, output:\n{}".format(p, subprocess.check_output([p], stderr=subprocess.STDOUT)))
     0635:
File: '/srv/pokybuild/yocto-worker/poky-tiny/build/layers/openembedded-core/meta/classes-global/staging.bbclass', lineno: 188, function: staging_processfixme
     0184:    for fixmevar in ['PSEUDO_SYSROOT', 'HOSTTOOLS_DIR', 'PKGDATA_DIR', 'PSEUDO_LOCALSTATEDIR', 'LOGFIFO']:
     0185:        fixme_path = d.getVar(fixmevar)
     0186:        cmd += " -e 's:FIXME_%s:%s:g'" % (fixmevar, fixme_path)
     0187:    bb.debug(2, cmd)
 *** 0188:    subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
     0189:
     0190:
     0191:def staging_populate_sysroot_dir(targetsysroot, nativesysroot, native, d):
     0192:    import glob
File: '/usr/lib/python3.11/subprocess.py', lineno: 466, function: check_output
     0462:        else:
     0463:            empty = b''
     0464:        kwargs['input'] = empty
     0465:
 *** 0466:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
     0467:               **kwargs).stdout
     0468:
     0469:
     0470:class CompletedProcess(object):
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 'sed -e 's:^[^/]*/:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/recipe-sysroot-native/:g' TOPDIR/tmp/sysroots-components/x86_64/openssl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/ncurses-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/elfutils-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/lua-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/perl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/python3-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/rpm-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libgcrypt-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libgpg-error-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/tmp/pkgdata/qemux86-64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/x86-64-v3-poky-linux-musl/linux-libc-headers/6.18/temp/fifo.2752420:g'' died with <Signals.SIGSEGV: 11>.

DEBUG: Python function extend_recipe_sysroot finished

Error details

Submitted on:
28/07/26 10:32
Error type:
Recipe
Task:
do_package
Recipe:
linux-libc-headers
Recipe version:
6.18-r0
Machine:
qemux86-64
Distro:
poky-tiny
Build system:
x86_64-linux
Target system:
x86_64-poky-linux-musl
Host distro:
universal/debian-12
Branch:
master-next
Commit:
5494cac4dcdb0442b54a19c90111cdd7bbc69024
Build:
#243883
Submitter:
yp-ab-debian12-vk-5
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/50/builds/4274
Similar errors:
2
Open a bug