termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.92k stars 2.97k forks source link

[Bug]: `pkg install electrum` "error occurred: Failed to find tool. Is `aarch64-linux-android-ar` installed?" #19072

Open ETERNALBLUEbullrun opened 7 months ago

ETERNALBLUEbullrun commented 7 months ago

Problem description

Termux can't install dependencies for Electrum.

What steps will reproduce the bug?

~ $ pkg install electrum
Checking availability of current mirror:
[*] https://packages-cf.termux.dev/apt/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liblua54 libpcap nmap-ncat
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  electrum
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6627 kB of archives.
After this operation, 39.1 MB of additional disk space will be used.
Selecting previously unselected package electrum.
(Reading database ... 44485 files and directories currently installed.)
Preparing to unpack .../electrum_4.5.2_all.deb ...
Unpacking electrum (4.5.2) ...
Setting up electrum (4.5.2) ...
Installing dependencies through pip...
Requirement already satisfied: qrcode in /data/data/com.termux/files/usr/lib/python3.11/site-packages (7.4.2)
Requirement already satisfied: protobuf<4,>=3.20 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (3.20.3)
Requirement already satisfied: qdarkstyle>=2.7 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (3.2.3)
Requirement already satisfied: aiorpcx<0.23,>=0.22.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (0.22.1)
Requirement already satisfied: aiohttp<4.0.0,>=3.3.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (3.9.1)
Requirement already satisfied: aiohttp_socks>=0.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (0.8.4)
Requirement already satisfied: certifi in /data/data/com.termux/files/usr/lib/python3.11/site-packages (2023.11.17)
Requirement already satisfied: bitstring in /data/data/com.termux/files/usr/lib/python3.11/site-packages (4.1.4)
Requirement already satisfied: attrs>=19.2.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (23.2.0)
Requirement already satisfied: dnspython>=2.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (2.5.0)
Requirement already satisfied: typing-extensions in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from qrcode) (4.9.0)
Requirement already satisfied: pypng in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from qrcode) (0.20220715.0)
Requirement already satisfied: qtpy>=2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from qdarkstyle>=2.7) (2.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.3.0) (6.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.3.0) (1.9.4)
Requirement already satisfied: frozenlist>=1.1.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.3.0) (1.4.1)
Requirement already satisfied: aiosignal>=1.1.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.3.0) (1.3.1)
Requirement already satisfied: python-socks<3.0.0,>=2.4.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from python-socks[asyncio]<3.0.0,>=2.4.3->aiohttp_socks>=0.3) (2.4.4)
Requirement already satisfied: bitarray<3.0.0,>=2.8.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from bitstring) (2.9.2)
Requirement already satisfied: async-timeout>=3.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from python-socks[asyncio]<3.0.0,>=2.4.3->aiohttp_socks>=0.3) (4.0.3)
Requirement already satisfied: packaging in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from qtpy>=2->qdarkstyle>=2.7) (23.2)
Requirement already satisfied: idna>=2.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yarl<2.0,>=1.0->aiohttp<4.0.0,>=3.3.0) (3.6)
Processing triggers for desktop-file-utils (0.27) ...
Processing triggers for gtk-update-icon-cache (3.24.38-1) ...
~ $ electrum
Error: at least one of ('pycryptodomex', 'cryptography') needs to be installed.
~ $ pip install cryptography
Collecting cryptography
  Using cached cryptography-42.0.1.tar.gz (672 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.12 (from cryptography)
  Using cached cffi-1.16.0-cp311-cp311-linux_aarch64.whl
Collecting pycparser (from cffi>=1.12->cryptography)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cryptography (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [370 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-cpython-311
      creating build/lib.linux-aarch64-cpython-311/cryptography
      copying src/cryptography/__about__.py -> build/lib.linux-aarch64-cpython-311/cryptography
      copying src/cryptography/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography
      copying src/cryptography/exceptions.py -> build/lib.linux-aarch64-cpython-311/cryptography
      copying src/cryptography/fernet.py -> build/lib.linux-aarch64-cpython-311/cryptography
      copying src/cryptography/utils.py -> build/lib.linux-aarch64-cpython-311/cryptography
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat
      copying src/cryptography/hazmat/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat
      copying src/cryptography/hazmat/_oid.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat
      creating build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/base.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/extensions.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/general_name.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/name.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/ocsp.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/oid.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      copying src/cryptography/x509/verification.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends
      copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings
      copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-aarch64-cpython-311/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'
      warning: no files found matching '*.c' under directory 'src/_cffi_src'
      warning: no files found matching '*.h' under directory 'src/_cffi_src'
      no previously-included directories found matching 'docs/_build'
      warning: no previously-included files found matching 'vectors'
      warning: no previously-included files matching '*' found under directory 'vectors'
      warning: no previously-included files found matching 'src/rust/target'
      warning: no previously-included files matching '*' found under directory 'src/rust/target'
      warning: no previously-included files matching '*' found under directory '.github'
      warning: no previously-included files found matching 'release.py'
      warning: no previously-included files found matching '.readthedocs.yml'
      warning: no previously-included files found matching 'ci-constraints-requirements.txt'
      warning: no previously-included files found matching 'mypy.ini'
      adding license file 'LICENSE'
      adding license file 'LICENSE.APACHE'
      adding license file 'LICENSE.BSD'
      writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
      copying src/cryptography/py.typed -> build/lib.linux-aarch64-cpython-311/cryptography
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/exceptions.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust
      creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      running build_ext
      running build_rust
      cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --
         Compiling libc v0.2.152
         Compiling proc-macro2 v1.0.78
         Compiling unicode-ident v1.0.12
         Compiling pkg-config v0.3.29
         Compiling vcpkg v0.2.15
         Compiling target-lexicon v0.12.13
         Compiling autocfg v1.1.0
           Running `rustc --crate-name build_script_build /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.152/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=480d2e017f7a5a21 -C extra-filename=-480d2e017f7a5a21 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/libc-480d2e017f7a5a21 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --cap-lints allow`
...... 
           Running `rustc --crate-name build_script_build /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.152/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8b06168ffe64cef4 -C extra-filename=-8b06168ffe64cef4 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/libc-8b06168ffe64cef4 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --cap-lints allow`
         Compiling once_cell v1.19.0
           Running `rustc --crate-name once_cell --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=9584d12fccf5ab55 -C extra-filename=-9584d12fccf5ab55 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --cap-lints allow`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/proc-macro2-e20986bc59b111b4/build-script-build`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/libc-480d2e017f7a5a21/build-script-build`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/libc-8b06168ffe64cef4/build-script-build`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/target-lexicon-8ff991e947994aff/build-script-build`
           Running `rustc --crate-name libc /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.152/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=262328d9d131c420 -C extra-filename=-262328d9d131c420 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
......
           Running `rustc --crate-name once_cell --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=847e51dcd79b2860 -C extra-filename=-847e51dcd79b2860 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --cap-lints allow`
         Compiling heck v0.4.1
           Running `rustc --crate-name heck --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/heck-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' -C metadata=4ecd9a3a3d08e191 -C extra-filename=-4ecd9a3a3d08e191 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --cap-lints allow`
......
         Compiling pyo3 v0.20.2
           Running `rustc --crate-name build_script_build --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.20.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--warn=clippy::useless_transmute' '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' --warn=rust_2021_prelude_collisions --warn=rust_2018_idioms '--warn=clippy::manual_ok_or' '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' -C metadata=dd6914de2e835985 -C extra-filename=-dd6914de2e835985 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/pyo3-dd6914de2e835985 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern pyo3_build_config=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libpyo3_build_config-feb1ab3691ebafbf.rlib --cap-lints allow`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/pyo3-ffi-3b949525d7d08b18/build-script-build`
           Running `rustc --crate-name pyo3_ffi --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-ffi-0.20.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no '--warn=clippy::useless_transmute' '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' --warn=rust_2021_prelude_collisions --warn=rust_2018_idioms '--warn=clippy::manual_ok_or' '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="default"' --cfg 'feature="extension-module"' -C metadata=8d91a6d8ce169ae2 -C extra-filename=-8d91a6d8ce169ae2 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern libc=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/liblibc-ece03ada139a1cf4.rmeta --cap-lints allow -L native=/data/data/com.termux/files/usr/lib -l python3.11 --cfg Py_3_6 --cfg Py_3_7 --cfg Py_3_8 --cfg Py_3_9 --cfg Py_3_10 --cfg Py_3_11 --cfg Py_LIMITED_API --cfg thread_local_const_init --cfg invalid_from_utf8_lint`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/pyo3-dd6914de2e835985/build-script-build`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/openssl-sys-ef888b122ab3df6b/build-script-main`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/openssl-fe394f4ffa15f6b1/build-script-build`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-key-parsing-9ef51619a5708318/build-script-build`
           Running `rustc --crate-name openssl_sys --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.99/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C overflow-checks=on -C metadata=ee4539827bff7728 -C extra-filename=-ee4539827bff7728 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern libc=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/liblibc-ece03ada139a1cf4.rmeta --cap-lints allow -L native=/data/data/com.termux/files/usr/lib -l ssl -l crypto --cfg 'osslconf="OPENSSL_NO_SRP"' --cfg 'osslconf="OPENSSL_NO_SSL3_METHOD"' --cfg openssl --cfg ossl300 --cfg ossl101 --cfg ossl102 --cfg ossl102f --cfg ossl102h --cfg ossl110 --cfg ossl110f --cfg ossl110g --cfg ossl110h --cfg ossl111 --cfg ossl111b --cfg ossl111c --cfg ossl111d`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-rust-675da533d7432015/build-script-build`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-openssl-64b7ad1a7e689f3d/build-script-build`
           Running `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-cffi-654133d20b913f3d/build-script-build`
         Compiling pyo3-macros-backend v0.20.2
           Running `rustc --crate-name pyo3_macros_backend --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-macros-backend-0.20.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no '--warn=clippy::useless_transmute' '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' --warn=rust_2021_prelude_collisions --warn=rust_2018_idioms '--warn=clippy::manual_ok_or' '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' -C metadata=0ac710516b575eba -C extra-filename=-0ac710516b575eba --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern heck=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libheck-4ecd9a3a3d08e191.rmeta --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libproc_macro2-496ed64929fd51f4.rmeta --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libquote-ba03564ab38c29ca.rmeta --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libsyn-135cc0a8b6da4454.rmeta --cap-lints allow`
         Compiling asn1_derive v0.15.5
         Compiling openssl-macros v0.1.1
           Running `rustc --crate-name openssl_macros --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-macros-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=85cd317181e7671f -C extra-filename=-85cd317181e7671f --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libproc_macro2-496ed64929fd51f4.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libquote-ba03564ab38c29ca.rlib --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libsyn-135cc0a8b6da4454.rlib --extern proc_macro --cap-lints allow`
           Running `rustc --crate-name asn1_derive --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/asn1_derive-0.15.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=9db001ee830c61a4 -C extra-filename=-9db001ee830c61a4 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libproc_macro2-496ed64929fd51f4.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libquote-ba03564ab38c29ca.rlib --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libsyn-135cc0a8b6da4454.rlib --extern proc_macro --cap-lints allow`
           Running `rustc --crate-name openssl --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.63/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C overflow-checks=on --cfg 'feature="default"' -C metadata=77e7add9a44ba622 -C extra-filename=-77e7add9a44ba622 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern bitflags=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libbitflags-31a1ca6a65818494.rmeta --extern cfg_if=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libcfg_if-e9c276428f77f2f3.rmeta --extern foreign_types=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libforeign_types-14d7334d1f070c37.rmeta --extern libc=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/liblibc-ece03ada139a1cf4.rmeta --extern once_cell=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libonce_cell-847e51dcd79b2860.rmeta --extern openssl_macros=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libopenssl_macros-85cd317181e7671f.so --extern ffi=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libopenssl_sys-ee4539827bff7728.rmeta --cap-lints allow -L native=/data/data/com.termux/files/usr/lib --cfg 'osslconf="OPENSSL_NO_SRP"' --cfg 'osslconf="OPENSSL_NO_SSL3_METHOD"' --cfg ossl101 --cfg ossl102 --cfg ossl110 --cfg ossl110g --cfg ossl110h --cfg ossl111 --cfg ossl300 --cfg ossl310`
         Compiling asn1 v0.15.5
           Running `rustc --crate-name asn1 --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/asn1-0.15.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C overflow-checks=on -C metadata=d4e0feae17b44e4d -C extra-filename=-d4e0feae17b44e4d --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern asn1_derive=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libasn1_derive-9db001ee830c61a4.so --cap-lints allow`
         Compiling pyo3-macros v0.20.2
           Running `rustc --crate-name pyo3_macros --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-macros-0.20.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no '--warn=clippy::useless_transmute' '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' --warn=rust_2021_prelude_collisions --warn=rust_2018_idioms '--warn=clippy::manual_ok_or' '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' -C metadata=9b3af6cee33da319 -C extra-filename=-9b3af6cee33da319 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libproc_macro2-496ed64929fd51f4.rlib --extern pyo3_macros_backend=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libpyo3_macros_backend-0ac710516b575eba.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libquote-ba03564ab38c29ca.rlib --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libsyn-135cc0a8b6da4454.rlib --extern proc_macro --cap-lints allow`
         Compiling cryptography-x509 v0.1.0 (/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/cryptography-x509)
           Running `rustc --crate-name cryptography_x509 --edition=2021 cryptography-x509/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C overflow-checks=on -C metadata=4ce93454c4060598 -C extra-filename=-4ce93454c4060598 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern asn1=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libasn1-d4e0feae17b44e4d.rmeta`
           Running `rustc --crate-name pyo3 --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.20.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no '--warn=clippy::useless_transmute' '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' --warn=rust_2021_prelude_collisions --warn=rust_2018_idioms '--warn=clippy::manual_ok_or' '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' -C metadata=1d3fd97e85a8ff86 -C extra-filename=-1d3fd97e85a8ff86 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps --extern cfg_if=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libcfg_if-e9c276428f77f2f3.rmeta --extern indoc=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libindoc-4bf92f1513cde4e9.so --extern libc=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/liblibc-ece03ada139a1cf4.rmeta --extern memoffset=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libmemoffset-a7c24c551bf7b655.rmeta --extern parking_lot=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libparking_lot-e5797488006223b1.rmeta --extern pyo3_ffi=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libpyo3_ffi-8d91a6d8ce169ae2.rmeta --extern pyo3_macros=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libpyo3_macros-9b3af6cee33da319.so --extern unindent=/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/deps/libunindent-3dee1f10467f3712.rmeta --cap-lints allow -L native=/data/data/com.termux/files/usr/lib --cfg Py_3_6 --cfg Py_3_7 --cfg Py_3_8 --cfg Py_3_9 --cfg Py_3_10 --cfg Py_3_11 --cfg Py_LIMITED_API --cfg thread_local_const_init --cfg invalid_from_utf8_lint`
      error: failed to run custom build command for `cryptography-cffi v0.1.0 (/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/cryptography-cffi)`

      Caused by:
        process didn't exit successfully: `/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-cffi-654133d20b913f3d/build-script-build` (exit status: 1)
        --- stdout
        cargo:rerun-if-env-changed=PYO3_PYTHON
        cargo:rerun-if-changed=../../_cffi_src/
        cargo:rerun-if-changed=../../cryptography/__about__.py
        cargo:rustc-cfg=python_implementation="CPython"
        TARGET = Some("aarch64-linux-android")
        OPT_LEVEL = Some("3")
        HOST = Some("aarch64-linux-android")
        cargo:rerun-if-env-changed=CC_aarch64-linux-android
        CC_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CC_aarch64_linux_android
        CC_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CC
        HOST_CC = None
        cargo:rerun-if-env-changed=CC
        CC = None
        cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
        CRATE_CC_NO_DEFAULTS = None
        DEBUG = Some("false")
        CARGO_CFG_TARGET_FEATURE = Some("neon")
        cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
        CFLAGS_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CFLAGS_aarch64_linux_android
        CFLAGS_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CFLAGS
        HOST_CFLAGS = None
        cargo:rerun-if-env-changed=CFLAGS
        CFLAGS = None
        cargo:rerun-if-env-changed=CC_aarch64-linux-android
        CC_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CC_aarch64_linux_android
        CC_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CC
        HOST_CC = None
        cargo:rerun-if-env-changed=CC
        CC = None
        cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
        CRATE_CC_NO_DEFAULTS = None
        CARGO_CFG_TARGET_FEATURE = Some("neon")
        cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
        CFLAGS_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CFLAGS_aarch64_linux_android
        CFLAGS_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CFLAGS
        HOST_CFLAGS = None
        cargo:rerun-if-env-changed=CFLAGS
        CFLAGS = None
        cargo:rerun-if-env-changed=CC_aarch64-linux-android
        CC_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CC_aarch64_linux_android
        CC_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CC
        HOST_CC = None
        cargo:rerun-if-env-changed=CC
        CC = None
        cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
        CRATE_CC_NO_DEFAULTS = None
        CARGO_CFG_TARGET_FEATURE = Some("neon")
        cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
        CFLAGS_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CFLAGS_aarch64_linux_android
        CFLAGS_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CFLAGS
        HOST_CFLAGS = None
        cargo:rerun-if-env-changed=CFLAGS
        CFLAGS = None
        cargo:rerun-if-env-changed=CC_aarch64-linux-android
        CC_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CC_aarch64_linux_android
        CC_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CC
        HOST_CC = None
        cargo:rerun-if-env-changed=CC
        CC = None
        cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
        CRATE_CC_NO_DEFAULTS = None
        CARGO_CFG_TARGET_FEATURE = Some("neon")
        cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
        CFLAGS_aarch64-linux-android = None
        cargo:rerun-if-env-changed=CFLAGS_aarch64_linux_android
        CFLAGS_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_CFLAGS
        HOST_CFLAGS = None
        cargo:rerun-if-env-changed=CFLAGS
        CFLAGS = None
        running: "aarch64-linux-android-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/data/data/com.termux/files/usr/include" "-I" "/data/data/com.termux/files/usr/include/python3.11" "-Wall" "-Wextra" "-Wconversion" "-Wno-error=sign-conversion" "-Wno-unused-parameter" "-DPy_LIMITED_API=0x030700f0" "-o" "/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-cffi-e61c6392d3aa4854/out/3e704a9788f5a9af-_openssl.o" "-c" "/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-cffi-e61c6392d3aa4854/out/_openssl.c"
        exit status: 0
        cargo:rerun-if-env-changed=AR_aarch64-linux-android
        AR_aarch64-linux-android = None
        cargo:rerun-if-env-changed=AR_aarch64_linux_android
        AR_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_AR
        HOST_AR = None
        cargo:rerun-if-env-changed=AR
        AR = None
        cargo:rerun-if-env-changed=ARFLAGS_aarch64-linux-android
        ARFLAGS_aarch64-linux-android = None
        cargo:rerun-if-env-changed=ARFLAGS_aarch64_linux_android
        ARFLAGS_aarch64_linux_android = None
        cargo:rerun-if-env-changed=HOST_ARFLAGS
        HOST_ARFLAGS = None
        cargo:rerun-if-env-changed=ARFLAGS
        ARFLAGS = None
        running: ZERO_AR_DATE="1" "aarch64-linux-android-ar" "cq" "/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-cffi-e61c6392d3aa4854/out/lib_openssl.a.a" "/data/data/com.termux/files/usr/tmp/pip-install-nt5wait_/cryptography_31097c53ce6549068023bb16c22ce2b4/src/rust/target/release/build/cryptography-cffi-e61c6392d3aa4854/out/3e704a9788f5a9af-_openssl.o"

        --- stderr

        error occurred: Failed to find tool. Is `aarch64-linux-android-ar` installed?

      warning: build failed, waiting for other jobs to finish...
      error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --` failed with code 101
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
~ $ pip install aarch64-linux-android-ar
ERROR: Could not find a version that satisfies the requirement aarch64-linux-android-ar (from versions: none)
ERROR: No matching distribution found for aarch64-linux-android-ar
~ $ pkg install aarch64-linux-android-ar
Checking availability of current mirror:
[*] https://packages-cf.termux.dev/apt/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package aarch64-linux-android-ar
~ $

What is the expected behavior?

Should autoinstall wheels: cryptography/cryptodemos, for electrum.

System information

termux-info:

~ $ termux-info
Termux Variables:
unsupported
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main stable main
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.40.5
Android version:
14
Kernel build information:
Linux localhost 5.10.177-android13-4-00003-ga7208022a7ea-ab10815828 #1 SMP PREEMPT Fri Sep 15 16:40:54 UTC 2023 aarch64 Android
Device manufacturer:
Google
Device model:
Pixel 6a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
~ $
sylirre commented 7 months ago

pkg install binutils-is-llvm