docs/HYPER.md: document a workaround for a link error #11653
Closed
Cirrus CI / FreeBSD 13.2
failed
Aug 11, 2023 in 1m 48s
Task Summary
Instruction pkginstall failed in 01:44
Details
✅ 00:02 clone
❌ 01:44 pkginstall
copying src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi -> build/lib.freebsd-13.2-RELEASE-amd64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.9.16
platform: FreeBSD-13.2-RELEASE-amd64-64bit-ELF
pip: n/a
setuptools: 68.0.0
setuptools_rust: 1.6.0
rustc: n/a
=============================DEBUG ASSISTANCE=============================
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.56.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): started
Building wheel for MarkupSafe (pyproject.toml): finished with status 'done'
Created wheel for MarkupSafe: filename=MarkupSafe-2.1.3-cp39-cp39-freebsd_13_2_release_amd64.whl size=15494 sha256=d0e02fe844d438b8c22f2c98a3042ef1751c0ebf27ae8b46b3cdd5cbe0c36110
Stored in directory: /.cache/pip/wheels/32/ae/2d/64c1108f0307e8e9b4eb0e0bcc95e9749393ca4198c6fc6026
Successfully built impacket dsinternals future pycryptodomex MarkupSafe
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Loading