Closed fhempy closed 1 year ago
What does pip3 --version
print?
root@orangepione:~# pip3 --version pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
I'm very frustrated, because I am positive I have seen this issue before, but github issues search is totally unable to find it.
My recollection is that it has something to do with a setuptools/setuptools-rust version mismatch, but I have no idea what one does to provoke that, or to resolve it.
My next debugging suggestion would be: Can you try creating a virtualenv and install into that?
No, but I have an other idea. I give you the SSH access to the Orage Pi. I have set it up especially for testing. I will send you the login data by e-mail.
That's not how this works. I'm happy to try to provide advice, but I'm not going to SSH into your device because you're unwilling or unable to attempt a debugging step.
The problem is, that I just have basic linux knowledge. If you have the patience, I can try that.
If we should/can solve this in another way, I would need to know what virtualenv is.
The way I see it, I would need to run this:
apt-get install virtualenv python3 -m venv /path_to_new_virtual_environment Which path do I have to specify for this?
I tried in a venv with the following result
fhem@orangepione:~$ . venv_fhempy/bin/activate
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade cryptography
Collecting cryptography
Using cached cryptography-38.0.1.tar.gz (599 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting pycparser
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
╰─> [191 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-310
creating build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-310/cryptography
creating build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
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 '.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'
/tmp/pip-build-env-o9ufxb5q/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: 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-armv7l-cpython-310/cryptography
copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.10.4
platform: Linux-5.15.63-sunxi-armv7l-with-glibc2.35
pip: n/a
setuptools: 65.3.0
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.48.0.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
after installing rust-all package it ends with
root@orangepione:~# sudo -u fhem bash
fhem@orangepione:/root$ cd
fhem@orangepione:~$ . venv_fhempy/bin/activate
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
Using cached fhempy-0.1.473-py3-none-any.whl (4.4 MB)
Collecting dbus-python==1.2.18
Using cached dbus-python-1.2.18.tar.gz (578 kB)
Preparing metadata (setup.py) ... done
Collecting aiohttp[speedups]==3.8.1
Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting zeroconf==0.36.12
Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting cryptography==37.0.4
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 importlib-metadata==4.8.1
Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting websockets==10.3
Using cached websockets-10.3.tar.gz (84 kB)
Preparing metadata (setup.py) ... done
Collecting requests==2.26.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting markdown2==2.4.2
Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1.tar.gz (172 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2.tar.gz (50 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1.tar.gz (66 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cchardet
Using cached cchardet-2.1.7.tar.gz (653 kB)
Preparing metadata (setup.py) ... done
Collecting Brotli
Using cached Brotli-1.0.9.zip (510 kB)
Preparing metadata (setup.py) ... done
Collecting aiodns
Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.9.14-py3-none-any.whl (162 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting ifaddr>=0.1.7
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
Using cached pycares-4.2.2.tar.gz (825 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, frozenlist, multidict, yarl, aiohttp, pycares
Building wheel for cryptography (pyproject.toml) ... \
hanging at that state
Is it hanging, or just very slow?
From reading the output, it appears that it first attempts to install cryptography 38, which fails because you don't have rust installed. Then it falls back to attempting to install cryptography 37 -- which I imagine will fail for the same reason, causing it to fall back to 36, etc.
I'm running into the exact same issue. This did still work last week, but since yesterady I also get the ModuleNotFoundError: No module named 'setuptools.command.build'
message. Tried installing rust from packages as well as from upstream. No difference. Have not yet tried venv. But something changed since last week that broke it for me.
I'm running into the same issue, except after installing rust compiler and co I can't download all the shit cargo
pulls in because our workplace networks have no Internet access.
I did the installation process again with venv. Maybe that helps - I get the following result now:
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
Using cached fhempy-0.1.483-py3-none-any.whl (4.4 MB)
Collecting aiohttp[speedups]==3.8.1
Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting dbus-python==1.2.18
Using cached dbus-python-1.2.18.tar.gz (578 kB)
Preparing metadata (setup.py) ... done
Collecting websockets==10.3
Using cached websockets-10.3.tar.gz (84 kB)
Preparing metadata (setup.py) ... done
Collecting importlib-metadata==4.8.1
Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting cryptography==37.0.4
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 requests==2.26.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting markdown2==2.4.2
Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting zeroconf==0.36.12
Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1.tar.gz (66 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2.tar.gz (50 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1.tar.gz (172 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting cchardet
Using cached cchardet-2.1.7.tar.gz (653 kB)
Preparing metadata (setup.py) ... done
Collecting aiodns
Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting Brotli
Using cached Brotli-1.0.9.zip (510 kB)
Preparing metadata (setup.py) ... done
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 161.1/161.1 KB 614.7 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting ifaddr>=0.1.7
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
Using cached pycares-4.2.2.tar.gz (825 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, frozenlist, multidict, yarl, aiohttp, pycares
Building wheel for cryptography (pyproject.toml) ... /Killed
(venv_fhempy) fhem@orangepione:~$
No module named 'setuptools.command.build'
means setuptools
version is too old, try upgrade it first: pip install -U setuptools
.
I update the version:
root@orangepione:~# pip install -U setuptools
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (65.3.0)
Collecting setuptools
Downloading setuptools-65.4.0-py3-none-any.whl (1.2 MB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 1.2/1.2 MB 1.3 MB/s eta 0:00:00
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 65.3.0
Uninstalling setuptools-65.3.0:
Successfully uninstalled setuptools-65.3.0
Successfully installed setuptools-65.4.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
and then i try again:
root@orangepione:~# sudo -u fhem bash
fhem@orangepione:/root$ cd
fhem@orangepione:~$ . venv_fhempy/bin/activate
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
Using cached fhempy-0.1.486-py3-none-any.whl (4.5 MB)
Collecting importlib-metadata==4.8.1
Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting websockets==10.3
Using cached websockets-10.3.tar.gz (84 kB)
Preparing metadata (setup.py) ... done
Collecting requests==2.26.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting zeroconf==0.36.12
Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting cryptography==37.0.4
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 markdown2==2.4.2
Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting aiohttp[speedups]==3.8.1
Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting dbus-python==1.2.18
Using cached dbus-python-1.2.18.tar.gz (578 kB)
Preparing metadata (setup.py) ... done
Collecting attrs>=17.3.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2.tar.gz (50 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1.tar.gz (172 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1.tar.gz (66 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting Brotli
Using cached Brotli-1.0.9.zip (510 kB)
Preparing metadata (setup.py) ... done
Collecting cchardet
Using cached cchardet-2.1.7.tar.gz (653 kB)
Preparing metadata (setup.py) ... done
Collecting aiodns
Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting ifaddr>=0.1.7
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
Using cached pycares-4.2.2.tar.gz (825 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, frozenlist, multidict, yarl, aiohttp, pycares
Building wheel for cryptography (pyproject.toml) ... /Killed
(venv_fhempy) fhem@orangepione:~$
The Killed
suggests you ran out of memory during compilation. Do you see an OOM killer message in dmesg
?
You're right. It says something like this:
(venv_fhempy) fhem@orangepione:~$ dmesg |tail -100
[52588.701349] Hardware name: Allwinner sun8i Family
[52588.701364] [<c010cd21>] (unwind_backtrace) from [<c01095fd>] (show_stack+0x11/0x14)
[52588.701396] [<c01095fd>] (show_stack) from [<c09de1a9>] (dump_stack_lvl+0x2b/0x34)
[52588.701421] [<c09de1a9>] (dump_stack_lvl) from [<c09d91bf>] (dump_header+0x41/0x17c)
[52588.701442] [<c09d91bf>] (dump_header) from [<c0231101>] (oom_kill_process+0x12d/0x138)
[52588.701463] [<c0231101>] (oom_kill_process) from [<c02318c5>] (out_of_memory+0x1e1/0x278)
[52588.701481] [<c02318c5>] (out_of_memory) from [<c026b81f>] (__alloc_pages+0xa67/0xbb8)
[52588.701503] [<c026b81f>] (__alloc_pages) from [<c022c9f7>] (pagecache_get_page+0xfb/0x390)
[52588.701527] [<c022c9f7>] (pagecache_get_page) from [<c022d039>] (filemap_fault+0x3ad/0x6dc)
[52588.701549] [<c022d039>] (filemap_fault) from [<c025650b>] (__do_fault+0x1f/0xe0)
[52588.701572] [<c025650b>] (__do_fault) from [<c025a583>] (handle_mm_fault+0x867/0xba8)
[52588.701592] [<c025a583>] (handle_mm_fault) from [<c09e9ee3>] (do_page_fault+0xff/0x258)
[52588.701617] [<c09e9ee3>] (do_page_fault) from [<c010ff6b>] (do_DataAbort+0x33/0x90)
[52588.701639] [<c010ff6b>] (do_DataAbort) from [<c0100eaf>] (__dabt_usr+0x4f/0x60)
[52588.701656] Exception stack(0xc3991fb0 to 0xc3991ff8)
[52588.701668] 1fa0: b6de77c0 b66c8184 80000000 00000073
[52588.701681] 1fc0: 00000000 01b18e78 b6dd8f7c 00000009 b6dd2af0 b6dd497c 01b18e78 00000009
[52588.701691] 1fe0: ffffffff be943ea8 b6f5b985 b6f6bea6 60040030 ffffffff
[52588.701700] Mem-Info:
[52588.701708] active_anon:17974 inactive_anon:52596 isolated_anon:0
active_file:150 inactive_file:297 isolated_file:0
unevictable:0 dirty:0 writeback:0
slab_reclaimable:3456 slab_unreclaimable:6169
mapped:694 shmem:20565 pagetables:1151 bounce:0
kernel_misc_reclaimable:0
free:1816 free_pcp:292 free_cma:3
[52588.701733] Node 0 active_anon:71896kB inactive_anon:210384kB active_file:600kB inactive_file:1188kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:2776kB dirty:0kB writeback:0kB shmem:82260kB writeback_tmp:0kB kernel_stack:1400kB pagetables:4604kB all_unreclaimable? no
[52588.701759] Normal free:7264kB min:9100kB low:9800kB high:10500kB reserved_highatomic:0KB active_anon:71896kB inactive_anon:210384kB active_file:524kB inactive_file:1188kB unevictable:0kB writepending:0kB present:524288kB managed:503480kB mlocked:0kB bounce:0kB free_pcp:1168kB local_pcp:812kB free_cma:12kB
[52588.701784] lowmem_reserve[]: 0 0 0
[52588.701804] Normal: 109*4kB (UMEC) 13*8kB (UE) 47*16kB (UE) 79*32kB (UE) 53*64kB (UE) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 7212kB
[52588.701884] 21262 total pagecache pages
[52588.701889] 192 pages in swap cache
[52588.701932] Swap cache stats: add 111200, delete 110989, find 723/22979
[52588.701944] Free swap = 0kB
[52588.701949] Total swap = 251736kB
[52588.701955] 131072 pages RAM
[52588.701959] 0 pages HighMem/MovableOnly
[52588.701964] 5202 pages reserved
[52588.701970] 26624 pages cma reserved
[52588.701975] Tasks state (memory values in pages):
[52588.701980] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[52588.702004] [ 318] 0 318 4893 14 20480 187 -1000 systemd-udevd
[52588.702023] [ 568] 0 568 7039 142 22528 126 -250 systemd-journal
[52588.702038] [ 572] 0 572 1869 8 14336 760 0 haveged
[52588.702053] [ 573] 107 573 1508 7 16384 85 0 rpcbind
[52588.702067] [ 574] 101 574 4730 27 28672 756 0 systemd-resolve
[52588.702081] [ 579] 0 579 796 1 12288 33 0 blkmapd
[52588.702095] [ 580] 0 580 515 4 12288 29 0 rpc.idmapd
[52588.702110] [ 581] 0 581 817 9 10240 84 0 nfsdcld
[52588.702124] [ 1063] 0 1063 1833 18 16384 30 0 cron
[52588.702139] [ 1067] 102 1067 1553 65 16384 70 -900 dbus-daemon
[52588.702154] [ 1070] 0 1070 14513 163 49152 313 0 NetworkManager
[52588.702169] [ 1078] 0 1078 6155 0 36864 1376 0 networkd-dispat
[52588.702183] [ 1088] 103 1088 6378 84 22528 135 0 rsyslogd
[52588.702198] [ 1093] 0 1093 1939 17 16384 158 0 smartd
[52588.702212] [ 1106] 0 1106 2731 29 20480 131 0 systemd-logind
[52588.702227] [ 1108] 0 1108 2630 11 18432 120 0 wpa_supplicant
[52588.702241] [ 1252] 108 1252 906 0 12288 59 0 rpc.statd
[52588.702256] [ 1253] 0 1253 9159 1 38912 1293 0 unattended-upgr
[52588.702270] [ 1254] 0 1254 996 7 14336 72 0 rpc.mountd
[52588.702285] [ 1256] 105 1256 794 111 12288 12 0 vnstatd
[52588.702299] [ 1260] 0 1260 1561 0 16384 20 0 agetty
[52588.702313] [ 1267] 0 1267 2798 2 22528 251 -1000 sshd
[52588.702328] [ 1274] 0 1274 928 0 12288 18 0 agetty
[52588.702343] [ 1275] 106 1275 4075 44 16384 92 0 chronyd
[52588.702357] [ 1277] 106 1277 2034 1 16384 110 0 chronyd
[52588.702376] [ 11993] 0 11993 3341 30 22528 355 0 sshd
[52588.702390] [ 11996] 0 11996 3082 2 22528 235 0 systemd
[52588.702404] [ 11997] 0 11997 8695 10 26624 548 0 (sd-pam)
[52588.702419] [ 12129] 0 12129 1989 2 16384 234 0 bash
[52588.702433] [ 12160] 0 12160 2947 14 22528 111 0 sudo
[52588.702447] [ 12161] 0 12161 2947 7 20480 118 0 sudo
[52588.702462] [ 12162] 999 12162 1846 0 12288 86 0 bash
[52588.702476] [ 12167] 999 12167 13138 215 61440 9025 0 pip3
[52588.702491] [ 12297] 999 12297 8430 14 43008 4854 0 python3
[52588.702505] [ 12303] 999 12303 37795 416 141312 911 0 cargo
[52588.702519] [ 12874] 999 12874 85103 8780 311296 268 0 rustc
[52588.702534] [ 12940] 999 12940 67628 9334 235520 0 0 rustc
[52588.702548] [ 12962] 999 12962 78115 4152 274432 0 0 rustc
[52588.702562] [ 12971] 999 12971 7632 4769 38912 130 0 perl
[52588.702576] [ 12981] 999 12981 3565 847 20480 0 0 python3
[52588.702591] [ 12983] 999 12983 9865 6029 51200 0 0 python3
[52588.702605] [ 12985] 999 12985 89909 12664 290816 0 0 rustc
[52588.702620] [ 12993] 999 12993 4416 1533 28672 0 0 python3
[52588.702635] [ 13029] 0 13029 2702 100 20480 7 0 cron
[52588.702649] [ 13030] 0 13030 2702 100 20480 7 0 cron
[52588.702663] [ 13032] 0 13032 2702 99 20480 8 0 cron
[52588.702679] [ 13041] 0 13041 2702 100 20480 7 0 cron
[52588.702693] [ 13043] 0 13043 2379 62 18432 15 0 cron
[52588.702708] [ 13048] 0 13048 2379 57 18432 15 0 cron
[52588.702723] [ 13049] 0 13049 424 20 8192 0 0 sh
[52588.702737] [ 13050] 0 13050 424 20 12288 0 0 sh
[52588.702751] [ 13051] 0 13051 424 19 8192 0 0 sh
[52588.702765] [ 13052] 0 13052 424 19 12288 0 0 sh
[52588.702781] [ 13057] 0 13057 424 18 12288 0 0 debian-sa1
[52588.702795] [ 13058] 0 13058 397 12 6144 0 0 debian-sa1
[52588.702809] [ 13059] 0 13059 632 11 8192 0 0 armbian-truncat
[52588.702824] [ 13060] 0 13060 77 7 6144 0 0 run-parts
[52588.702836] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-155.scope,task=rustc,pid=12985,uid=999
[52588.702939] Out of memory: Killed process 12985 (rustc) total-vm:359636kB, anon-rss:50128kB, file-rss:0kB, shmem-rss:528kB, UID:999 pgtables:284kB oom_score_adj:0
(venv_fhempy) fhem@orangepione:~$
What can I do against it?
The only real option is to enable swap, which you can find instructions for online. Be aware that will be very slow for the duration of compilation, but should give you a wheel at the end. Hopefully piwheels.org will merge their rust fixes soon and you won't have to do this in the future though.
I have armbian ubuntu jammy images for banana pi zero with reticulum preinstalled. I just triggered a build for orange pi on - its pi one, not pi one plus, right? I'll let you know if and when the build succeeds and can share the image. I have the stuff I use to build the image at https://github.com/Vault2501/Meshed-Banana-image - but currently some changes that are not yet pushed. Will do that the weekend and also let you know. That way you can build on some x86 machine and don;t run into the memory issues. Edit: That was btw my solution for the problem - using setuptools and rust from ubuntu as package.
Now I created a swap file with 1GB. This fixes the problem with the kill. Unfortunately, the process still does not work without errors. I have already updated pip3:
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
Using cached fhempy-0.1.487-py3-none-any.whl (4.5 MB)
Collecting markdown2==2.4.2
Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting websockets==10.3
Using cached websockets-10.3.tar.gz (84 kB)
Preparing metadata (setup.py) ... done
Collecting cryptography==37.0.4
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 zeroconf==0.36.12
Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting dbus-python==1.2.18
Using cached dbus-python-1.2.18.tar.gz (578 kB)
Preparing metadata (setup.py) ... done
Collecting aiohttp[speedups]==3.8.1
Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting requests==2.26.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting importlib-metadata==4.8.1
Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp310-cp310-linux_armv7l.whl
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1-cp310-cp310-linux_armv7l.whl
Collecting attrs>=17.3.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1-cp310-cp310-linux_armv7l.whl
Collecting aiodns
Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting Brotli
Using cached Brotli-1.0.9.zip (510 kB)
Preparing metadata (setup.py) ... done
Collecting cchardet
Using cached cchardet-2.1.7.tar.gz (653 kB)
Preparing metadata (setup.py) ... done
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting ifaddr>=0.1.7
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
Using cached pycares-4.2.2-cp310-cp310-linux_armv7l.whl
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, aiohttp
Building wheel for cryptography (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
x exit code: 1
mq> [274 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-310
creating build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-310/cryptography
creating build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
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'
/tmp/pip-build-env-sqdyvac0/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: 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-armv7l-cpython-310/cryptography
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
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 pyo3/abi3-py36 -- --crate-type cdylib
Compiling proc-macro2 v1.0.37
Compiling unicode-xid v0.2.2
Compiling autocfg v1.1.0
Compiling syn v1.0.91
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.37/build.rs --error-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="default"' --cfg 'feature="proc-macro"' -C metadata=f5113d63e23eb8e8 -C extra-filename=-f5113d63e23eb8e8 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro2-f5113d63e23eb8e8 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name unicode_xid /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/unicode-xid-0.2.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 -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' -C metadata=014ba9000088dd56 -C extra-filename=-014ba9000088dd56 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name autocfg /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/autocfg-1.1.0/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=9259d9b0de9ace3e -C extra-filename=-9259d9b0de9ace3e --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.91/build.rs --error-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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=2c9fb338ad54b9c9 -C extra-filename=-2c9fb338ad54b9c9 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/syn-2c9fb338ad54b9c9 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling version_check v0.9.4
Running `rustc --crate-name version_check /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/version_check-0.9.4/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=a929cf8cae8e20a4 -C extra-filename=-a929cf8cae8e20a4 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling libc v0.2.124
Running `rustc --crate-name build_script_build /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.124/build.rs --error-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="default"' --cfg 'feature="std"' -C metadata=d43704dcf9e6cd36 -C extra-filename=-d43704dcf9e6cd36 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/libc-d43704dcf9e6cd36 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling proc-macro-hack v0.5.19
Compiling pyo3-build-config v0.15.2
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.19/build.rs --error-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 -C metadata=cbaa41cfaf3014fa -C extra-filename=-cbaa41cfaf3014fa --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-hack-cbaa41cfaf3014fa -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/build.rs --error-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 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=829b0799ecadff23 -C extra-filename=-829b0799ecadff23 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/pyo3-build-config-829b0799ecadff23 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling once_cell v1.10.0
Running `rustc --crate-name once_cell --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/once_cell-1.10.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=3bcf8816752316a2 -C extra-filename=-3bcf8816752316a2 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling cfg-if v1.0.0
Running `rustc --crate-name cfg_if --edition=2018 /opt/fhem/.cargo/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,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=bfbc8041e2c37f87 -C extra-filename=-bfbc8041e2c37f87 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling parking_lot_core v0.8.5
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/parking_lot_core-0.8.5/build.rs --error-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 -C metadata=df83fe9b118bc805 -C extra-filename=-df83fe9b118bc805 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/parking_lot_core-df83fe9b118bc805 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling unindent v0.1.8
Compiling smallvec v1.8.0
Running `rustc --crate-name unindent --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/unindent-0.1.8/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=8f31277f7c779a06 -C extra-filename=-8f31277f7c779a06 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name smallvec --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/smallvec-1.8.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 linker-plugin-lto -C overflow-checks=on -C metadata=9905dbfe05df205f -C extra-filename=-9905dbfe05df205f --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling scopeguard v1.1.0
Running `rustc --crate-name scopeguard /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/scopeguard-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=38db6384bf758970 -C extra-filename=-38db6384bf758970 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling Inflector v0.11.4
Running `rustc --crate-name inflector /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/Inflector-0.11.4/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=4fc1188fa6fe87a9 -C extra-filename=-4fc1188fa6fe87a9 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling stable_deref_trait v1.2.0
Running `rustc --crate-name stable_deref_trait /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/stable_deref_trait-1.2.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 linker-plugin-lto -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=66eb0677da742be8 -C extra-filename=-66eb0677da742be8 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling base64 v0.13.0
Running `rustc --crate-name base64 --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/base64-0.13.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 linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=ab2eb98022cfe5f1 -C extra-filename=-ab2eb98022cfe5f1 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling aliasable v0.1.3
Running `rustc --crate-name aliasable --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/aliasable-0.1.3/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 linker-plugin-lto -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' -C metadata=2ff07f11416021f5 -C extra-filename=-2ff07f11416021f5 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name unindent --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/unindent-0.1.8/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 linker-plugin-lto -C overflow-checks=on -C metadata=1d9f0db1061f7f2a -C extra-filename=-1d9f0db1061f7f2a --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling lazy_static v1.4.0
Running `rustc --crate-name lazy_static /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=349c5f1de5fb74b3 -C extra-filename=-349c5f1de5fb74b3 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
Compiling num-traits v0.2.14
Running `rustc --crate-name build_script_build /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.14/build.rs --error-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 -C metadata=14cb7e5cbacd17cc -C extra-filename=-14cb7e5cbacd17cc --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-traits-14cb7e5cbacd17cc -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libautocfg-9259d9b0de9ace3e.rlib --cap-lints allow`
Compiling num-integer v0.1.44
Running `rustc --crate-name build_script_build /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/num-integer-0.1.44/build.rs --error-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 -C metadata=6d377c8589c82b64 -C extra-filename=-6d377c8589c82b64 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-integer-6d377c8589c82b64 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libautocfg-9259d9b0de9ace3e.rlib --cap-lints allow`
Compiling lock_api v0.4.7
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/lock_api-0.4.7/build.rs --error-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 -C metadata=89c4563e89da9ad0 -C extra-filename=-89c4563e89da9ad0 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/lock_api-89c4563e89da9ad0 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libautocfg-9259d9b0de9ace3e.rlib --cap-lints allow`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro2-f5113d63e23eb8e8/build-script-build`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/syn-2c9fb338ad54b9c9/build-script-build`
Compiling proc-macro-error-attr v1.0.4
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/build.rs --error-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 -C metadata=536a3ddf807c17e0 -C extra-filename=-536a3ddf807c17e0 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-attr-536a3ddf807c17e0 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern version_check=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libversion_check-a929cf8cae8e20a4.rlib --cap-lints allow`
Compiling proc-macro-error v1.0.4
Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-1.0.4/build.rs --error-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="default"' --cfg 'feature="syn"' --cfg 'feature="syn-error"' -C metadata=49fd0f631044e484 -C extra-filename=-49fd0f631044e484 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-49fd0f631044e484 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern version_check=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libversion_check-a929cf8cae8e20a4.rlib --cap-lints allow`
Compiling instant v0.1.12
Running `rustc --crate-name instant --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/instant-0.1.12/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 linker-plugin-lto -C overflow-checks=on -C metadata=460908abe19b54ed -C extra-filename=-460908abe19b54ed --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern cfg_if=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libcfg_if-bfbc8041e2c37f87.rmeta --cap-lints allow`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-hack-cbaa41cfaf3014fa/build-script-build`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/libc-d43704dcf9e6cd36/build-script-build`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/parking_lot_core-df83fe9b118bc805/build-script-build`
Compiling pem v1.0.2
Running `rustc --crate-name pem --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/pem-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=9d1060c7716e890d -C extra-filename=-9d1060c7716e890d --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern base64=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libbase64-ab2eb98022cfe5f1.rmeta --cap-lints allow`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/pyo3-build-config-829b0799ecadff23/build-script-build`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-traits-14cb7e5cbacd17cc/build-script-build`
Running `rustc --crate-name proc_macro2 --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.37/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=3495efcff9a08cba -C extra-filename=-3495efcff9a08cba --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern unicode_xid=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libunicode_xid-014ba9000088dd56.rmeta --cap-lints allow --cfg use_proc_macro --cfg wrap_proc_macro`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-attr-536a3ddf807c17e0/build-script-build`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-integer-6d377c8589c82b64/build-script-build`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-49fd0f631044e484/build-script-build`
Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/lock_api-89c4563e89da9ad0/build-script-build`
Running `rustc --crate-name proc_macro_hack --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,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=749195a5efd42d04 -C extra-filename=-749195a5efd42d04 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro --cap-lints allow`
Running `rustc --crate-name libc /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.124/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 linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=281422f2397d0385 -C extra-filename=-281422f2397d0385 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/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_ptr_addr_of --cfg libc_underscore_const_names`
Running `rustc --crate-name pyo3_build_config --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.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 -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=5ee74a334029a3b3 -C extra-filename=-5ee74a334029a3b3 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern once_cell=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libonce_cell-3bcf8816752316a2.rmeta --cap-lints allow`
Running `rustc --crate-name num_traits /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.14/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 linker-plugin-lto -C overflow-checks=on -C metadata=717a8a28bc530cf8 -C extra-filename=-717a8a28bc530cf8 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow --cfg has_i128 --cfg has_to_int_unchecked`
Running `rustc --crate-name lock_api --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/lock_api-0.4.7/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 linker-plugin-lto -C overflow-checks=on -C metadata=b9b739be1806d034 -C extra-filename=-b9b739be1806d034 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern scopeguard=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libscopeguard-38db6384bf758970.rmeta --cap-lints allow`
Compiling quote v1.0.18
Running `rustc --crate-name quote --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/quote-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=f4482cac1e8ef5e4 -C extra-filename=-f4482cac1e8ef5e4 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rmeta --cap-lints allow`
Running `rustc --crate-name parking_lot_core --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/parking_lot_core-0.8.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 linker-plugin-lto -C overflow-checks=on -C metadata=763e0731454c481a -C extra-filename=-763e0731454c481a --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern cfg_if=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libcfg_if-bfbc8041e2c37f87.rmeta --extern instant=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libinstant-460908abe19b54ed.rmeta --extern libc=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/liblibc-281422f2397d0385.rmeta --extern smallvec=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libsmallvec-9905dbfe05df205f.rmeta --cap-lints allow`
Running `rustc --crate-name syn --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.91/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=86c76512f5d9c111 -C extra-filename=-86c76512f5d9c111 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rmeta --extern quote=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libquote-f4482cac1e8ef5e4.rmeta --extern unicode_xid=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libunicode_xid-014ba9000088dd56.rmeta --cap-lints allow --cfg syn_disable_nightly_tests`
Running `rustc --crate-name proc_macro_error_attr --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,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=01546245c0b3b210 -C extra-filename=-01546245c0b3b210 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rlib --extern quote=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libquote-f4482cac1e8ef5e4.rlib --extern proc_macro --cap-lints allow`
Compiling paste-impl v0.1.18
Running `rustc --crate-name paste_impl --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/paste-impl-0.1.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,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=4c0bf0aaf93c9c72 -C extra-filename=-4c0bf0aaf93c9c72 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro_hack=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro_hack-749195a5efd42d04.so --extern proc_macro --cap-lints allow`
LLVM ERROR: IO failure on output stream: No space left on device
error: failed to write /tmp/rustcClV4EJ/lib.rmeta: No space left on device (os error 28)
error: could not compile `proc-macro-error-attr`
Caused by:
process didn't exit successfully: `rustc --crate-name proc_macro_error_attr --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,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=01546245c0b3b210 -C extra-filename=-01546245c0b3b210 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rlib --extern quote=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libquote-f4482cac1e8ef5e4.rlib --extern proc_macro --cap-lints allow` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.0.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.1.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.10.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.11.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.12.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.13.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.14.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.15.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.2.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.3.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.4.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.5.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.6.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.7.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.8.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.9.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.878t9x41t4usbkq.rcgu.rmeta" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.4q3h1jx6ivza92sd.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps" "-L" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libproc_macro-ab101411afb87c5e.rlib" "-Wl,--start-group" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd-2d62b2d9e27ea91e.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_unwind-4f699c0372adcb4c.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libminiz_oxide-92086161600136f1.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libadler-381fda60eb8b0dc2.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libobject-557989c27e7f95fa.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemchr-27c74ea51c93fa81.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libaddr2line-a315ce3f0ab0a8b9.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libgimli-7346a14ff423efca.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd_detect-e76dab7b6ac10e48.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-ec42140cc54deda7.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhashbrown-832f7ed4c1b9232d.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_alloc-00ca9a583d406a37.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunwind-d62320a9647e8986.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcfg_if-aa11f11ebbc858b0.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-b6989aafcea16b92.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc-63a28fa93d37dc08.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_core-a76430cc9f4f8b9d.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcore-4405a08eacc622a3.rlib" "-Wl,--end-group" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcompiler_builtins-913af34d9889555a.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "-o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libpaste_impl-4c0bf0aaf93c9c72.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro,-znow" "-nodefaultlibs"
= note: /usr/bin/ld: final link failed: No space left on device
collect2: error: ld returned 1 exit status
error: build failed
=============================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.4
platform: Linux-5.15.63-sunxi-armv7l-with-glibc2.35
pip: n/a
setuptools: 65.4.1
setuptools_rust: 1.5.2
=============================DEBUG ASSISTANCE=============================
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --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
Building wheel for aiohttp (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for aiohttp (pyproject.toml) did not run successfully.
x exit code: 1
mq> [124 lines of output]
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-310
creating build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/worker.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_ws.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_urldispatcher.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_server.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_runner.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_routedef.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_response.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_request.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_protocol.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_middlewares.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_log.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_fileresponse.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_exceptions.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web_app.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/web.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/typedefs.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/tracing.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/test_utils.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/tcp_helpers.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/streams.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/resolver.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/pytest_plugin.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/payload_streamer.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/payload.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/multipart.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/log.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/locks.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/http_writer.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/http_websocket.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/http_parser.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/http_exceptions.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/http.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/helpers.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/hdrs.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/formdata.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/cookiejar.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/connector.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/client_ws.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/client_reqrep.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/client_proto.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/client_exceptions.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/client.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/base_protocol.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/abc.py -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/__init__.py -> build/lib.linux-armv7l-cpython-310/aiohttp
running egg_info
writing aiohttp.egg-info/PKG-INFO
writing dependency_links to aiohttp.egg-info/dependency_links.txt
writing requirements to aiohttp.egg-info/requires.txt
writing top-level names to aiohttp.egg-info/top_level.txt
reading manifest file 'aiohttp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'aiohttp' anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.lib' found anywhere in distribution
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.a' found anywhere in distribution
warning: no previously-included files matching '*.obj' found anywhere in distribution
warning: no previously-included files found matching 'aiohttp/*.html'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE.txt'
writing manifest file 'aiohttp.egg-info/SOURCES.txt'
copying aiohttp/_cparser.pxd -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_find_header.c -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_find_header.h -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_find_header.pxd -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_headers.pxi -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_helpers.c -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_helpers.pyi -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_helpers.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_http_parser.c -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_http_parser.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_http_writer.c -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_http_writer.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_websocket.c -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/_websocket.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
copying aiohttp/py.typed -> build/lib.linux-armv7l-cpython-310/aiohttp
creating build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
running build_ext
building 'aiohttp._websocket' extension
creating build/temp.linux-armv7l-cpython-310
creating build/temp.linux-armv7l-cpython-310/aiohttp
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/opt/fhem/venv_fhempy/include -I/usr/include/python3.10 -c aiohttp/_websocket.c -o build/temp.linux-armv7l-cpython-310/aiohttp/_websocket.o
arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-armv7l-cpython-310/aiohttp/_websocket.o -L/usr/lib/arm-linux-gnueabihf -o build/lib.linux-armv7l-cpython-310/aiohttp/_websocket.cpython-310-arm-linux-gnueabihf.so
building 'aiohttp._http_parser' extension
creating build/temp.linux-armv7l-cpython-310/vendor
creating build/temp.linux-armv7l-cpython-310/vendor/llhttp
creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/build
creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/build/c
creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/src
creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/src/native
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DLLHTTP_STRICT_MODE=0 -Ivendor/llhttp/build -I/opt/fhem/venv_fhempy/include -I/usr/include/python3.10 -c aiohttp/_find_header.c -o build/temp.linux-armv7l-cpython-310/aiohttp/_find_header.o
aiohttp/_find_header.c: In function ‘find_header’:
aiohttp/_find_header.c:21:19: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
21 | char *pchar = str;
| ^~~
aiohttp/_find_header.c:9867:1: warning: label ‘missing’ defined but not used [-Wunused-label]
9867 | missing:
| ^~~~~~~
aiohttp/_find_header.c: At top level:
aiohttp/_find_header.c:9870:1: fatal error: error writing to /tmp/cc7UnoDG.s: No space left on device
9870 | }
| ^
compilation terminated.
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for aiohttp
Failed to build cryptography aiohttp
ERROR: Could not build wheels for cryptography, aiohttp, which is required to install pyproject.toml-based projects
I just finished buildng the jammy image. Based on a minimal image, these were the packages I installed additionally in order to install reticulum and sideband:
REQUIRED_PACKAGES="libgl1-mesa-dev python3-pip python3-setuptools build-essential python3-dev libffi-dev cargo libssl-dev python3-wheel rust-all python3-setuptools-rust python3-pil python3-pygame"
The command to install the python modules:
PYTHON_MODULES="cryptography rns lxmf nomadnet rnodeconf requests sbapp"
You can see the commands I use at https://github.com/Vault2501/Meshed-Banana-image/tree/main/userpatches/overlay/scripts
Just read your build log - and what stands out is
LLVM ERROR: IO failure on output stream: No space left on device
I think you ran out of disk space?
I put the current images here, there is now also a minimal orange pi one image, in case you want to try that: https://github.com/Vault2501/Meshed-Banana-image/wiki/Images
What eventually worked for me was moving back to cryptography 3.3.4, before they starting cargoculting Rust into the project
It suddenly started failing recently for me with the same rust issue, I was trying to make a docker image having dependency on python crypto. Base image debian:10.1 Python 3.7 cryptography == 36.0.2
@somanipra have you tried moving back to cryptography<3.4.0? Because that's what did help me.
@grepwood I upgraded pip in docker image. It works fine now. Thanks
@somanipra no problem, you're welcome. I'm gonna embrace cryptography with Rust in it, but first I need to enable this transition to be much less painful. It's not going to be like this with NixOS. Lucky you for using Debian :)
Updated the title to reflect that this issue has a bunch of different installation issues -- the common thread is that they're on arm32 linux. This became an issue recently because piwheels can no longer build cryptography: https://github.com/piwheels/piwheels/pull/322
I got a different error when compile cryptography with rust in termux.
error: failed to prepare thin LTO module: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.2' Reader: 'LLVM 15.0.2')
UPDATE:
I have found the solution. According to the post, disabling LTO could fix it.
export RUSTFLAGS="-C lto=n"
suffering what looks like similar issues on a beagle bone black.
I previously got Cryptography running on a Pi...and think I've done again all the things that worked there. (setup tools, etc). Right now the running of the wheel just runs and runs.
It stops at '"Building wheel for cryptography (pyproject.toml)"
Or maybe it's just taking a day (?) to run? I haven't let it run more than an hour. Now a beagle bone is slow, but is it that slow?
H
@hughsheehy have you tried running it through strace
?
It did eventually install on a Beagle Bone Black. Install takes something like 90 mins. Seriously!
I got a different error when compile cryptography with rust in termux.
error: failed to prepare thin LTO module: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.2' Reader: 'LLVM 15.0.2')
Full LOG UPDATE:
I have found the solution. According to the post, disabling LTO could fix it.
export RUSTFLAGS="-C lto=n"
this fixed it for me. thank you
$ rustc --version rustc 1.66.1 (90743e729 2023-01-10) (built from a source tarball) $ python --version Python 3.11.1 $ gcc --version clang version 15.0.7 Target: aarch64-unknown-linux-android24 Thread model: posix InstalledDir: /data/data/com.termux/files/usr/bin
..... Successfully installed cffi-1.15.1 cryptography-39.0.0 pycparser-2.21
I got a different error when compile cryptography with rust in termux.
error: failed to prepare thin LTO module: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.2' Reader: 'LLVM 15.0.2')
Full LOG UPDATE:
I have found the solution. According to the post, disabling LTO could fix it.
export RUSTFLAGS="-C lto=n"
@clacknya If you want to keep using ThinLTO, you can fix this bug introduced in clang-15 by adding this to your clang-15 final linking command line:
-Wl,-mllvm,--opaque-pointers
This allows clang to tell the ThinLTO module to allow the opaque pointers that it previously was erroring on at link time.
At this point piwheels now has up to date wheels, which hopefully should resolve this issue for everyone. I'm going to tentatively close this, and say new issues should be filed if other issues are discovered.
OrangePI PC1 owner here.
(venv) leon@orangepipc:~$ pip list
Package Version
---------- -------
pip 23.1
setuptools 59.6.0
(venv) leon@orangepipc:~$ pip install paramiko
Collecting paramiko
Using cached paramiko-3.1.0-py3-none-any.whl (211 kB)
Collecting bcrypt>=3.2 (from paramiko)
Using cached bcrypt-4.0.1-cp310-cp310-linux_armv7l.whl
Collecting cryptography>=3.3 (from paramiko)
Using cached cryptography-40.0.2.tar.gz (625 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pynacl>=1.5 (from paramiko)
Using cached PyNaCl-1.5.0-cp310-cp310-linux_armv7l.whl
Collecting cffi>=1.12 (from cryptography>=3.3->paramiko)
Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko)
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
╰─> [333 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-310
creating build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-310/cryptography
creating build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
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 '.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'
adding license file 'LICENSE.PSF'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
/tmp/pip-build-env-debfvisi/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: 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)
/tmp/pip-build-env-debfvisi/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust.openssl' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'cryptography.hazmat.bindings._rust.openssl' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'cryptography.hazmat.bindings._rust.openssl' 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.openssl' 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-armv7l-cpython-310/cryptography
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-armv7l-cpython-310/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/abi3-py36 pyo3/extension-module -- --crate-type cdylib
Compiling proc-macro2 v1.0.53
Compiling quote v1.0.26
Compiling unicode-ident v1.0.8
Compiling syn v1.0.109
Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.53/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=9299a0e6feb88da9 -C extra-filename=-9299a0e6feb88da9 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro2-9299a0e6feb88da9 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/quote-1.0.26/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=4bec78b007aca6a9 -C extra-filename=-4bec78b007aca6a9 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/quote-4bec78b007aca6a9 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name unicode_ident --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/unicode-ident-1.0.8/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=93039ca76541989c -C extra-filename=-93039ca76541989c --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.109/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=7ef9d93dd6bd1c49 -C extra-filename=-7ef9d93dd6bd1c49 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/syn-7ef9d93dd6bd1c49 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Compiling autocfg v1.1.0
Running `rustc --crate-name autocfg /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=6a02d148c4389281 -C extra-filename=-6a02d148c4389281 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Compiling pyo3-build-config v0.15.2
Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=49636dded883403d -C extra-filename=-49636dded883403d --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/pyo3-build-config-49636dded883403d -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/syn-7ef9d93dd6bd1c49/build-script-build`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/quote-4bec78b007aca6a9/build-script-build`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro2-9299a0e6feb88da9/build-script-build`
Compiling version_check v0.9.4
Running `rustc --crate-name version_check /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/version_check-0.9.4/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=f1352e6b217e0549 -C extra-filename=-f1352e6b217e0549 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Compiling cc v1.0.79
Running `rustc --crate-name cc --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/cc-1.0.79/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=74e287432e0da2d6 -C extra-filename=-74e287432e0da2d6 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name proc_macro2 --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.53/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=819fa027b7524a17 -C extra-filename=-819fa027b7524a17 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern unicode_ident=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libunicode_ident-93039ca76541989c.rmeta --cap-lints allow --cfg span_locations --cfg no_source_text --cfg use_proc_macro --cfg wrap_proc_macro`
Compiling libc v0.2.140
Running `rustc --crate-name build_script_build /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.140/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=6460473d2ba85392 -C extra-filename=-6460473d2ba85392 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/libc-6460473d2ba85392 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name quote --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/quote-1.0.26/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=6dc019fd41e18a5c -C extra-filename=-6dc019fd41e18a5c --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libproc_macro2-819fa027b7524a17.rmeta --cap-lints allow`
Running `rustc --crate-name syn --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=b6d988e08bc08469 -C extra-filename=-b6d988e08bc08469 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libproc_macro2-819fa027b7524a17.rmeta --extern quote=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libquote-6dc019fd41e18a5c.rmeta --extern unicode_ident=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libunicode_ident-93039ca76541989c.rmeta --cap-lints allow --cfg syn_disable_nightly_tests`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/pyo3-build-config-49636dded883403d/build-script-build`
Compiling once_cell v1.14.0
Running `rustc --crate-name once_cell --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/once_cell-1.14.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=085028acd7d7e63d -C extra-filename=-085028acd7d7e63d --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Compiling proc-macro-hack v0.5.20+deprecated
Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.20+deprecated/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=dcdfa93df82c515e -C extra-filename=-dcdfa93df82c515e --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-hack-dcdfa93df82c515e -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name pyo3_build_config --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.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 -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=d0a28bc12cc91866 -C extra-filename=-d0a28bc12cc91866 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern once_cell=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libonce_cell-085028acd7d7e63d.rmeta --cap-lints allow`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-hack-dcdfa93df82c515e/build-script-build`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/libc-6460473d2ba85392/build-script-build`
Compiling pkg-config v0.3.26
Running `rustc --crate-name pkg_config /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/pkg-config-0.3.26/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=02baa2f140967059 -C extra-filename=-02baa2f140967059 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `rustc --crate-name libc /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.140/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 linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=29fa4673541eb247 -C extra-filename=-29fa4673541eb247 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/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`
Compiling openssl-sys v0.9.85
Running `rustc --crate-name build_script_main --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/openssl-sys-0.9.85/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=2c27b0b51de3a7d4 -C extra-filename=-2c27b0b51de3a7d4 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/openssl-sys-2c27b0b51de3a7d4 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern cc=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libcc-74e287432e0da2d6.rlib --extern pkg_config=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libpkg_config-02baa2f140967059.rlib --cap-lints allow`
Running `rustc --crate-name proc_macro_hack --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.20+deprecated/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=f5c9f938bc85b70f -C extra-filename=-f5c9f938bc85b70f --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern proc_macro --cap-lints allow`
Compiling proc-macro-error-attr v1.0.4
Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/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=94fadbcbca0551a1 -C extra-filename=-94fadbcbca0551a1 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-error-attr-94fadbcbca0551a1 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern version_check=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libversion_check-f1352e6b217e0549.rlib --cap-lints allow`
Compiling num-traits v0.2.15
Running `rustc --crate-name build_script_build /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.15/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=8e8e72708da3bc95 -C extra-filename=-8e8e72708da3bc95 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/num-traits-8e8e72708da3bc95 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libautocfg-6a02d148c4389281.rlib --cap-lints allow`
Compiling cfg-if v1.0.0
Running `rustc --crate-name cfg_if --edition=2018 /home/leon/.cargo/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,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=627a89f4b3f89056 -C extra-filename=-627a89f4b3f89056 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-error-attr-94fadbcbca0551a1/build-script-build`
Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/openssl-sys-2c27b0b51de3a7d4/build-script-main`
error: failed to run custom build command for `openssl-sys v0.9.85`
Caused by:
process didn't exit successfully: `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/openssl-sys-2c27b0b51de3a7d4/build-script-main` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_LIB_DIR
ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR
ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_DIR
ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_DIR
OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_armv7-unknown-linux-gnueabihf
cargo:rerun-if-env-changed=PKG_CONFIG_armv7_unknown_linux_gnueabihf
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENSSL_STATIC
cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7-unknown-linux-gnueabihf
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7_unknown_linux_gnueabihf
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7-unknown-linux-gnueabihf
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7_unknown_linux_gnueabihf
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-gnueabihf
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_gnueabihf
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
run pkg_config fail: Could not run `"pkg-config" "--libs" "--cflags" "openssl"`
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
Try `apt install pkg-config`, or `yum install pkg-config`,
or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.
If you did not expect this build to link to a pre-installed system library,
then check documentation of the openssl-sys crate for an option to
build the library from source, or disable features or dependencies
that require pkg-config.
--- stderr
thread 'main' panicked at '
Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
compilation process.
Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.
$HOST = armv7-unknown-linux-gnueabihf
$TARGET = armv7-unknown-linux-gnueabihf
openssl-sys = 0.9.85
It looks like you're compiling on Linux and also targeting Linux. Currently this
requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
could not be found. If you have OpenSSL installed you can likely fix this by
installing `pkg-config`.
', /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/openssl-sys-0.9.85/build/find_normal.rs:190:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
=============================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.6
platform: Linux-5.15.93-sunxi-armv7l-with-glibc2.35
pip: n/a
setuptools: 67.6.1
setuptools_rust: 1.5.2
rustc: 1.65.0
=============================DEBUG ASSISTANCE=============================
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --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
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
I then installed pkg-config
but it takes ages and often crashes the board.
I have rustc (1.65.0+dfsg0ubuntu1-0ubuntu0.22.04.1) and wonder if I might do better with the script to install the very latest.
When it is taking ages I run top
and see this:
Tasks: 123 total, 1 running, 122 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.4 us, 2.8 sy, 0.0 ni, 70.8 id, 25.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 999.0 total, 59.3 free, 210.7 used, 729.0 buff/cache
MiB Swap: 499.5 total, 294.5 free, 205.0 used. 488.8 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4164 leon 20 0 10012 2664 2160 R 5.9 0.3 0:00.03 top
1 root 20 0 31736 5504 3868 S 0.0 0.5 0:04.77 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
The original windows sticks around here:
(venv) leon@orangepipc:~$ pip install paramiko
Collecting paramiko
Using cached paramiko-3.1.0-py3-none-any.whl (211 kB)
Collecting bcrypt>=3.2 (from paramiko)
Using cached bcrypt-4.0.1-cp310-cp310-linux_armv7l.whl
Collecting cryptography>=3.3 (from paramiko)
Using cached cryptography-40.0.2.tar.gz (625 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pynacl>=1.5 (from paramiko)
Using cached PyNaCl-1.5.0-cp310-cp310-linux_armv7l.whl
Collecting cffi>=1.12 (from cryptography>=3.3->paramiko)
Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko)
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml) ... |
^C
Assuming it doesn't produce a huge stack trace until the execption is raised.
Took about an hour, but it built, thanks for the heads up. I see (and saw again) memory was pretty tight, though buffers/cache are there for the taking.
I don't anticipate repeating this for a while, and will share any of the output if requested.
Hardware Orange Pi One Armbian 22.08.1 Jammy with Linux 5.15.63-sunxi Python: 3.10.4
Unfortunately the installation of cryptography fails:
Please let me know if you need further information.