El bot de Python Discord se bloquea en la compilación de docker compose

12 minutos de lectura
#0 269.1   Building wheel for msgpack (pyproject.toml): started
#0 316.2   Building wheel for msgpack (pyproject.toml): finished with status 'done'#0 316.3   Created wheel for msgpack: filename=msgpack-1.0.4-cp310-cp310-linux_aarch64.whl size=278121 sha256=be03c6aae5170c477fbe02a702af8c4c22b3cfd183182a500af39a0e15a1c769
#0 316.3   Stored in directory: /tmp/pip-ephem-wheel-cache-agknabbn/wheels/f2/0c/10/b02c67e6e1bc1e41184dc9e588bc5aef0e2227de8e92aae110
#0 316.3   Building wheel for cryptography (pyproject.toml): started
#0 328.0   Building wheel for cryptography (pyproject.toml): finished with status 'error'
#0 328.3   error: subprocess-exited-with-error
#0 328.3
#0 328.3   × Building wheel for cryptography (pyproject.toml) did not run successfully.
#0 328.3   │ exit code: 1
#0 328.3   ╰─> [192 lines of output]
#0 328.3       running bdist_wheel
#0 328.3       running build
#0 328.3       running build_py
#0 328.3       creating build
#0 328.3       creating build/lib.linux-aarch64-cpython-310
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3       copying src/cryptography/fernet.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3       copying src/cryptography/exceptions.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3       copying src/cryptography/__about__.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3       copying src/cryptography/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3       copying src/cryptography/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/general_name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/extensions.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/ocsp.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       copying src/cryptography/x509/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat
#0 328.3       copying src/cryptography/hazmat/_oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
#0 328.3       copying src/cryptography/hazmat/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends
#0 328.3       copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
#0 328.3       copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3       copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3       copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3       copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3       copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3       copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3       copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3       copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3       copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3       copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3       copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3       copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3       copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3       copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3       copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3       copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3       copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3       running egg_info
#0 328.3       writing src/cryptography.egg-info/PKG-INFO
#0 328.3       writing dependency_links to src/cryptography.egg-info/dependency_links.txt
#0 328.3       writing requirements to src/cryptography.egg-info/requires.txt
#0 328.3       writing top-level names to src/cryptography.egg-info/top_level.txt
#0 328.3       reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
#0 328.3       reading manifest template 'MANIFEST.in'
#0 328.3       no previously-included directories found matching 'docs/_build'
#0 328.3       warning: no previously-included files found matching 'vectors'
#0 328.3       warning: no previously-included files matching '*' found under directory 'vectors'
#0 328.3       warning: no previously-included files matching '*' found under directory '.github'
#0 328.3       warning: no previously-included files found matching 'release.py'
#0 328.3       warning: no previously-included files found matching '.readthedocs.yml'
#0 328.3       warning: no previously-included files found matching 'ci-constraints-requirements.txt'
#0 328.3       warning: no previously-included files found matching 'tox.ini'
#0 328.3       warning: no previously-included files found matching 'mypy.ini'
#0 328.3       adding license file 'LICENSE'
#0 328.3       adding license file 'LICENSE.APACHE'
#0 328.3       adding license file 'LICENSE.BSD'
#0 328.3       adding license file 'LICENSE.PSF'
#0 328.3       writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
#0 328.3       /tmp/pip-build-env-bfyesg7e/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`.
#0 328.3           !!
#0 328.3
#0 328.3
#0 328.3           ############################
#0 328.3           # Package would be ignored #
#0 328.3           ############################
#0 328.3           Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
#0 328.3           but it is not listed in the `packages` configuration of setuptools.
#0 328.3
#0 328.3           'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
#0 328.3           because it may contain data files, but this behavior is likely to change
#0 328.3           in future versions of setuptools (and therefore is considered deprecated).
#0 328.3
#0 328.3           Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
#0 328.3           the `packages` configuration field or the proper discovery methods
#0 328.3           (for example by using `find_namespace_packages(...)`/`find_namespace:`
#0 328.3           instead of `find_packages(...)`/`find:`).
#0 328.3
#0 328.3           You can read more about "package discovery" and "data files" on setuptools
#0 328.3           documentation page.
#0 328.3
#0 328.3
#0 328.3       !!
#0 328.3
#0 328.3         check.warn(importable)
#0 328.3       copying src/cryptography/py.typed -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3       copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
#0 328.3       creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3       copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3       copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3       copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3       copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3       copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3       running build_ext
#0 328.3       generating cffi module 'build/temp.linux-aarch64-cpython-310/cryptography.hazmat.bindings._openssl.c'
#0 328.3       creating build/temp.linux-aarch64-cpython-310
#0 328.3       running build_rust
#0 328.3
#0 328.3           =============================DEBUG ASSISTANCE=============================
#0 328.3           If you are seeing a compilation error please try the following steps to
#0 328.3           successfully install cryptography:
#0 328.3           1) Upgrade to the latest pip and try again. This will fix errors for most
#0 328.3              users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#0 328.3           2) Read https://cryptography.io/en/latest/installation/ for specific
#0 328.3              instructions for your platform.
#0 328.3           3) Check our frequently asked questions for more information:
#0 328.3              https://cryptography.io/en/latest/faq/
#0 328.3           4) Ensure you have a recent Rust toolchain installed:
#0 328.3              https://cryptography.io/en/latest/installation/#rust
#0 328.3
#0 328.3           Python: 3.10.10
#0 328.3           platform: Linux-5.15.61-v8+-aarch64-with-glibc2.28
#0 328.3           pip: n/a
#0 328.3           setuptools: 67.3.2
#0 328.3           setuptools_rust: 1.5.2
#0 328.3           rustc: n/a
#0 328.3           =============================DEBUG ASSISTANCE=============================
#0 328.3
#0 328.3       error: can't find Rust compiler
#0 328.3
#0 328.3       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.
#0 328.3
#0 328.3       To update pip, run:
#0 328.3
#0 328.3           pip install --upgrade pip
#0 328.3
#0 328.3       and then retry package installation.
#0 328.3
#0 328.3       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.
#0 328.3
#0 328.3       This package requires Rust >=1.48.0.
#0 328.3       [end of output]
#0 328.3
#0 328.3   note: This error originates from a subprocess, and is likely not a problem with pip.
#0 328.3   ERROR: Failed building wheel for cryptography
#0 328.3   Building wheel for cffi (setup.py): started
#0 380.7   Building wheel for cffi (setup.py): finished with status 'done'
#0 380.8   Created wheel for cffi: filename=cffi-1.15.1-cp310-cp310-linux_aarch64.whl size=399509 sha256=7ff7f38b14379fb3df99331b0b45c781541f6442a591bc5581894f24643ec4eb
#0 380.8   Stored in directory: /tmp/pip-ephem-wheel-cache-agknabbn/wheels/ad/fd/0d/a399a07e390eb40973817d4a6244fc9f28579961c243ffcfa5
#0 380.8 Successfully built dulwich msgpack cffi
#0 380.8 Failed to build cryptography
#0 380.8 ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
------
failed to solve: process "/bin/sh -c pip install poetry==1.2.2" did not complete successfully: exit code: 1

¿Alguien sabe cómo solucionar esto?

Ya instalé Rust y Pip, pero sigo teniendo problemas.

Intento iniciar el bot ballsdex (github) en un linux debian Rasberry pi 3.

Todavía tengo que escribir algo como esto, puedes abrir an der Rasbeery pi 3 b oder der Sache zum Zeitpunkt des Widerrufs oder der der Sache zum Zeitpunkt

¿Ha sido útil esta solución?