DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-core/base-passwd/base-passwd_3.6.5.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-core/glibc/glibc_2.40.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-core/libxcrypt/libxcrypt_4.4.36.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/gcc/gcc-cross_14.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/gcc/gcc-runtime_14.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/opkg-utils/opkg-utils_0.7.0.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/quilt/quilt-native_0.68.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-devtools/rpm/rpm_4.20.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qa-extras2/build/meta/recipes-extended/xz/xz_5.6.3.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', 'json-c-native', 'libedit-native', 'lua-native', 'make-native', 'perl-native', 'python3-native', 'rpm-native', 'bzip2-native', 'libarchive-native', 'libidn2-native', 'libnsl2-native', 'libtirpc-native', 'lzlib-native', 'acl-native', 'curl-native', 'gdbm-native', 'gnutls-native', 'libtasn1-native', 'libcap-native', 'libffi-native', 'libgcrypt-native', 'libgpg-error-native', 'libmicrohttpd-native', 'libunistring-native', 'nettle-native', 'popt-native']
NOTE: Skipping as already exists in sysroot: ['base-passwd', 'gettext-minimal-native', 'glibc', 'libxcrypt', 'binutils-cross-x86_64', 'gcc-cross-x86_64', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'opkg-utils', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'update-rc.d-native', 'zlib-native', 'flex-native', 'gnu-config-native', 'patch-native', 'pseudo-native', 'xz-native', 'zstd-native', 'attr-native', 'gmp-native', 'libmpc-native', 'mpfr-native', 'sqlite3-native']
DEBUG: sed -e 's:^[^/]*/:TOPDIR/tmp/work/core2-64-poky-linux/sysvinit/3.11/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/curl-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/core2-64-poky-linux/sysvinit/3.11/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/core2-64-poky-linux/sysvinit/3.11/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/core2-64-poky-linux/sysvinit/3.11/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/core2-64-poky-linux/sysvinit/3.11/temp/fifo.920167:g'
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
DEBUG: Executing python function package_setup_pkgv
DEBUG: Python function package_setup_pkgv finished
DEBUG: Executing python function package_convert_pr_autoinc
DEBUG: Python function package_convert_pr_autoinc finished
DEBUG: Executing python function package_prepare_pkgdata
NOTE: Installed into pkgdata-sysroot: ['opkg-utils', 'libxcrypt', 'base-passwd', 'gcc-runtime', 'glibc', 'libgcc', 'linux-libc-headers']
DEBUG: Python function package_prepare_pkgdata finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
DEBUG: Executing python function apply_update_alternative_renames
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:apply_update_alternative_renames(d)
     0003:
File: '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/classes-recipe/update-alternatives.bbclass', lineno: 205, function: apply_update_alternative_renames
     0201:        # Do these after other renames so we can correct broken links
     0202:        for (alt_target, alt_target_rename) in link_rename:
     0203:            src = '%s/%s' % (pkgdest, alt_target)
     0204:            dest = '%s/%s' % (pkgdest, alt_target_rename)
 *** 0205:            link_target = oe.path.realpath(src, pkgdest, True)
     0206:
     0207:            if os.path.lexists(link_target):
     0208:                # Ok, the link_target exists, we can rename
     0209:                bb.note('%s: Rename (link) %s -> %s' % (pn, alt_target, alt_target_rename))
File: '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oe/path.py', lineno: 258, function: realpath
     0254:        raise OSError(errno.EINVAL, "file '%s' is not below root" % file)
     0255:
     0256:    try:
     0257:        if use_physdir:
 *** 0258:            file = __realpath_rel(root, file[(len(root) - 1):], root, loop_cnt, assume_dir)
     0259:        else:
     0260:            file = __realpath(file, root, loop_cnt, assume_dir)[0]
     0261:    except OSError as e:
     0262:        if e.errno == errno.ELOOP:
File: '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oe/path.py', lineno: 208, function: __realpath_rel
     0204:            else:
     0205:                # emit warning?
     0206:                pass
     0207:        else:
 *** 0208:            (start, have_dir) = __realpath(os.path.join(start, d),
     0209:                                           root, loop_cnt, assume_dir)
     0210:
     0211:        assert(__is_path_below(start, root))
     0212:
File: '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oe/path.py', lineno: 229, function: __realpath
     0225:            assert(__is_path_below(tdir, root))
     0226:        else:
     0227:            tdir = root
     0228:
 *** 0229:        file = __realpath_rel(tdir, target, root, loop_cnt, assume_dir)
     0230:
     0231:    try:
     0232:        is_dir = os.path.isdir(file)
     0233:    except:
File: '/srv/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oe/path.py', lineno: 198, function: __realpath_rel
     0194:    have_dir = True
     0195:
     0196:    for d in rel_path.split(os.path.sep):
     0197:        if not have_dir and not assume_dir:
 *** 0198:            raise OSError(errno.ENOENT, "no such directory %s" % start)
     0199:
     0200:        if d == os.path.pardir: # '..'
     0201:            if len(start) >= len(root):
     0202:                # do not follow '..' before root
Exception: FileNotFoundError: [Errno 2] no such directory TOPDIR/tmp/work/core2-64-poky-linux/sysvinit/3.11/package/usr/usr

DEBUG: Python function apply_update_alternative_renames finished
DEBUG: Python function do_package finished

Error details

Submitted on:
04/12/24 06:53
Error type:
Recipe
Task:
do_package
Recipe:
sysvinit
Recipe version:
3.11-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
universal/fedora-40
Branch:
mathieu/master-next
Commit:
6e6651c9282140fa09c54e5b928d2017dad1fecc
Build:
#196278
Submitter:
yp-ab-fedora40-vk-4.yocto.io
Link back:
https://valkyrie.yoctoproject.org/#/builders/26/builds/578
Similar errors:
3
Open a bug