DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_recipe_spdx
DEBUG: Fetching SPDX for dependency cargo-native
DEBUG: Fetching SPDX for dependency gcc-cross-x86_64
DEBUG: Fetching SPDX for dependency gcc-runtime
DEBUG: Fetching SPDX for dependency glibc
DEBUG: Fetching SPDX for dependency libstd-rs
DEBUG: Fetching SPDX for dependency python3
DEBUG: Fetching SPDX for dependency python3-build-native
DEBUG: Fetching SPDX for dependency python3-cffi-native
DEBUG: Fetching SPDX for dependency python3-installer-native
DEBUG: Fetching SPDX for dependency python3-native
DEBUG: Fetching SPDX for dependency python3-setuptools-native
DEBUG: Fetching SPDX for dependency python3-setuptools-rust-native
DEBUG: Fetching SPDX for dependency python3-wheel-native
DEBUG: Fetching SPDX for dependency rust-native
DEBUG: Fetching https://static.crates.io/crates/autocfg/1.5.0/download to autocfg-1.5.0.crate
DEBUG: Fetching https://static.crates.io/crates/base64/0.22.1/download to base64-0.22.1.crate
DEBUG: Fetching https://static.crates.io/crates/bcrypt/0.17.1/download to bcrypt-0.17.1.crate
DEBUG: Fetching https://static.crates.io/crates/bcrypt-pbkdf/0.10.0/download to bcrypt-pbkdf-0.10.0.crate
DEBUG: Fetching https://static.crates.io/crates/block-buffer/0.10.4/download to block-buffer-0.10.4.crate
DEBUG: Fetching https://static.crates.io/crates/blowfish/0.9.1/download to blowfish-0.9.1.crate
DEBUG: Fetching https://static.crates.io/crates/byteorder/1.5.0/download to byteorder-1.5.0.crate
DEBUG: Fetching https://static.crates.io/crates/cfg-if/1.0.3/download to cfg-if-1.0.3.crate
DEBUG: Fetching https://static.crates.io/crates/cipher/0.4.4/download to cipher-0.4.4.crate
DEBUG: Fetching https://static.crates.io/crates/cpufeatures/0.2.17/download to cpufeatures-0.2.17.crate
DEBUG: Fetching https://static.crates.io/crates/crypto-common/0.1.6/download to crypto-common-0.1.6.crate
DEBUG: Fetching https://static.crates.io/crates/digest/0.10.7/download to digest-0.10.7.crate
DEBUG: Fetching https://static.crates.io/crates/generic-array/0.14.7/download to generic-array-0.14.7.crate
DEBUG: Fetching https://static.crates.io/crates/getrandom/0.3.3/download to getrandom-0.3.3.crate
DEBUG: Fetching https://static.crates.io/crates/heck/0.5.0/download to heck-0.5.0.crate
DEBUG: Fetching https://static.crates.io/crates/indoc/2.0.6/download to indoc-2.0.6.crate
DEBUG: Fetching https://static.crates.io/crates/inout/0.1.4/download to inout-0.1.4.crate
DEBUG: Fetching https://static.crates.io/crates/libc/0.2.176/download to libc-0.2.176.crate
DEBUG: Fetching https://static.crates.io/crates/memoffset/0.9.1/download to memoffset-0.9.1.crate
DEBUG: Fetching https://static.crates.io/crates/once_cell/1.21.3/download to once_cell-1.21.3.crate
DEBUG: Fetching https://static.crates.io/crates/pbkdf2/0.12.2/download to pbkdf2-0.12.2.crate
DEBUG: Fetching https://static.crates.io/crates/portable-atomic/1.11.1/download to portable-atomic-1.11.1.crate
DEBUG: Fetching https://static.crates.io/crates/proc-macro2/1.0.101/download to proc-macro2-1.0.101.crate
DEBUG: Fetching https://static.crates.io/crates/pyo3/0.26.0/download to pyo3-0.26.0.crate
DEBUG: Fetching https://static.crates.io/crates/pyo3-build-config/0.26.0/download to pyo3-build-config-0.26.0.crate
DEBUG: Fetching https://static.crates.io/crates/pyo3-ffi/0.26.0/download to pyo3-ffi-0.26.0.crate
DEBUG: Fetching https://static.crates.io/crates/pyo3-macros/0.26.0/download to pyo3-macros-0.26.0.crate
DEBUG: Fetching https://static.crates.io/crates/pyo3-macros-backend/0.26.0/download to pyo3-macros-backend-0.26.0.crate
DEBUG: Fetching https://static.crates.io/crates/quote/1.0.40/download to quote-1.0.40.crate
DEBUG: Fetching https://static.crates.io/crates/r-efi/5.3.0/download to r-efi-5.3.0.crate
DEBUG: Fetching https://static.crates.io/crates/sha2/0.10.9/download to sha2-0.10.9.crate
DEBUG: Fetching https://static.crates.io/crates/subtle/2.6.1/download to subtle-2.6.1.crate
DEBUG: Fetching https://static.crates.io/crates/syn/2.0.106/download to syn-2.0.106.crate
DEBUG: Fetching https://static.crates.io/crates/target-lexicon/0.13.3/download to target-lexicon-0.13.3.crate
DEBUG: Fetching https://static.crates.io/crates/typenum/1.18.0/download to typenum-1.18.0.crate
DEBUG: Fetching https://static.crates.io/crates/unicode-ident/1.0.19/download to unicode-ident-1.0.19.crate
DEBUG: Fetching https://static.crates.io/crates/unindent/0.2.4/download to unindent-0.2.4.crate
DEBUG: Fetching https://static.crates.io/crates/version_check/0.9.5/download to version_check-0.9.5.crate
DEBUG: Fetching https://static.crates.io/crates/wasi/0.14.7+wasi-0.2.4/download to wasi-0.14.7+wasi-0.2.4.crate
DEBUG: Fetching https://static.crates.io/crates/wasip2/1.0.1+wasi-0.2.4/download to wasip2-1.0.1+wasi-0.2.4.crate
DEBUG: Fetching https://static.crates.io/crates/wit-bindgen/0.46.0/download to wit-bindgen-0.46.0.crate
DEBUG: Fetching https://static.crates.io/crates/zeroize/1.8.1/download to zeroize-1.8.1.crate
DEBUG: Scanning 0 patches for CVEs
DEBUG: Python function do_create_recipe_spdx finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/spdx/3.0.1/recipe-deploy for packaging at TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/sstate-build-create_recipe_spdx/recipe-deploy
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/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/sstate-build-create_recipe_spdx/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/recipe-sysroot' -e 'TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/sstate-build-create_recipe_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-bcrypt/5.0.0/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
DEBUG: Reported task 8ecced18ca814490eb02e88ac5d5bbd7660d7d69a177333ca548921d032c0757 as unihash 8ecced18ca814490eb02e88ac5d5bbd7660d7d69a177333ca548921d032c0757 to wss://hashserv-eu.yoctoproject.org/ws
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing python function sstate_create_and_sign_package
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_create_and_sign_package(d)
     0003:
File: '/srv/pokybuild/yocto-worker/qemux86-world/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 876, function: sstate_create_and_sign_package
     0872:            # be updated.
     0873:            update_file(tmp_pkg, sstate_pkg, force=True)
     0874:    else:
     0875:        from tempfile import NamedTemporaryFile
 *** 0876:        with NamedTemporaryFile(prefix=sstate_pkg.name, dir=sstate_pkg.parent) as tmp_pkg_fd:
     0877:            tmp_pkg = tmp_pkg_fd.name
     0878:            sstate_archive_package(tmp_pkg, d)
     0879:            update_file(tmp_pkg, sstate_pkg)
     0880:            # update_file() may have renamed tmp_pkg, which must exist when the
File: '/usr/lib/python3.11/tempfile.py', lineno: 718, function: NamedTemporaryFile
     0714:        nonlocal name
     0715:        fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
     0716:        return fd
     0717:    try:
 *** 0718:        file = _io.open(dir, mode, buffering=buffering,
     0719:                        newline=newline, encoding=encoding, errors=errors,
     0720:                        opener=opener)
     0721:        try:
     0722:            raw = getattr(file, 'buffer', file)
File: '/usr/lib/python3.11/tempfile.py', lineno: 715, function: opener
     0711:
     0712:    name = None
     0713:    def opener(*args):
     0714:        nonlocal name
 *** 0715:        fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
     0716:        return fd
     0717:    try:
     0718:        file = _io.open(dir, mode, buffering=buffering,
     0719:                        newline=newline, encoding=encoding, errors=errors,
File: '/usr/lib/python3.11/tempfile.py', lineno: 395, function: _mkstemp_inner
     0391:        name = next(names)
     0392:        file = _os.path.join(dir, pre + name + suf)
     0393:        _sys.audit("tempfile.mkstemp", file)
     0394:        try:
 *** 0395:            fd = _os.open(file, flags, 0o600)
     0396:        except FileExistsError:
     0397:            continue    # try again
     0398:        except PermissionError:
     0399:            # This exception is thrown when a directory with the chosen name
Exception: PermissionError: [Errno 13] Permission denied: '/srv/autobuilder/valkyrie.yocto.io/pub/sstate/8e/cc/sstate:python3-bcrypt:x86-64-v3-poky-linux:5.0.0:r0:x86-64-v3:14:8ecced18ca814490eb02e88ac5d5bbd7660d7d69a177333ca548921d032c0757_create_recipe_spdx.tar.zst2lppum0c'

DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Python function sstate_task_postfunc finished

Error details

Submitted on:
03/07/26 18:01
Error type:
Recipe
Task:
do_create_recipe_spdx
Recipe:
python3-bcrypt
Recipe version:
5.0.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
debian-12/debian-12
Branch:
master-next
Commit:
c8b516b5de30ced603ed8affbe4478343881a9cf
Build:
#241799
Submitter:
yp-ab-debian12-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/4092
Similar errors:
4
Open a bug