DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/gcc/gcc-crosssdk_15.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/chrpath/chrpath_0.18.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/python/python3_3.13.7.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/rust/cargo_1.90.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/rust/rust_1.90.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-extended/xz/xz_5.8.1.bb:do_populate_sysroot', 'virtual:nativesdk:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', 'virtual:nativesdk:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/gcc/gcc-runtime_15.2.bb:do_populate_sysroot', 'virtual:nativesdk:/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/rust/rust-llvm_1.90.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'binutils-crosssdk-aarch64-pokysdk-linux', 'cmake-native', 'gcc-crosssdk-aarch64-pokysdk-linux', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'openssl-native', 'expat-native', 'gettext-native', 'ncurses-native', 'util-linux-libuuid-native', 'zlib-native', 'chrpath-native', 'flex-native', 'gnu-config-native', 'libedit-native', 'make-native', 'patchelf-native', 'perl-native', 'pseudo-native', 'python3-native', 'cargo-native', 'rust-llvm-native', 'rust-native', 'bzip2-native', 'xz-native', 'zstd-native', 'attr-native', 'ca-certificates-native', 'curl-native', 'gdbm-native', 'gmp-native', 'libffi-native', 'libmpc-native', 'libssh2-native', 'mpfr-native', 'sqlite3-native', 'nativesdk-glibc', 'nativesdk-gcc-runtime', 'nativesdk-libgcc', 'nativesdk-rust-llvm', 'nativesdk-linux-libc-headers']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_configure
DEBUG: Executing shell function setup_cargo_environment
DEBUG: Shell function setup_cargo_environment finished
DEBUG: Python function do_configure finished
DEBUG: Executing python function do_qa_configure
DEBUG: Python function do_qa_configure finished
DEBUG: Executing python function cargo_common_do_patch_paths
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:cargo_common_do_patch_paths(d)
0003:
File: '/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/classes-recipe/cargo_common.bbclass', lineno: 182, function: cargo_common_do_patch_paths
0178: lockfile = d.getVar("CARGO_LOCK_PATH")
0179: if not os.path.exists(lockfile):
0180: bb.fatal(f"{lockfile} file doesn't exist")
0181:
*** 0182: lockfile = load_toml_file(lockfile)
0183:
0184: # key is the repo url, value is a boolean, which is used later
0185: # to indicate if there is a matching repository in SRC_URI also
0186: lockfile_git_repos = {}
File: '/srv/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/classes-recipe/cargo_common.bbclass', lineno: 137, function: load_toml_file
0133: cargo_toml_path = os.path.join(path, 'Cargo.toml')
0134: return os.path.exists(cargo_toml_path)
0135:
0136: def load_toml_file(toml_path):
*** 0137: import tomllib
0138: with open(toml_path, 'rb') as f:
0139: toml = tomllib.load(f)
0140: return toml
0141:
Exception: ModuleNotFoundError: No module named 'tomllib'
DEBUG: Python function cargo_common_do_patch_paths finished