DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['TOPDIR/sources/openembedded-core/meta/recipes-core/glibc/glibc_2.44.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_16.2.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/elfutils/elfutils_0.196.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/rpm/rpm_6.0.2.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['readline-native', 'file-native', 'lua-native', 'rpm-native', 'lzlib-native', 'scdoc-native', 'libcap-native', 'libgcrypt-native', 'libgpg-error-native', 'popt-native']
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'glibc', 'binutils-cross-aarch64', 'clang-cross-aarch64', 'compiler-rt', 'libcxx', 'llvm-tblgen-native', 'cmake-native', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'openssl-native', 'expat-native', 'libxml2-native', 'ncurses-native', 'util-linux-libuuid-native', 'zlib-native', 'binutils-native', 'clang-native', 'lld-native', 'llvm-native', 'elfutils-native', 'flex-native', 'gnu-config-native', 'json-c-native', 'libedit-native', 'make-native', 'patch-native', 'perl-native', 'pseudo-native', 'python3-native', 'bzip2-native', 'libarchive-native', 'libidn2-native', 'xz-native', 'zstd-native', 'acl-native', 'attr-native', 'curl-native', 'gdbm-native', 'gmp-native', 'gnutls-native', 'libtasn1-native', 'libffi-native', 'libmicrohttpd-native', 'libunistring-native', 'nettle-native', 'p11-kit-native', 'sqlite3-native']
DEBUG: sed -e 's:^[^/]*/:TOPDIR/build/tmp/work/cortexa57-yoe-linux/hwlatdetect/2.11/recipe-sysroot-native/:g' TOPDIR/build/tmp/sysroots-components/aarch64/lua-native/fixmepath TOPDIR/build/tmp/sysroots-components/aarch64/rpm-native/fixmepath TOPDIR/build/tmp/sysroots-components/aarch64/libgcrypt-native/fixmepath TOPDIR/build/tmp/sysroots-components/aarch64/libgpg-error-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/build/tmp/work/cortexa57-yoe-linux/hwlatdetect/2.11/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/build/tmp/work/cortexa57-yoe-linux/hwlatdetect/2.11/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/build/tmp/sysroots-components/aarch64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/build/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/build/tmp/pkgdata/qemuarm64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/build/tmp/work/cortexa57-yoe-linux/hwlatdetect/2.10/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/build/tmp/work/cortexa57-yoe-linux/hwlatdetect/2.11/temp/fifo.894999: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: ['compiler-rt', 'gcc-runtime', 'glibc', 'libcxx', 'libgcc', 'linux-libc-headers']
DEBUG: Python function package_prepare_pkgdata finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
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:do_package(d)
     0003:
File: 'TOPDIR/sources/openembedded-core/meta/classes-global/package.bbclass', lineno: 540, function: do_package
     0536:    bb.build.exec_func("perform_packagecopy", d)
     0537:    for f in (d.getVar('PACKAGE_PREPROCESS_FUNCS') or '').split():
     0538:        bb.build.exec_func(f, d)
     0539:    oe.package.process_split_and_strip_files(d)
 *** 0540:    oe.package.fixup_perms(d)
     0541:
     0542:    ###########################################################################
     0543:    # Split up PKGD into PKGDEST
     0544:    ###########################################################################
File: 'TOPDIR/sources/openembedded-core/meta/lib/oe/package.py', lineno: 536, function: fixup_perms
     0532:        origin = dvar + dir
     0533:        if not (cpath.exists(origin) and cpath.isdir(origin)):
     0534:            continue
     0535:
 *** 0536:        fix_perms(origin, fs_perms_table[dir].mode, fs_perms_table[dir].uid, fs_perms_table[dir].gid, dir)
     0537:
     0538:        if fs_perms_table[dir].walk == 'true':
     0539:            for root, dirs, files in os.walk(origin):
     0540:                for dr in dirs:
File: 'TOPDIR/sources/openembedded-core/meta/lib/oe/package.py', lineno: 423, function: fix_perms
     0419:        # -1 is a special value that means don't change the uid/gid
     0420:        # if they are BOTH -1, don't bother to lchown
     0421:        if not (uid == -1 and gid == -1):
     0422:            #bb.note("Fixup Perms: lchown %d:%d %s" % (uid, gid, dir))
 *** 0423:            os.lchown(path, uid, gid)
     0424:
     0425:    # Return a list of configuration files based on either the default
     0426:    # files/fs-perms.txt or the contents of FILESYSTEM_PERMS_TABLES
     0427:    # paths are resolved via BBPATH
Exception: PermissionError: [Errno 1] Operation not permitted: 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/hwlatdetect/2.11/package/usr'

DEBUG: Python function do_package finished

Error details

Submitted on:
27/09/26 21:58
Error type:
Recipe
Task:
do_package
Recipe:
hwlatdetect
Recipe version:
1_2.11-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
aarch64-linux
Target system:
aarch64-yoe-linux
Host distro:
universal/debian-13
Branch:
HEAD
Commit:
c606bcec5055c4e0fe9781e610c4f614f52750c3
Build:
#252053
Submitter:
info@yoedistro.org
Similar errors:
2
Open a bug