DEBUG: Executing python function do_unpack
DEBUG: Executing python function base_do_unpack
DEBUG: Fetching https://crates.io/api/v1/crates/asn1/0.21.3/download to asn1-0.21.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/asn1_derive/0.21.3/download to asn1_derive-0.21.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/autocfg/1.4.0/download to autocfg-1.4.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/base64/0.22.1/download to base64-0.22.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/bitflags/2.9.1/download to bitflags-2.9.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/cc/1.2.23/download to cc-1.2.23.crate
DEBUG: Fetching https://crates.io/api/v1/crates/cfg-if/1.0.0/download to cfg-if-1.0.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/foreign-types/0.3.2/download to foreign-types-0.3.2.crate
DEBUG: Fetching https://crates.io/api/v1/crates/foreign-types-shared/0.1.1/download to foreign-types-shared-0.1.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/heck/0.5.0/download to heck-0.5.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/indoc/2.0.6/download to indoc-2.0.6.crate
DEBUG: Fetching https://crates.io/api/v1/crates/itoa/1.0.15/download to itoa-1.0.15.crate
DEBUG: Fetching https://crates.io/api/v1/crates/libc/0.2.172/download to libc-0.2.172.crate
DEBUG: Fetching https://crates.io/api/v1/crates/memoffset/0.9.1/download to memoffset-0.9.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/once_cell/1.21.3/download to once_cell-1.21.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/openssl/0.10.72/download to openssl-0.10.72.crate
DEBUG: Fetching https://crates.io/api/v1/crates/openssl-macros/0.1.1/download to openssl-macros-0.1.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/openssl-sys/0.9.108/download to openssl-sys-0.9.108.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pem/3.0.5/download to pem-3.0.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pkg-config/0.3.32/download to pkg-config-0.3.32.crate
DEBUG: Fetching https://crates.io/api/v1/crates/portable-atomic/1.11.0/download to portable-atomic-1.11.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/proc-macro2/1.0.95/download to proc-macro2-1.0.95.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3/0.25.0/download to pyo3-0.25.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-build-config/0.25.0/download to pyo3-build-config-0.25.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-ffi/0.25.0/download to pyo3-ffi-0.25.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-macros/0.25.0/download to pyo3-macros-0.25.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-macros-backend/0.25.0/download to pyo3-macros-backend-0.25.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/quote/1.0.40/download to quote-1.0.40.crate
DEBUG: Fetching https://crates.io/api/v1/crates/self_cell/1.2.0/download to self_cell-1.2.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/shlex/1.3.0/download to shlex-1.3.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/syn/2.0.101/download to syn-2.0.101.crate
DEBUG: Fetching https://crates.io/api/v1/crates/target-lexicon/0.13.2/download to target-lexicon-0.13.2.crate
DEBUG: Fetching https://crates.io/api/v1/crates/unicode-ident/1.0.18/download to unicode-ident-1.0.18.crate
DEBUG: Fetching https://crates.io/api/v1/crates/unindent/0.2.4/download to unindent-0.2.4.crate
DEBUG: Fetching https://crates.io/api/v1/crates/vcpkg/0.2.15/download to vcpkg-0.2.15.crate
NOTE: Unpacking /opt/world/downloads/cryptography-45.0.3.tar.gz to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
DEBUG: Searching for 0001-pyproject.toml-remove-benchmark-disable-option.patch in paths:
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/
DEBUG: Using TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch for 0001-pyproject.toml-remove-benchmark-disable-option.patch
NOTE: Unpacking TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
DEBUG: Searching for check-memfree.py in paths:
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/
DEBUG: Using TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/check-memfree.py for check-memfree.py
NOTE: Unpacking TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/check-memfree.py to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
DEBUG: Searching for run-ptest in paths:
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/yoe
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/x86-64
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography-45.0.3/
    TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/
    TOPDIR/sources/poky/meta/recipes-devtools/python/files/
DEBUG: Using TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/run-ptest for run-ptest
NOTE: Unpacking TOPDIR/sources/poky/meta/recipes-devtools/python/python3-cryptography/run-ptest to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/asn1-0.21.3.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/asn1_derive-0.21.3.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/autocfg-1.4.0.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/base64-0.22.1.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/bitflags-2.9.1.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/cc-1.2.23.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/cfg-if-1.0.0.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/foreign-types-0.3.2.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/foreign-types-shared-0.1.1.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/heck-0.5.0.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/indoc-2.0.6.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/itoa-1.0.15.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
NOTE: Unpacking /opt/world/downloads/libc-0.2.172.crate to TMPDIR/work/x86_64-linux/python3-cryptography-native/45.0.3/sources/
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:base_do_unpack(d)
     0003:
File: 'TOPDIR/sources/poky/meta/classes-global/base.bbclass', lineno: 193, function: base_do_unpack
     0189:            d.setVar("SOURCE_BASEDIR", unpackdir + '/' + basedir)
     0190:
     0191:    try:
     0192:        fetcher = bb.fetch2.Fetch(src_uri, d)
 *** 0193:        fetcher.unpack(d.getVar('UNPACKDIR'))
     0194:    except bb.fetch2.BBFetchException as e:
     0195:        bb.fatal("Bitbake Fetcher Error: " + repr(e))
     0196:}
     0197:
File: 'TOPDIR/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 2010, function: unpack
     2006:            if ud.lockfile:
     2007:                lf = bb.utils.lockfile(ud.lockfile)
     2008:
     2009:            unpack_tracer.start_url(u)
 *** 2010:            ud.method.unpack(ud, root, self.d)
     2011:            unpack_tracer.finish_url(u)
     2012:
     2013:            if ud.lockfile:
     2014:                bb.utils.unlockfile(lf)
File: 'TOPDIR/sources/poky/bitbake/lib/bb/fetch2/crate.py', lineno: 85, function: unpack
     0081:        """
     0082:        Uses the crate to build the necessary paths for cargo to utilize it
     0083:        """
     0084:        if ud.type == 'crate':
 *** 0085:            return self._crate_unpack(ud, rootdir, d)
     0086:        else:
     0087:            super(Crate, self).unpack(ud, rootdir, d)
     0088:
     0089:    def _crate_unpack(self, ud, rootdir, d):
File: 'TOPDIR/sources/poky/bitbake/lib/bb/fetch2/crate.py', lineno: 116, function: _crate_unpack
     0112:            # ensure we've got these paths made
     0113:            bb.utils.mkdirhier(cargo_bitbake)
     0114:
     0115:            # generate metadata necessary
 *** 0116:            with open(thefile, 'rb') as f:
     0117:                # get the SHA256 of the original tarball
     0118:                tarhash = hashlib.sha256(f.read()).hexdigest()
     0119:
     0120:            metadata['files'] = {}
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/opt/world/downloads/memoffset-0.9.1.crate'

DEBUG: Python function base_do_unpack finished
DEBUG: Python function do_unpack finished

Error details

Submitted on:
22/06/25 11:55
Error type:
Recipe
Task:
do_unpack
Recipe:
python3-cryptography-native
Recipe version:
45.0.3-r0
Machine:
qemuriscv64
Distro:
yoe
Build system:
x86_64-linux
Target system:
riscv64-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
55456a0189a6546f0ded31f3446285fc5c1302d1
Build:
#208979
Submitter:
ab@rdk
Similar errors:
0
Open a bug