Closed Megapusher closed 2 years ago
Any specific reason to set
CARGO_BUILD_TARGET=aarch64-linux-android
instead of
CARGO_BUILD_TARGET=armv7-linux-androideabi
which should suit your environment?
Any specific reason to set
CARGO_BUILD_TARGET=aarch64-linux-android
instead of
CARGO_BUILD_TARGET=armv7-linux-androideabi
which should suit your environment?
It worked.
export CARGO_BUILD_TARGET=armv7-linux-androideabi && pip install cryptography
Thank you very much !
NOT WORKING 😣
Collecting cryptography Downloading cryptography-37.0.4.tar.gz (585 kB) ━━━━━━━━━━ 585.9/585… 971.5 eta 0:00:00 kB kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: cffi>=1.12 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from cryptography) (1.15.1) Requirement already satisfied: pycparser in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from cffi>=1.12->cryptography) (2.21) 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
╰─> [194 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-310
creating build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/about.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/init.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
creating build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
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' 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 matching '' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'dev-requirements.txt' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '*' found under directory '.circleci' adding license file 'LICENSE' adding license file 'LICENSE.APACHE' adding license file 'LICENSE.BSD' adding license file 'LICENSE.PSF' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' /data/data/com.termux/files/usr/tmp/pip-build-env-jv1ynco/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in packages
. !! ############################ # Package would be ignored # ############################ Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package, but it is not listed in the packages
configuration of setuptools. 'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using the packages
configuration field or the proper discovery methods (for example by using find_namespace_packages(...)
/find_namespace:
instead of find_packages(...)
/find:
). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying src/cryptography/py.typed -> build/lib.linux-aarch64-cpython-310/cryptography creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/init.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust running build_ext generating cffi module 'build/temp.linux-aarch64-cpython-310/_openssl.c' creating build/temp.linux-aarch64-cpython-310
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.10.5
platform: Linux-4.14.141+-aarch64-with-libc
pip: n/a
setuptools: 63.2.0 setuptools_rust: 1.4.1
=============================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.
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.
Try pkg i rust -y
.
Please help again error 😭
Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py) ... done Collecting requests==2.21.0 Using cached requests-2.21.0-py2.py3-none-any.whl (57 kB) Collecting paramiko Using cached paramiko-2.11.0-py2.py3-none-any.whl (212 kB) Collecting pysnmp==4.4.6 Using cached pysnmp-4.4.6-py2.py3-none-any.whl (291 kB) Collecting pycryptodome Using cached pycryptodome-3.15.0.tar.gz (4.5 MB) Preparing metadata (setup.py) ... done Collecting chardet<3.1.0,>=3.0.2 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting certifi>=2017.4.17 Using cached certifi-2022.6.15-py3-none-any.whl (160 kB) Collecting urllib3<1.25,>=1.21.1 Using cached urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting idna<2.9,>=2.5 Using cached idna-2.8-py2.py3-none-any.whl (58 kB) Collecting pysmi Using cached pysmi-0.3.4-py2.py3-none-any.whl (80 kB) Collecting pyasn1>=0.2.3 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pycryptodomex Using cached pycryptodomex-3.15.0.tar.gz (4.5 MB) Preparing metadata (setup.py) ... done Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting bcrypt>=3.1.3 Using cached bcrypt-3.2.2-cp310-cp310-linux_aarch64.whl Collecting pynacl>=1.0.1 Using cached PyNaCl-1.5.0.tar.gz (3.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting cryptography>=2.5 Using cached cryptography-37.0.4.tar.gz (585 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting cffi>=1.1 Using cached cffi-1.15.1.tar.gz (508 kB) Preparing metadata (setup.py) ... done Collecting ply Using cached ply-3.11-py2.py3-none-any.whl (49 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Using legacy 'setup.py install' for future, since package 'wheel' is not installed. Using legacy 'setup.py install' for pycryptodome, since package 'wheel' is not installed. Using legacy 'setup.py install' for pycryptodomex, since package 'wheel' is not installed. Using legacy 'setup.py install' for cffi, since package 'wheel' is not installed. Building wheels for collected packages: cryptography, pynacl 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
╰─> [182 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-310
creating build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/about.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/init.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-aarch64-cpython-310/cryptography
copying src/cryptography/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
creating build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/init.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
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'
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 matching '' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory '.circleci'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
/data/data/com.termux/files/usr/tmp/pip-build-env-odg040pa/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in packages
.
!!
############################
# Package would be ignored #
############################
Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
copying src/cryptography/py.typed -> build/lib.linux-aarch64-cpython-310/cryptography
creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
running build_ext
generating cffi module 'build/temp.linux-aarch64-cpython-310/_openssl.c'
creating build/temp.linux-aarch64-cpython-310
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.10.5
platform: Linux-4.14.141+-aarch64-with-libc
pip: n/a
setuptools: 63.2.0
setuptools_rust: 1.4.1
=============================DEBUG ASSISTANCE=============================
error: Don't know the correct rust target for system type aarch64-unknown-linux-android. Please set the CARGO_BUILD_TARGET environment variable.
[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 pynacl (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for pynacl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [196 lines of output]
/data/data/com.termux/files/usr/tmp/pip-build-env-jkdldu/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-310
creating build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/init.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/encoding.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/exceptions.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/hash.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/hashlib.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/public.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/secret.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/signing.py -> build/lib.linux-aarch64-cpython-310/nacl
copying src/nacl/utils.py -> build/lib.linux-aarch64-cpython-310/nacl
creating build/lib.linux-aarch64-cpython-310/nacl/pwhash
copying src/nacl/pwhash/init.py -> build/lib.linux-aarch64-cpython-310/nacl/pwhash
copying src/nacl/pwhash/_argon2.py -> build/lib.linux-aarch64-cpython-310/nacl/pwhash
copying src/nacl/pwhash/argon2i.py -> build/lib.linux-aarch64-cpython-310/nacl/pwhash
copying src/nacl/pwhash/argon2id.py -> build/lib.linux-aarch64-cpython-310/nacl/pwhash
copying src/nacl/pwhash/scrypt.py -> build/lib.linux-aarch64-cpython-310/nacl/pwhash
creating build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/init.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_aead.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_box.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_core.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_kx.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_secretstream.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/sodium_core.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/bindings/utils.py -> build/lib.linux-aarch64-cpython-310/nacl/bindings
copying src/nacl/py.typed -> build/lib.linux-aarch64-cpython-310/nacl
running build_clib
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '10553' is supported by ustar format... yes
checking whether GID '10553' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... aarch64-linux-android-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-android-clang accepts -g... yes
checking for aarch64-linux-android-clang option to enable C11 features... none needed
checking whether aarch64-linux-android-clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-android-clang... none
checking dependency style of aarch64-linux-android-clang... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a sed that does not truncate output... /data/data/com.termux/files/usr/bin/sed
checking how to run the C preprocessor... aarch64-linux-android-clang -E
checking for grep that handles long lines and -e... /data/data/com.termux/files/usr/bin/grep
checking for egrep... /data/data/com.termux/files/usr/bin/grep -E
checking whether aarch64-linux-android-clang is Clang... yes
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for variable-length arrays... yes
checking for wasi__ defined... no
checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fPIC... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking for a broken Xcode version... no
checking whether C compiler accepts -fstack-protector... yes
checking whether the linker accepts -fstack-protector... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wall... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra... yes
checking for clang... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... yes
checking whether C compiler accepts -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum -Wvariable-decl -Wwrite-strings... yes
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,noexecstack... yes
checking whether segmentation violations can be caught... yes
checking whether SIGABRT can be caught... yes
checking for thread local storage (TLS) class... _Thread_local
thread local storage is supported
checking whether C compiler accepts -ftls-model=local-dynamic... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /data/data/com.termux/files/usr/bin/sed
checking for fgrep... /data/data/com.termux/files/usr/bin/grep -F
checking for ld used by aarch64-linux-android-clang... no
configure: error: no acceptable ld found in $PATH
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pynacl Failed to build cryptography pynacl ERROR: Could not build wheels for cryptography, pynacl, which is required to install pyproject.toml-based projects WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available. You should consider upgrading via the '/data/data/com.termux/files/usr/bin/python3 -m pip install --upgrade pip' command.
ERROR: Failed building wheel for pynacl Failed to build cryptography pynacl
Exception ignored in: <module 'threading' from '/data/data/com.termux/files/usr/lib/python3.10/threading.py'>
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/threading.py", line 1567, in _shutdown
lock.acquire()
KeyboardInterrupt:
Traceback (most recent call last):
File "/data/data/com.termux/files/home/hunner/hunner.py", line 312, in
pkg install python-cryptography
Worked for me
pkg install python-cryptography
Worked for me
This definitely fixes it, i went mad trying to fix rust to make it force compile the library from pip
This definitely fixes it, i went mad trying to fix rust to make it force compile the library from pip
Currently, rust
with Thin LTO is broken. You could try to use RUSTCFLAGS
to force disable LTO. Try export RUSTFLAGS=" -C lto=no" && export CARGO_BUILD_TARGET="$(rustc -vV | sed -n 's|host: ||p')" && pip install cryptography
.
This definitely fixes it, i went mad trying to fix rust to make it force compile the library from pip
Currently,
rust
with Thin LTO is broken. You could try to useRUSTCFLAGS
to force disable LTO. Tryexport RUSTFLAGS=" -C lto=no" && export CARGO_BUILD_TARGET="$(rustc -vV | sed -n 's|host: ||p')" && pip install cryptography
.
I tried it , and it works !
This definitely fixes it, i went mad trying to fix rust to make it force compile the library from pip
Currently,
rust
with Thin LTO is broken. You could try to useRUSTCFLAGS
to force disable LTO. Tryexport RUSTFLAGS=" -C lto=no" && export CARGO_BUILD_TARGET="$(rustc -vV | sed -n 's|host: ||p')" && pip install cryptography
.
please append this code to termux
~./bashrc
F
Here's not working how can i fix (all solutions didn't work
Here's the error message
=============================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.11.1 platform: Linux-4.14.193+-ab43514-armv7l-with-libc pip: n/a setuptools: 65.6.3 setuptools_rust: 1.5.2 rustc: 1.66.0 (69f9c33d7 2022-12-12) (built from a source tarball) =============================DEBUG ASSISTANCE============================= error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --target armv7-linux-androideabi --release -v --features 'pyo3/extension-module pyo3/abi3-py36' -- --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
This definitely fixes it, i went mad trying to fix rust to make it force compile the library from pip
Currently,
rust
with Thin LTO is broken. You could try to useRUSTCFLAGS
to force disable LTO. Tryexport RUSTFLAGS=" -C lto=no" && export CARGO_BUILD_TARGET="$(rustc -vV | sed -n 's|host: ||p')" && pip install cryptography
.
Omg man you saved me
Tried the methods provided above, encountered a new problem and requested a solution.
############################
# Package would be ignored #
############################
Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --target aarch64-linux-android --release -v --features pyo3/abi3-py36 pyo3/extension-module -- --crate-type cdylib
=============================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.8.16
platform: Linux-4.14.264-Marisa-r17-aarch64-with-libc
pip: n/a
setuptools: 67.2.0
setuptools_rust: 1.5.2
rustc: 1.67.0 (fc594f156 2023-01-24) (built from a source tarball)
=============================DEBUG ASSISTANCE=============================
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --target aarch64-linux-android --release -v --features 'pyo3/abi3-py36 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
Building wheel for cffi (setup.py) ... done
Created wheel for cffi: filename=cffi-1.15.1-cp38-cp38-linux_aarch64.whl size=322222 sha256=c4f3535ee402ba1f4a9fdbf65eee5c9915f4e82136508b84a747f83b3a422297
Stored in directory: /data/data/com.termux/files/home/.suroot/.tmp/pip-ephem-wheel-cache-p1ejusyj/wheels/55/3a/9b/7dabeb49b58a5b0058cf9f0c1e4c0a8e9258d5976090e1c6e0
Successfully built cffi
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
@fatinghenji Please don't reuse a closed issue. That said, our current solution is to provide prebuild binaries as a package python-cryptography
. Please use it instead of building on your own.
I would like to lock this issue because it is pretty much obsolete now. Thanks.
Problem description
When i try to install cryptography using pip i get an error:
Collecting cryptography Using cached cryptography-36.0.2.tar.gz (572 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: cffi>=1.12 in /data/data/com.termux/files/usr/lib/python3.10/site -packages (from cryptography) (1.15.0) Requirement already satisfied: pycparser in /data/data/com.termux/files/usr/lib/python3.10/site- packages (from cffi>=1.12->cryptography) (2.21) 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 ╰─> [193 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-armv8l-cpython-310 creating build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/about.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/init.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/fernet.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/utils.py -> build/lib.linux-armv8l-cpython-310/cryptography creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat copying src/cryptography/hazmat/init.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat creating build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/init.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/init.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/init.py -> build/lib.linux-armv8l-cpython-310 /cryptography/hazmat/bindings creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/init.py -> build/lib.linux-armv8l-cpython-3 10/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv8l-cpytho n-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv8l-c python-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv8l-cpython-310/c ryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv8l-cpython-310 /cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv8l-cpython-310/c ryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv8l-cpython-31 0/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv8l-cpython-31 0/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv8l-cpython-3 10/cryptography/hazmat/primitives creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/init.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv8l-cpython -310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv8l-cpython -310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv8l- cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv8l-cpython-3 10/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv8l-cpython- 310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv8l-cpython-3 10/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv8l-cpytho n-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv8l- cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv8l-cpyth on-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv8l-cpython -310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv8l-cpython- 310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv8l-cpytho n-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv8l-cpyth on-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv8l-cpython -310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv8l-cpython -310/cryptography/hazmat/backends/openssl creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/init.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv8l -cpython-310/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/bindings/openssl creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/init.py -> build/lib.linux-armv8 l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv8l -cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv8l-c python-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv8l -cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv8l-c python-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv8l-c python-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv8l- cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv8l-cp ython-310/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/init.py -> build/lib.linux-armv8l-c python-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv8l-cpyth on-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv8l -cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv8l-cpyth on-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/primitives/ciphers creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/init.py -> build/lib.linux-armv8l-cpyth on-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv8l-cpython-3 10/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv8l-cpython- 310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv8l-cpython -310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv8l-cpython -310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv8l-cpytho n-310/cryptography/hazmat/primitives/kdf creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/init.py -> build/lib.linux-ar mv8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv8l -cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv 8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv8 l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv8l- cpython-310/cryptography/hazmat/primitives/serialization creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/init.py -> build/lib.linux-armv8l -cpython-310/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv8l-cpy thon-310/cryptography/hazmat/primitives/twofactor 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' 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 matching '' found under directory '.github' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'dev-requirements.txt' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '*' found under directory '.circleci' adding license file 'LICENSE' adding license file 'LICENSE.APACHE' adding license file 'LICENSE.BSD' adding license file 'LICENSE.PSF' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' copying src/cryptography/py.typed -> build/lib.linux-armv8l-cpython-310/cryptography creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/init.pyi -> build/lib.linux-armv8l-cpyt hon-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv8l-cpython- 310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv8l-cpython- 310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv8l-cpython- 310/cryptography/hazmat/bindings/_rust running build_ext generating cffi module 'build/temp.linux-armv8l-cpython-310/_openssl.c' creating build/temp.linux-armv8l-cpython-310 running build_rust cargo rustc --lib --manifest-path src/rust/Cargo.toml --target aarch64-linux-android --rel ease -v --features pyo3/abi3-py36 pyo3/extension-module -- --crate-type cdylib -C linker=arm-lin ux-androideabi-clang Compiling proc-macro2 v1.0.32 Compiling unicode-xid v0.2.2 Running
rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/f iles/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.32/build.rs --error-fo rmat=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cf g 'feature="proc-macro"' -C metadata=c518e52f06d3f3a6 -C extra-filename=-c518e52f06d3f3a6 --out- dir /data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9b a5011febaa/src/rust/target/release/build/proc-macro2-c518e52f06d3f3a6 -L dependency=/data/data/c om.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/r ust/target/release/deps --cap-lints allow
Compiling syn v1.0.81 Compiling version_check v0.9.3 Compiling autocfg v1.0.1 Compiling proc-macro-hack v0.5.19 Compiling pyo3-build-config v0.15.1 Compiling libc v0.2.107 Runningrustc --crate-name unicode_xid /data/data/com.termux/files/home/.cargo/regis try/src/github.com-1285ae84e5963aae/unicode-xid-0.2.2/src/lib.rs --error-format=json --json=diag nostic-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 met adata=a6dc1df25dd60f07 -C extra-filename=-a6dc1df25dd60f07 --out-dir /data/data/com.termux/files /usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/rele ase/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea 6adaed8814e169c1d9ba5011febaa/src/rust/target/release/deps --cap-lints allow
Runningrustc --crate-name build_script_build --edition=2018 /data/data/com.termux/f iles/home/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.81/build.rs --error-format=jso n --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed -bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="clone-impls"' --cfg 'f eature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'featur e="quote"' -C metadata=f523bd4a40ff1d8c -C extra-filename=-f523bd4a40ff1d8c --out-dir /data/data /com.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src /rust/target/release/build/syn-f523bd4a40ff1d8c -L dependency=/data/data/com.termux/files/usr/tm p/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/release/dep s --cap-lints allow
Runningrustc --crate-name version_check /data/data/com.termux/files/home/.cargo/reg istry/src/github.com-1285ae84e5963aae/version_check-0.9.3/src/lib.rs --error-format=json --json= diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed -bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=c157b0a778d947d7 -C extra- filename=-c157b0a778d947d7 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu/cr yptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/release/deps -L dependency=/data/dat a/com.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/sr c/rust/target/release/deps --cap-lints allow
Runningrustc --crate-name autocfg /data/data/com.termux/files/home/.cargo/registry/ src/github.com-1285ae84e5963aae/autocfg-1.0.1/src/lib.rs --error-format=json --json=diagnostic-r endered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=4c1690009a0cc1a2 -C extra-filename=-4c 1690009a0cc1a2 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1 ea6adaed8814e169c1d9ba5011febaa/src/rust/target/release/deps -L dependency=/data/data/com.termux /files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/targe t/release/deps --cap-lints allow
Runningrustc --crate-name build_script_build --edition=2018 /data/data/com.termux/f iles/home/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.1/build.rs --er ror-format=json --json=diagnostic-rendered-ansi,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="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'featu re="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-co nfig"' -C metadata=639971d4d3633660 -C extra-filename=-639971d4d3633660 --out-dir /data/data/com .termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rus t/target/release/build/pyo3-build-config-639971d4d3633660 -L dependency=/data/data/com.termux/fi les/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/r elease/deps --cap-lints allow
Runningrustc --crate-name build_script_build /data/data/com.termux/files/home/.carg o/registry/src/github.com-1285ae84e5963aae/libc-0.2.107/build.rs --error-format=json --json=diag nostic-rendered-ansi,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=48bdc18a4b1270b5 -C extra-filename=-48bdc18a4b1270b5 --out-dir /data/data/com.termux/fi les/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/r elease/build/libc-48bdc18a4b1270b5 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install -zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/release/deps --cap-lints allow
Runningrustc --crate-name build_script_build --edition=2018 /data/data/com.termux/f iles/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.19/build.rs --erro r-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,l ink -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=952bc4a706b3ec 20 -C extra-filename=-952bc4a706b3ec20 --out-dir /data/data/com.termux/files/usr/tmp/pip-install -zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/release/build/proc-macro -hack-952bc4a706b3ec20 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu/cr yptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/release/deps --cap-lints allow
Compiling once_cell v1.8.0 Runningrustc --crate-name once_cell --edition=2018 /data/data/com.termux/files/home /.cargo/registry/src/github.com-1285ae84e5963aae/once_cell-1.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metad ata,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=4814c8fb37 194974 -C extra-filename=-4814c8fb37194974 --out-dir /data/data/com.termux/files/usr/tmp/pip-ins tall-zzabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/release/deps -L depe ndency=/data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea6adaed8814e169c1 d9ba5011febaa/src/rust/target/release/deps --cap-lints allow
Compiling cfg-if v1.0.0 Runningrustc --crate-name cfg_if --edition=2018 /data/data/com.termux/files/home/.c argo/registry/src/github.com-1285ae84e5963aae/cfg-if-1.0.0/src/lib.rs --error-format=json --json =diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,li nk -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=251441d13841db70 -C ext ra-filename=-251441d13841db70 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu /cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/aarch64-linux-android/release/dep s --target aarch64-linux-android -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-z zabj7zu/cryptography_1ea6adaed8814e169c1d9ba5011febaa/src/rust/target/aarch64-linux-android/rele ase/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-zzabj7zu/cryptography_1ea 6adaed8814e169c1d9ba5011febaa/src/rust/target/release/deps --cap-lints allow
error[E0463]: can't find crate forcore
| = note: theaarch64-linux-android
target may not be installed = help: consider downloading the target withrustup target add aarch64-linux-android
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-base d projects
What steps will reproduce the bug?
export CARGO_BUILD_TARGET=aarch64-linux-android && pip install cryptography
What is the expected behavior?
cryptography installed
System information
termux-info: TERMUX_VERSION="0.118.0"