DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['TOPDIR/../poky/meta/recipes-core/glibc/glibc_2.41.bb:do_populate_sysroot', 'TOPDIR/../poky/meta/recipes-devtools/gcc/gcc-cross_15.1.bb:do_populate_sysroot', 'TOPDIR/../poky/meta/recipes-devtools/gcc/gcc-runtime_15.1.bb:do_populate_sysroot', 'TOPDIR/../poky/meta/recipes-devtools/quilt/quilt-native_0.68.bb:do_populate_sysroot', 'TOPDIR/../poky/meta/recipes-kernel/linux/linux-yocto_6.12.bb:do_populate_sysroot', 'virtual:native:TOPDIR/../poky/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb:do_populate_sysroot', 'virtual:native:TOPDIR/../poky/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:TOPDIR/../poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/../poky/meta/recipes-devtools/rpm/rpm_4.20.0.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: ['gettext-minimal-native', 'glibc', 'binutils-cross-i686', 'gcc-cross-i686', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'linux-yocto', '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-32-poky-linux/bastille/3.2.1/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-32-poky-linux/bastille/3.2.1/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/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:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/temp/fifo.606897: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: ['glibc', 'linux-yocto', 'gcc-runtime', 'linux-libc-headers', 'libgcc']
DEBUG: Python function package_prepare_pkgdata finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
DEBUG: Executing python function package_do_split_locales
DEBUG: No locale files in /usr/share/locale
DEBUG: No locale files in this package
DEBUG: Python function package_do_split_locales finished
DEBUG: Executing python function populate_packages
DEBUG: Python function populate_packages finished
DEBUG: Executing python function package_fixsymlinks
DEBUG: Python function package_fixsymlinks finished
DEBUG: Executing python function package_name_hook
DEBUG: Executing python function debian_package_name_hook
DEBUG: LIBNAMES: pkg bastille-staticdev libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg bastille-src libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg bastille-locale libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg bastille-doc libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg bastille-dev libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg bastille-dbg libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg bastille libs 0 bins 1 sonames []
DEBUG: Python function debian_package_name_hook finished
DEBUG: Python function package_name_hook finished
DEBUG: Executing python function package_do_filedeps
DEBUG: Python function package_do_filedeps finished
DEBUG: Executing python function package_do_shlibs
DEBUG: Reading shlib providers in TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/pkgdata-sysroot/shlibs2
DEBUG: calculating shlib provides for bastille-src
DEBUG: LIBNAMES: pkg bastille-src sonames set()
DEBUG: calculating shlib provides for bastille-dbg
DEBUG: LIBNAMES: pkg bastille-dbg sonames set()
DEBUG: calculating shlib provides for bastille-staticdev
DEBUG: LIBNAMES: pkg bastille-staticdev sonames set()
DEBUG: calculating shlib provides for bastille-dev
DEBUG: LIBNAMES: pkg bastille-dev sonames set()
DEBUG: calculating shlib provides for bastille-doc
DEBUG: LIBNAMES: pkg bastille-doc sonames set()
DEBUG: calculating shlib provides for bastille-locale
DEBUG: LIBNAMES: pkg bastille-locale sonames set()
DEBUG: calculating shlib provides for bastille
DEBUG: LIBNAMES: pkg bastille sonames set()
DEBUG: calculating shlib requirements for bastille-src
DEBUG: calculating shlib requirements for bastille-dbg
DEBUG: calculating shlib requirements for bastille-staticdev
DEBUG: calculating shlib requirements for bastille-dev
DEBUG: calculating shlib requirements for bastille-doc
DEBUG: calculating shlib requirements for bastille-locale
DEBUG: calculating shlib requirements for bastille
DEBUG: Python function package_do_shlibs finished
DEBUG: Executing python function package_do_pkgconfig
DEBUG: Python function package_do_pkgconfig finished
DEBUG: Executing python function read_shlibdeps
DEBUG: Python function read_shlibdeps finished
DEBUG: Executing python function package_depchains
DEBUG: Python function package_depchains finished
DEBUG: Executing python function emit_pkgdata
DEBUG: Python function emit_pkgdata finished
DEBUG: Python function do_package finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 0o002 (not 22) for sstate packaging
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/bastille/3.2.1/sstate-build-package/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/recipe-sysroot' -e 'TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/sstate-build-package/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.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
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_report_unihash(d)
0003:
File: 'TOPDIR/../poky/meta/classes-global/sstate.bbclass', lineno: 913, function: sstate_report_unihash
0909: report_unihash = getattr(bb.parse.siggen, 'report_unihash', None)
0910:
0911: if report_unihash:
0912: ss = sstate_state_fromvars(d)
*** 0913: report_unihash(os.getcwd(), ss['task'], d)
0914:}
0915:
0916:#
0917:# Shell function to decompress and prepare a package for installation
File: '/home/gitlab-runner/builds/CAxQb6fJ/0/akuster/meta-security/poky/bitbake/lib/bb/siggen.py', lineno: 784, function: report_unihash
0780:
0781: if "." in self.method:
0782: (module, method) = self.method.rsplit('.', 1)
0783: locs['method'] = getattr(importlib.import_module(module), method)
*** 0784: outhash = bb.utils.better_eval('method(path, sigfile, task, d)', locs)
0785: else:
0786: outhash = bb.utils.better_eval(self.method + '(path, sigfile, task, d)', locs)
0787:
0788: try:
File: '/home/gitlab-runner/builds/CAxQb6fJ/0/akuster/meta-security/poky/bitbake/lib/bb/utils.py', lineno: 487, function: better_eval
0483: if extraglobals:
0484: ctx = copy.copy(ctx)
0485: for g in extraglobals:
0486: ctx[g] = extraglobals[g]
*** 0487: return eval(source, ctx, locals)
0488:
0489:@contextmanager
0490:def fileslocked(files, *args, **kwargs):
0491: """Context manager for locking and unlocking file locks. Uses
File: '<string>', lineno: 1, function: <module>
File "<string>", line 1, in <module>
File: 'TOPDIR/../poky/meta/lib/oe/sstatesig.py', lineno: 724, function: OEOuthashBasic
0720: process(root)
0721: for f in files:
0722: if f == 'fixmepath':
0723: continue
*** 0724: process(os.path.join(root, f))
0725:
0726: for dir in dirs:
0727: if os.path.islink(os.path.join(root, dir)):
0728: process(os.path.join(root, dir))
File: 'TOPDIR/../poky/meta/lib/oe/sstatesig.py', lineno: 659, function: process
0655: except KeyError as e:
0656: msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match "
0657: "any user/group on target. This may be due to host contamination." %
0658: (e, os.path.abspath(path), s.st_uid, s.st_gid))
*** 0659: raise Exception(msg).with_traceback(e.__traceback__)
0660:
0661: if include_timestamps:
0662: # Need to clamp to SOURCE_DATE_EPOCH
0663: if s.st_mtime > source_date_epoch:
File: 'TOPDIR/../poky/meta/lib/oe/sstatesig.py', lineno: 653, function: process
0649: else:
0650: add_perm(stat.S_IXOTH, 'x')
0651:
0652: try:
*** 0653: update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name)
0654: update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name)
0655: except KeyError as e:
0656: msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match "
0657: "any user/group on target. This may be due to host contamination." %
Exception: Exception: KeyError: 'getpwuid(): uid not found: 1001'
Path TOPDIR/tmp/work/core2-32-poky-linux/bastille/3.2.1/sstate-build-package/package/usr/share/Bastille/Questions/AccountSecurity.txt is owned by uid 1001, gid 1001, which doesn't match any user/group on target. This may be due to host contamination.
DEBUG: Python function sstate_report_unihash finished
DEBUG: Python function sstate_task_postfunc finished