Skip to content

Instantly share code, notes, and snippets.

@afro-coder
Last active July 2, 2024 14:45
Show Gist options
  • Save afro-coder/2b1f96ca31880fb66795b6dc15763e78 to your computer and use it in GitHub Desktop.
Save afro-coder/2b1f96ca31880fb66795b6dc15763e78 to your computer and use it in GitHub Desktop.
Build Ansible on Risc-v

Install Ansible in Linux using Pip

# Python 3.12.4
python -m venv venv
source venv/bin/activate

# Install rustup
## Ubuntu:  sudo apt install -y rustup
##  Archlinux: sudo pacman -S rustup

# Then install the stable version of rust
rustup install stable

rustc --version
rustc 1.79.0 (129f3b996 2024-06-10)

# Install pkg-config version I had pkgconf 2.1.1-1
## Ubuntu/Debian derivatives: sudo apt install -y pkg-config
## Archlinux: sudo pacman -S pkg-config

pip install ansible

ansible==10.1.0
ansible-core==2.17.1
cffi==1.16.0
cryptography==42.0.8
Jinja2==3.1.4
MarkupSafe==2.1.5
packaging==24.1
pycparser==2.22
PyYAML==6.0.1
resolvelib==1.0.1
ansible-playbook ansible-local.yaml
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
PLAY [Playing with Ansible and Git] ****************************************************************************************************************************
TASK [Gathering Facts] *****************************************************************************************************************************************
ok: [localhost]
TASK [just execute a ls -lrt command] **************************************************************************************************************************
changed: [localhost]
TASK [debug] ***************************************************************************************************************************************************
ok: [localhost] => {
"output.stdout_lines": [
"total 3116",
"-rw-r--r-- 1 user user 3168518 Jun 2 18:16 backup-dokuwiki.tar.gz",
"-rw-r--r-- 1 user user 14789 Jun 2 18:30 m.log",
"drwxr-xr-x 1 user user 186 Jun 3 05:03 dokuwiki",
"drwxr-xr-x 1 user user 1474 Jun 3 17:35 envoy",
"drwxr-xr-x 1 user user 60 Jun 19 11:40 yay-bin",
"drwxr-xr-x 1 user user 246 Jun 19 11:50 yay",
"-rw-r--r-- 1 user user 232 Jul 2 07:56 ansible-local.yaml",
"drwxr-xr-x 1 user user 56 Jul 2 13:54 venv"
]
}
PLAY RECAP *****************************************************************************************************************************************************
localhost : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Collecting ansible
Using cached ansible-10.1.0-py3-none-any.whl.metadata (8.2 kB)
Collecting ansible-core~=2.17.1 (from ansible)
Using cached ansible_core-2.17.1-py3-none-any.whl.metadata (6.9 kB)
Collecting jinja2>=3.0.0 (from ansible-core~=2.17.1->ansible)
Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting PyYAML>=5.1 (from ansible-core~=2.17.1->ansible)
Using cached PyYAML-6.0.1-cp312-cp312-linux_riscv64.whl
Collecting cryptography (from ansible-core~=2.17.1->ansible)
Using cached cryptography-42.0.8.tar.gz (671 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting packaging (from ansible-core~=2.17.1->ansible)
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting resolvelib<1.1.0,>=0.5.3 (from ansible-core~=2.17.1->ansible)
Using cached resolvelib-1.0.1-py2.py3-none-any.whl.metadata (4.0 kB)
Collecting MarkupSafe>=2.0 (from jinja2>=3.0.0->ansible-core~=2.17.1->ansible)
Using cached MarkupSafe-2.1.5-cp312-cp312-linux_riscv64.whl
Collecting cffi>=1.12 (from cryptography->ansible-core~=2.17.1->ansible)
Using cached cffi-1.16.0-cp312-cp312-linux_riscv64.whl
Collecting pycparser (from cffi>=1.12->cryptography->ansible-core~=2.17.1->ansible)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached ansible-10.1.0-py3-none-any.whl (47.9 MB)
Using cached ansible_core-2.17.1-py3-none-any.whl (2.2 MB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached resolvelib-1.0.1-py2.py3-none-any.whl (17 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml) ... /
done
Created wheel for cryptography: filename=cryptography-42.0.8-cp312-cp312-linux_riscv64.whl size=1497465 sha256=2effb0faf4641f1e0f958611dc3d74117c0acb07ffbef09813563e9aa406321d
Stored in directory: /home/user/.cache/pip/wheels/3d/72/97/171f6cd6eaa8c4f755fc233cbd14fe300a71acff1187ca08d5
Successfully built cryptography
Installing collected packages: resolvelib, PyYAML, pycparser, packaging, MarkupSafe, jinja2, cffi, cryptography, ansible-core, ansible
Successfully installed MarkupSafe-2.1.5 PyYAML-6.0.1 ansible-10.1.0 ansible-core-2.17.1 cffi-1.16.0 cryptography-42.0.8 jinja2-3.1.4 packaging-24.1 pycparser-2.22 resolvelib-1.0.1
[notice] A new release of pip is available: 24.0 -> 24.1.1
[notice] To update, run: pip install --upgrade pip
Collecting ansible
Using cached ansible-10.1.0-py3-none-any.whl.metadata (8.2 kB)
Collecting ansible-core~=2.17.1 (from ansible)
Using cached ansible_core-2.17.1-py3-none-any.whl.metadata (6.9 kB)
Collecting jinja2>=3.0.0 (from ansible-core~=2.17.1->ansible)
Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting PyYAML>=5.1 (from ansible-core~=2.17.1->ansible)
Using cached PyYAML-6.0.1-cp312-cp312-linux_riscv64.whl
Collecting cryptography (from ansible-core~=2.17.1->ansible)
Using cached cryptography-42.0.8.tar.gz (671 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting packaging (from ansible-core~=2.17.1->ansible)
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting resolvelib<1.1.0,>=0.5.3 (from ansible-core~=2.17.1->ansible)
Using cached resolvelib-1.0.1-py2.py3-none-any.whl.metadata (4.0 kB)
Collecting MarkupSafe>=2.0 (from jinja2>=3.0.0->ansible-core~=2.17.1->ansible)
Using cached MarkupSafe-2.1.5-cp312-cp312-linux_riscv64.whl
Collecting cffi>=1.12 (from cryptography->ansible-core~=2.17.1->ansible)
Using cached cffi-1.16.0-cp312-cp312-linux_riscv64.whl
Collecting pycparser (from cffi>=1.12->cryptography->ansible-core~=2.17.1->ansible)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached ansible-10.1.0-py3-none-any.whl (47.9 MB)
Using cached ansible_core-2.17.1-py3-none-any.whl (2.2 MB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached resolvelib-1.0.1-py2.py3-none-any.whl (17 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [326 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-riscv64-cpython-312
creating build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/utils.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-riscv64-cpython-312/cryptography
creating build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/verification.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'src/_cffi_src'
warning: no files found matching '*.h' under directory 'src/_cffi_src'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files found matching 'src/rust/target'
warning: no previously-included files matching '*' found under directory 'src/rust/target'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'ci-constraints-requirements.txt'
warning: no previously-included files found matching 'mypy.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
copying src/cryptography/py.typed -> build/lib.linux-riscv64-cpython-312/cryptography
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/exceptions.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
running build_ext
running build_rust
Updating crates.io index
Downloading crates ...
Downloaded asn1_derive v0.15.5
Downloaded foreign-types v0.3.2
Downloaded windows-targets v0.48.5
Downloaded vcpkg v0.2.15
Downloaded windows_x86_64_gnullvm v0.48.5
Downloaded windows_aarch64_gnullvm v0.48.5
Downloaded windows_x86_64_msvc v0.48.5
Downloaded windows_x86_64_gnu v0.48.5
Downloaded windows_i686_msvc v0.48.5
Downloaded windows_i686_gnu v0.48.5
Downloaded windows_aarch64_msvc v0.48.5
Downloaded libc v0.2.152
Downloaded pyo3 v0.20.3
Downloaded syn v2.0.48
Downloaded openssl v0.10.64
Downloaded unindent v0.2.3
Downloaded unicode-ident v1.0.12
Downloaded target-lexicon v0.12.13
Downloaded smallvec v1.13.1
Downloaded self_cell v1.0.3
Downloaded scopeguard v1.2.0
Downloaded redox_syscall v0.4.1
Downloaded quote v1.0.35
Downloaded pyo3-macros-backend v0.20.3
Downloaded pyo3-macros v0.20.3
Downloaded pyo3-ffi v0.20.3
Downloaded pyo3-build-config v0.20.3
Downloaded proc-macro2 v1.0.78
Downloaded portable-atomic v1.6.0
Downloaded pkg-config v0.3.29
Downloaded pem v3.0.3
Downloaded parking_lot_core v0.9.9
Downloaded parking_lot v0.12.1
Downloaded openssl-sys v0.9.102
Downloaded openssl-macros v0.1.1
Downloaded once_cell v1.19.0
Downloaded memoffset v0.9.0
Downloaded lock_api v0.4.11
Downloaded indoc v2.0.4
Downloaded heck v0.4.1
Downloaded foreign-types-shared v0.1.1
Downloaded cfg-if v1.0.0
Downloaded cc v1.0.83
Downloaded bitflags v2.4.2
Downloaded bitflags v1.3.2
Downloaded base64 v0.21.7
Downloaded autocfg v1.1.0
Downloaded asn1 v0.15.5
cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --
Compiling libc v0.2.152
Compiling proc-macro2 v1.0.78
Compiling unicode-ident v1.0.12
Compiling target-lexicon v0.12.13
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2015 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.152/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=fd3b615b6b771ade -C extra-filename=-fd3b615b6b771ade --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/libc-fd3b615b6b771ade -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2021 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.78/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=8577f0f804728d75 -C extra-filename=-8577f0f804728d75 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/proc-macro2-8577f0f804728d75 -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name unicode_ident --edition=2018 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=b99ec0b5c4339434 -C extra-filename=-b99ec0b5c4339434 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/target-lexicon-0.12.13/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' -C metadata=59b3577d1625d1d7 -C extra-filename=-59b3577d1625d1d7 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/target-lexicon-59b3577d1625d1d7 -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Compiling pkg-config v0.3.29
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name pkg_config --edition=2015 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pkg-config-0.3.29/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=9fc9f7f25012f7f1 -C extra-filename=-9fc9f7f25012f7f1 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Running `/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/proc-macro2-8577f0f804728d75/build-script-build`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name proc_macro2 --edition=2021 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.78/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=cfc938a61640a3da -C extra-filename=-cfc938a61640a3da --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --extern unicode_ident=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libunicode_ident-b99ec0b5c4339434.rmeta --cap-lints allow --cfg wrap_proc_macro`
Running `/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/libc-fd3b615b6b771ade/build-script-build`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name libc --edition=2015 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.152/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=2fdad85c4dce60eb -C extra-filename=-2fdad85c4dce60eb --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
Running `/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/target-lexicon-59b3577d1625d1d7/build-script-build`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name target_lexicon --edition=2018 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/target-lexicon-0.12.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' -C metadata=5427244f1818eb7d -C extra-filename=-5427244f1818eb7d --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow --cfg 'feature="rust_1_40"'`
Compiling quote v1.0.35
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name quote --edition=2018 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.35/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=a73a6f29d136192f -C extra-filename=-a73a6f29d136192f --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libproc_macro2-cfc938a61640a3da.rmeta --cap-lints allow`
Compiling vcpkg v0.2.15
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name vcpkg --edition=2015 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/vcpkg-0.2.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=95fcb92e53d7b921 -C extra-filename=-95fcb92e53d7b921 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Compiling cc v1.0.83
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name cc --edition=2018 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.83/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=aed786f0edfe20d5 -C extra-filename=-aed786f0edfe20d5 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --extern libc=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/liblibc-2fdad85c4dce60eb.rmeta --cap-lints allow`
Compiling syn v2.0.48
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name syn --edition=2021 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.48/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=c6da1daa15ab5141 -C extra-filename=-c6da1daa15ab5141 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libproc_macro2-cfc938a61640a3da.rmeta --extern quote=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libquote-a73a6f29d136192f.rmeta --extern unicode_ident=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libunicode_ident-b99ec0b5c4339434.rmeta --cap-lints allow`
Compiling pyo3-build-config v0.20.3
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2021 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-build-config-0.20.3/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="resolve-config"' -C metadata=7351a137b004f866 -C extra-filename=-7351a137b004f866 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/pyo3-build-config-7351a137b004f866 -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --extern target_lexicon=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libtarget_lexicon-5427244f1818eb7d.rlib --cap-lints allow`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2015 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.152/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6460b5a0dc5643a9 -C extra-filename=-6460b5a0dc5643a9 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/libc-6460b5a0dc5643a9 -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Running `/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/pyo3-build-config-7351a137b004f866/build-script-build`
Compiling once_cell v1.19.0
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name once_cell --edition=2021 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=4c926e322a19481a -C extra-filename=-4c926e322a19481a --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Running `/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/libc-6460b5a0dc5643a9/build-script-build`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name libc --edition=2015 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.152/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8da0a91742b971aa -C extra-filename=-8da0a91742b971aa --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name pyo3_build_config --edition=2021 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-build-config-0.20.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="resolve-config"' -C metadata=393ad5bfd67967b2 -C extra-filename=-393ad5bfd67967b2 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --extern once_cell=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libonce_cell-4c926e322a19481a.rmeta --extern target_lexicon=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libtarget_lexicon-5427244f1818eb7d.rmeta --cap-lints allow`
Compiling openssl-sys v0.9.102
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name build_script_main --edition=2018 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.102/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=3ee46c8e15958563 -C extra-filename=-3ee46c8e15958563 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/openssl-sys-3ee46c8e15958563 -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --extern cc=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libcc-aed786f0edfe20d5.rlib --extern pkg_config=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libpkg_config-9fc9f7f25012f7f1.rlib --extern vcpkg=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps/libvcpkg-95fcb92e53d7b921.rlib --cap-lints allow`
Compiling autocfg v1.1.0
Running `/home/user/.rustup/toolchains/stable-riscv64gc-unknown-linux-gnu/bin/rustc --crate-name autocfg --edition=2015 /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=438db21b9d7ac866 -C extra-filename=-438db21b9d7ac866 --out-dir /tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps -C strip=debuginfo -L dependency=/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/deps --cap-lints allow`
Running `/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/openssl-sys-3ee46c8e15958563/build-script-main`
error: failed to run custom build command for `openssl-sys v0.9.102`
Caused by:
process didn't exit successfully: `/tmp/pip-install-64gdat_p/cryptography_315b61308bd4478ca440242618c9d43e/src/rust/target/release/build/openssl-sys-3ee46c8e15958563/build-script-main` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_DIR
RISCV64GC_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_DIR
OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_riscv64gc-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_riscv64gc_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENSSL_STATIC
cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_riscv64gc-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_riscv64gc_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_riscv64gc-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_riscv64gc_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_riscv64gc-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_riscv64gc_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=OPENSSL_STATIC
cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_riscv64gc-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_riscv64gc_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_riscv64gc-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_riscv64gc_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_riscv64gc-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_riscv64gc_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
run pkg_config fail: Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags openssl`
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
Try `apt install pkg-config`, or `yum install pkg-config`,
or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.
If you did not expect this build to link to a pre-installed system library,
then check documentation of the openssl-sys crate for an option to
build the library from source, or disable features or dependencies
that require pkg-config.
--- stderr
thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.102/build/find_normal.rs:190:5:
Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
compilation process.
Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.
$HOST = riscv64gc-unknown-linux-gnu
$TARGET = riscv64gc-unknown-linux-gnu
openssl-sys = 0.9.102
It looks like you're compiling on Linux and also targeting Linux. Currently this
requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
could not be found. If you have OpenSSL installed you can likely fix this by
installing `pkg-config`.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --` failed with code 101
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
Collecting ansible
Downloading ansible-10.1.0-py3-none-any.whl.metadata (8.2 kB)
Collecting ansible-core~=2.17.1 (from ansible)
Downloading ansible_core-2.17.1-py3-none-any.whl.metadata (6.9 kB)
Collecting jinja2>=3.0.0 (from ansible-core~=2.17.1->ansible)
Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting PyYAML>=5.1 (from ansible-core~=2.17.1->ansible)
Downloading PyYAML-6.0.1.tar.gz (125 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.2/125.2 kB 2.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cryptography (from ansible-core~=2.17.1->ansible)
Downloading cryptography-42.0.8.tar.gz (671 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 671.2/671.2 kB 4.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting packaging (from ansible-core~=2.17.1->ansible)
Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting resolvelib<1.1.0,>=0.5.3 (from ansible-core~=2.17.1->ansible)
Downloading resolvelib-1.0.1-py2.py3-none-any.whl.metadata (4.0 kB)
Collecting MarkupSafe>=2.0 (from jinja2>=3.0.0->ansible-core~=2.17.1->ansible)
Downloading MarkupSafe-2.1.5.tar.gz (19 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.12 (from cryptography->ansible-core~=2.17.1->ansible)
Using cached cffi-1.16.0-cp312-cp312-linux_riscv64.whl
Collecting pycparser (from cffi>=1.12->cryptography->ansible-core~=2.17.1->ansible)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading ansible-10.1.0-py3-none-any.whl (47.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.9/47.9 MB 2.3 MB/s eta 0:00:00
Downloading ansible_core-2.17.1-py3-none-any.whl (2.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 4.0 MB/s eta 0:00:00
Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 1.3 MB/s eta 0:00:00
Downloading resolvelib-1.0.1-py2.py3-none-any.whl (17 kB)
Downloading packaging-24.1-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 458.6 kB/s eta 0:00:00
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: PyYAML, cryptography, MarkupSafe
Building wheel for PyYAML (pyproject.toml) ... done
Created wheel for PyYAML: filename=PyYAML-6.0.1-cp312-cp312-linux_riscv64.whl size=45364 sha256=5690a8e940bff506f02f6b6a515e19dc0f1757daddf8b080779187d422376e73
Stored in directory: /home/user/.cache/pip/wheels/4a/68/8e/df9cd97725df58bd2ab35992dce00b50f70490a3d672da85ea
Building wheel for cryptography (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [151 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-riscv64-cpython-312
creating build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/utils.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-riscv64-cpython-312/cryptography
creating build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/verification.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/x509
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/serialization
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/kdf
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/openssl
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/backends/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'src/_cffi_src'
warning: no files found matching '*.h' under directory 'src/_cffi_src'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files found matching 'src/rust/target'
warning: no previously-included files matching '*' found under directory 'src/rust/target'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'ci-constraints-requirements.txt'
warning: no previously-included files found matching 'mypy.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
copying src/cryptography/py.typed -> build/lib.linux-riscv64-cpython-312/cryptography
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/exceptions.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust
creating build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi -> build/lib.linux-riscv64-cpython-312/cryptography/hazmat/bindings/_rust/openssl
running build_ext
running build_rust
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.63.0.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Building wheel for MarkupSafe (pyproject.toml) ... done
Created wheel for MarkupSafe: filename=MarkupSafe-2.1.5-cp312-cp312-linux_riscv64.whl size=28091 sha256=3f8ae02bf17e2c67b6b7c63090aa05c785af53ea8d33b2bc83d517fe21491df8
Stored in directory: /home/user/.cache/pip/wheels/40/24/24/7d4e7436d63e2b8456180d72e84a239e83868b0e9744377bee
Successfully built PyYAML MarkupSafe
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
@afro-coder
Copy link
Author

System specs

                  -`                     user@ArchVF2
                 .o+`                    ------------
                `ooo/                    OS: Arch Linux riscv64
               `+oooo:                   Host: StarFive VisionFive V2
              `+oooooo:                  Kernel: Linux 5.15.2-cwt-5.11.3-1
              -+oooooo+:                 Uptime: 1 day, 2 hours, 29 mins
            `/:-:++oooo+:                Packages: 265 (pacman)
           `/++++/+++++++:               Shell: bash 5.2.26
          `/++++++++++++++:              Cursor: Adwaita
         `/+++ooooooooooooo/`            Terminal: /dev/pts/0
        ./ooosssso++osssssso+`           CPU: sifive,u74-mc rv64gc (4) @ 1.50 GHz
       .oossssso-````/ossssss+`          GPU: PowerVR B-Series BXE-4-32 [Integrated]
      -osssssso.      :ssssssso.         Memory: 479.63 MiB / 7.70 GiB (6%)
     :osssssss/        osssso+++.        Swap: 0 B / 3.85 GiB (0%)
    /ossssssss/        +ssssooo/-        Disk (/): 4.78 GiB / 59.37 GiB (8%) - btrfs
  `/ossssso+/:-        -:/+osssso+-      Local IP (end0): 192.168.31.165/24 *
 `+sso+:-`                 `.-/+oso:     Locale: C.UTF-8
`++:.                           `-/+/
.`                                 `/    ████████████████████████
                                         ████████████████████████

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment