MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.89k stars 498 forks source link

Synapse Matrix Installation Failed #4987

Closed N7-BADA closed 2 years ago

N7-BADA commented 2 years ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. Install Synapse Matrix and wait.

Expected behaviour

Actual behaviour

Extra details

Details:

Logfile attached. Click to expand! ``` Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple/ Collecting matrix-synapse Downloading https://www.piwheels.org/simple/matrix-synapse/matrix_synapse-1.47.0-py3-none-any.whl (2.1 MB) Collecting psycopg2 Downloading https://www.piwheels.org/simple/psycopg2/psycopg2-2.9.2-cp37-cp37m-linux_armv7l.whl (505 kB) Collecting unpaddedbase64>=1.1.0 Downloading https://www.piwheels.org/simple/unpaddedbase64/unpaddedbase64-2.1.0-py3-none-any.whl (6.1 kB) Collecting idna>=2.5 Downloading https://www.piwheels.org/simple/idna/idna-3.3-py3-none-any.whl (64 kB) Collecting cryptography>=3.4.7 Downloading cryptography-36.0.0.tar.gz (571 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting Jinja2>=2.9 Downloading https://www.piwheels.org/simple/jinja2/Jinja2-3.0.3-py3-none-any.whl (133 kB) Collecting bleach>=1.4.3 Downloading https://www.piwheels.org/simple/bleach/bleach-4.1.0-py2.py3-none-any.whl (157 kB) Collecting canonicaljson>=1.4.0 Downloading https://www.piwheels.org/simple/canonicaljson/canonicaljson-1.5.0-py3-none-any.whl (5.4 kB) Collecting msgpack>=0.5.2 Downloading https://www.piwheels.org/simple/msgpack/msgpack-1.0.2-cp37-cp37m-linux_armv7l.whl (267 kB) Collecting pillow>=4.3.0 Downloading https://www.piwheels.org/simple/pillow/Pillow-8.4.0-cp37-cp37m-linux_armv7l.whl (1.3 MB) Collecting pyyaml>=3.11 Downloading https://www.piwheels.org/simple/pyyaml/PyYAML-6.0-cp37-cp37m-linux_armv7l.whl (45 kB) Collecting sortedcontainers>=1.4.4 Downloading https://www.piwheels.org/simple/sortedcontainers/sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB) Collecting pynacl>=1.2.1 Downloading https://www.piwheels.org/simple/pynacl/PyNaCl-1.4.0-cp37-cp37m-linux_armv7l.whl (605 kB) Collecting attrs!=21.1.0,>=19.2.0 Downloading https://www.piwheels.org/simple/attrs/attrs-21.2.0-py2.py3-none-any.whl (53 kB) Collecting service-identity>=18.1.0 Downloading https://www.piwheels.org/simple/service-identity/service_identity-21.1.0-py2.py3-none-any.whl (12 kB) Collecting treq>=15.1 Downloading https://www.piwheels.org/simple/treq/treq-21.5.0-py3-none-any.whl (62 kB) Collecting frozendict>=1 Downloading https://www.piwheels.org/simple/frozendict/frozendict-2.1.0-cp37-cp37m-linux_armv7l.whl (151 kB) Collecting pyopenssl>=16.0.0 Downloading https://www.piwheels.org/simple/pyopenssl/pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB) Collecting bcrypt>=3.1.0 Downloading https://www.piwheels.org/simple/bcrypt/bcrypt-3.2.0-cp37-cp37m-linux_armv7l.whl (57 kB) Collecting typing-extensions>=3.7.4 Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.0.0-py3-none-any.whl (22 kB) Collecting phonenumbers>=8.2.0 Downloading https://www.piwheels.org/simple/phonenumbers/phonenumbers-8.12.37-py2.py3-none-any.whl (2.6 MB) Collecting pymacaroons>=0.13.0 Downloading https://www.piwheels.org/simple/pymacaroons/pymacaroons-0.13.0-py2.py3-none-any.whl (19 kB) Collecting ijson>=3.0 Downloading https://www.piwheels.org/simple/ijson/ijson-3.1.4-py3-none-any.whl (32 kB) Collecting prometheus-client>=0.4.0 Downloading https://www.piwheels.org/simple/prometheus-client/prometheus_client-0.12.0-py2.py3-none-any.whl (60 kB) Collecting netaddr>=0.7.18 Downloading https://www.piwheels.org/simple/netaddr/netaddr-0.8.0-py3-none-any.whl (1.9 MB) Collecting pyasn1>=0.1.9 Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting jsonschema>=3.0.0 Downloading https://www.piwheels.org/simple/jsonschema/jsonschema-4.2.1-py3-none-any.whl (69 kB) Collecting signedjson>=1.1.0 Downloading https://www.piwheels.org/simple/signedjson/signedjson-1.1.1-py3-none-any.whl (10 kB) Collecting Twisted>=18.9.0 Downloading https://www.piwheels.org/simple/twisted/Twisted-21.7.0-py3-none-any.whl (3.1 MB) Collecting pyasn1-modules>=0.0.7 Downloading https://www.piwheels.org/simple/pyasn1-modules/pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting six>=1.4.1 Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting cffi>=1.1 Downloading https://www.piwheels.org/simple/cffi/cffi-1.15.0-cp37-cp37m-linux_armv7l.whl (346 kB) Collecting packaging Downloading https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl (40 kB) Collecting webencodings Downloading https://www.piwheels.org/simple/webencodings/webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting simplejson>=3.14.0 Downloading https://www.piwheels.org/simple/simplejson/simplejson-3.17.6-cp37-cp37m-linux_armv7l.whl (119 kB) Collecting MarkupSafe>=2.0 Downloading https://www.piwheels.org/simple/markupsafe/MarkupSafe-2.0.1-cp37-cp37m-linux_armv7l.whl (31 kB) Collecting importlib-resources>=1.4.0 Downloading https://www.piwheels.org/simple/importlib-resources/importlib_resources-5.4.0-py3-none-any.whl (28 kB)Collecting importlib-metadata Downloading https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-4.8.2-py3-none-any.whl (17 kB) Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading https://www.piwheels.org/simple/pyrsistent/pyrsistent-0.18.0-cp37-cp37m-linux_armv7l.whl (100 kB) Collecting hyperlink>=21.0.0 Downloading https://www.piwheels.org/simple/hyperlink/hyperlink-21.0.0-py2.py3-none-any.whl (74 kB) Collecting requests>=2.1.0 Downloading https://www.piwheels.org/simple/requests/requests-2.26.0-py2.py3-none-any.whl (62 kB) Collecting incremental Downloading https://www.piwheels.org/simple/incremental/incremental-21.3.0-py2.py3-none-any.whl (15 kB) Collecting zope.interface>=4.4.2 Downloading https://www.piwheels.org/simple/zope-interface/zope.interface-5.4.0-cp37-cp37m-linux_armv7l.whl (240 kB) Collecting constantly>=15.1 Downloading https://www.piwheels.org/simple/constantly/constantly-15.1.0-py2.py3-none-any.whl (7.9 kB) Collecting Automat>=0.8.0 Downloading https://www.piwheels.org/simple/automat/Automat-20.2.0-py2.py3-none-any.whl (37 kB) Collecting pycparser Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB) Collecting zipp>=3.1.0 Downloading https://www.piwheels.org/simple/zipp/zipp-3.6.0-py3-none-any.whl (5.3 kB) Collecting urllib3<1.27,>=1.21.1 Downloading https://www.piwheels.org/simple/urllib3/urllib3-1.26.7-py2.py3-none-any.whl (155 kB) Collecting charset-normalizer~=2.0.0 Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-2.0.7-py3-none-any.whl (42 kB) Collecting certifi>=2017.4.17 Downloading https://www.piwheels.org/simple/certifi/certifi-2021.10.8-py2.py3-none-any.whl (151 kB) Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from zope.interface>=4.4.2->Twisted>=18.9.0->matrix-synapse) (59.2.0) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading https://www.piwheels.org/simple/pyparsing/pyparsing-3.0.6-py3-none-any.whl (97 kB) Building wheels for collected packages: cryptography Building wheel for cryptography (pyproject.toml): started Building wheel for cryptography (pyproject.toml): finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpghksftib cwd: /tmp/pip-install-9bpqhujr/cryptography_fae79d73e28348039dc7d60043bd624a Complete output (168 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-3.7 creating build/lib.linux-armv7l-3.7/cryptography copying src/cryptography/utils.py -> build/lib.linux-armv7l-3.7/cryptography copying src/cryptography/fernet.py -> build/lib.linux-armv7l-3.7/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-3.7/cryptography copying src/cryptography/__init__.py -> build/lib.linux-armv7l-3.7/cryptography copying src/cryptography/__about__.py -> build/lib.linux-armv7l-3.7/cryptography creating build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-3.7/cryptography/x509 copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/x509 creating build/lib.linux-armv7l-3.7/cryptography/hazmat copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-3.7/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 '.zuul.d' warning: no previously-included files matching '*' found under directory '.zuul.playbooks' adding license file 'LICENSE' adding license file 'LICENSE.APACHE' adding license file 'LICENSE.BSD' adding license file 'LICENSE.PSF' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' copying src/cryptography/py.typed -> build/lib.linux-armv7l-3.7/cryptography creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-3.7/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.7.3 platform: Linux-5.10.63-v7l+-armv7l-with-debian-10.11 pip: 21.3.1 setuptools: 59.2.0 setuptools_rust: 1.0.0 =============================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.41.0. ---------------------------------------- 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 --------------------------------------------------------------------- [FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminate. ```
Joulinar commented 2 years ago

Hi,

issue is with cryptography module. The version 36 your system is trying to download, is now available as pre-build wheel for Buster on https://www.piwheels.org/project/cryptography/

You could try to install version 35.

sudo pip3 install cryptography==35.0.0

Hope this satisfy Synapse and you could try to install again.

N7-BADA commented 2 years ago

Hi,

issue is with cryptography module. The version 36 your system is trying to download, is now available as pre-build wheel for Buster on https://www.piwheels.org/project/cryptography/

You could try to install version 35.

sudo pip3 install cryptography==35.0.0

Hope this satisfy Synapse and you could try to install again.

Thank you for the fast reply! that did the trick indeed. it successfully installed now.

Joulinar commented 2 years ago

ok perfect

@MichaIng not sure if we need to do anything on this. I guess cryptography version 35 will be last one on Buster (Python 3.7)

MichaIng commented 2 years ago

Hmm, question is whether they gonna fix/add the build for Buster or whether it stays like this. If it stays like this, I think sticking with an older cryptography is not a great long-term solution, so we'd need to install Rust for compiling.

Implementing Rust probably makes sense anyway, as a dedicated software option, as Rust tends to be used by more and more software, even only for little bits of them, like in the case of cryptography, AFAIK cURL and others. I'm just not sure how to implement it in a way that dietpi-software can use it to compile software but users can use it as well without a root session and without installing their whole own Rust toolchain. Generally Rust is currently not designed for multi-user use cases: https://github.com/rust-lang/rustup/issues/2383 We could install cargo with compiler from package manager, but it is naturally an outdated version (Rust stable releases are supported for only 6 weeks by the Rust team): https://packages.debian.org/bullseye/rustc I'm not keen to have it as root-only installation as I generally think that everything dietpi-software offers should be usable by every login user (this is not the case currently, but something I aim for) and users generally should be able to lock the root user account for login and interactive use (everything but sudo) as a security measure.

... moving this into an own ~issue~discussion: https://github.com/MichaIng/DietPi/discussions/4988

Joulinar commented 2 years ago

ok going to close this topic as original issue has been fixed. Feel free to reopen if needed.