******************************************************** * Installation des dépendances * ******************************************************** Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease Get:5 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [163 kB] Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [166 kB] Get:7 http://archive.raspberrypi.com/debian bookworm InRelease [39.0 kB] Get:8 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [425 kB] Get:9 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [426 kB] Fetched 1323 kB in 1s (1637 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... python3-pip is already the newest version (23.0.1+dfsg-1+rpt1). python3-setuptools is already the newest version (66.1.1-1). rfkill is already the newest version (2.38.1-5+deb12u1). 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.11.2-1+b1). libffi-dev is already the newest version (3.4.4-1). libbluetooth-dev is already the newest version (5.66-1+rpt1+deb12u1). bluetooth is already the newest version (5.66-1+rpt1+deb12u1). build-essential is already the newest version (12.9). python3-pip is already the newest version (23.0.1+dfsg-1+rpt1). The following additional packages will be installed: libssl3 openssl Suggested packages: libssl-doc The following packages will be upgraded: libssl-dev libssl3 openssl 3 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 5509 kB of archives. After this operation, 76.8 kB of additional disk space will be used. Get:1 http://archive.raspberrypi.com/debian bookworm/main arm64 libssl-dev arm64 3.0.13-1~deb12u1+rpt1 [2310 kB] Get:2 http://archive.raspberrypi.com/debian bookworm/main arm64 libssl3 arm64 3.0.13-1~deb12u1+rpt1 [1811 kB] Get:3 http://archive.raspberrypi.com/debian bookworm/main arm64 openssl arm64 3.0.13-1~deb12u1+rpt1 [1389 kB] apt-listchanges: Reading changelogs... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 5509 kB in 0s (15.5 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 86396 files and directories currently installed.) Preparing to unpack .../libssl-dev_3.0.13-1~deb12u1+rpt1_arm64.deb ... Unpacking libssl-dev:arm64 (3.0.13-1~deb12u1+rpt1) over (3.0.13-1~deb12u1) ... Preparing to unpack .../libssl3_3.0.13-1~deb12u1+rpt1_arm64.deb ... Unpacking libssl3:arm64 (3.0.13-1~deb12u1+rpt1) over (3.0.13-1~deb12u1) ... Preparing to unpack .../openssl_3.0.13-1~deb12u1+rpt1_arm64.deb ... Unpacking openssl (3.0.13-1~deb12u1+rpt1) over (3.0.13-1~deb12u1) ... Setting up libssl3:arm64 (3.0.13-1~deb12u1+rpt1) ... Setting up libssl-dev:arm64 (3.0.13-1~deb12u1+rpt1) ... Setting up openssl (3.0.13-1~deb12u1+rpt1) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9+rpt2+deb12u7) ... Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.28.1) 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 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pyserial Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 1.8 MB/s eta 0:00:00 Installing collected packages: pyserial Successfully installed pyserial-3.5 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 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pyudev Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.3-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 2.0 MB/s eta 0:00:00 Installing collected packages: pyudev Successfully installed pyudev-0.24.3 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 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.38.4) 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 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting cryptography==2.6.1 Downloading cryptography-2.6.1.tar.gz (491 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.6/491.6 kB 3.9 MB/s eta 0:00:00 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 asn1crypto>=0.21.0 Downloading https://www.piwheels.org/simple/asn1crypto/asn1crypto-1.5.1-py3-none-any.whl (110 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.1/110.1 kB 2.2 MB/s eta 0:00:00 Requirement already satisfied: six>=1.4.1 in /usr/lib/python3/dist-packages (from cryptography==2.6.1) (1.16.0) Collecting cffi!=1.11.3,>=1.8 Using cached cffi-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (466 kB) Collecting pycparser Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.22-py3-none-any.whl (117 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: subprocess-exited-with-error × Building wheel for cryptography (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [306 lines of output] :15: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/cryptography copying src/cryptography/fernet.py -> build/lib.linux-aarch64-cpython-311/cryptography copying src/cryptography/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography copying src/cryptography/__about__.py -> build/lib.linux-aarch64-cpython-311/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-aarch64-cpython-311/cryptography copying src/cryptography/utils.py -> build/lib.linux-aarch64-cpython-311/cryptography creating build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/ocsp.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-aarch64-cpython-311/cryptography/x509 creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat copying src/cryptography/hazmat/_oid.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat copying src/cryptography/hazmat/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/bindings/openssl creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/serialization creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/ciphers creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/twofactor creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/primitives/kdf creating build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-aarch64-cpython-311/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-aarch64-cpython-311/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 matching '*' found under directory 'vectors' adding license file 'LICENSE' adding license file 'LICENSE.APACHE' adding license file 'LICENSE.BSD' adding license file 'AUTHORS.rst' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' running build_ext generating cffi module 'build/temp.linux-aarch64-cpython-311/_padding.c' creating build/temp.linux-aarch64-cpython-311 generating cffi module 'build/temp.linux-aarch64-cpython-311/_constant_time.c' generating cffi module 'build/temp.linux-aarch64-cpython-311/_openssl.c' building '_openssl' extension creating build/temp.linux-aarch64-cpython-311/build creating build/temp.linux-aarch64-cpython-311/build/temp.linux-aarch64-cpython-311 aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c build/temp.linux-aarch64-cpython-311/_openssl.c -o build/temp.linux-aarch64-cpython-311/build/temp.linux-aarch64-cpython-311/_openssl.o -Wconversion -Wno-error=sign-conversion build/temp.linux-aarch64-cpython-311/_openssl.c:2286:7: error: ‘EVP_PKEY_CTX_set_rsa_oaep_md’ redeclared as different kind of symbol 2286 | int (*EVP_PKEY_CTX_set_rsa_oaep_md)(EVP_PKEY_CTX *, EVP_MD *) = NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ct.h:29, from build/temp.linux-aarch64-cpython-311/_openssl.c:643: /usr/include/openssl/rsa.h:158:5: note: previous declaration of ‘EVP_PKEY_CTX_set_rsa_oaep_md’ with type ‘int(EVP_PKEY_CTX *, const EVP_MD *)’ {aka ‘int(struct evp_pkey_ctx_st *, const struct evp_md_st *)’} 158 | int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c:2293:7: error: ‘EVP_PKEY_CTX_set0_rsa_oaep_label’ redeclared as different kind of symbol 2293 | int (*EVP_PKEY_CTX_set0_rsa_oaep_label)(EVP_PKEY_CTX *, unsigned char *, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:164:5: note: previous declaration of ‘EVP_PKEY_CTX_set0_rsa_oaep_label’ with type ‘int(EVP_PKEY_CTX *, void *, int)’ {aka ‘int(struct evp_pkey_ctx_st *, void *, int)’} 164 | int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘Cryptography_pem_password_cb’: build/temp.linux-aarch64-cpython-311/_openssl.c:3050:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 3050 | memcpy(buf, st->password, st->length); | ~~^~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_DISABLE’: build/temp.linux-aarch64-cpython-311/_openssl.c:6934:12: error: ‘CRYPTO_MEM_CHECK_DISABLE’ undeclared (first use in this function); did you mean ‘_cffi_const_CRYPTO_MEM_CHECK_DISABLE’? 6934 | int n = (CRYPTO_MEM_CHECK_DISABLE) <= 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ | _cffi_const_CRYPTO_MEM_CHECK_DISABLE build/temp.linux-aarch64-cpython-311/_openssl.c:6934:12: note: each undeclared identifier is reported only once for each function it appears in build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_ENABLE’: build/temp.linux-aarch64-cpython-311/_openssl.c:6941:12: error: ‘CRYPTO_MEM_CHECK_ENABLE’ undeclared (first use in this function); did you mean ‘_cffi_const_CRYPTO_MEM_CHECK_ENABLE’? 6941 | int n = (CRYPTO_MEM_CHECK_ENABLE) <= 0; | ^~~~~~~~~~~~~~~~~~~~~~~ | _cffi_const_CRYPTO_MEM_CHECK_ENABLE build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_OFF’: build/temp.linux-aarch64-cpython-311/_openssl.c:6948:12: error: ‘CRYPTO_MEM_CHECK_OFF’ undeclared (first use in this function) 6948 | int n = (CRYPTO_MEM_CHECK_OFF) <= 0; | ^~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_ON’: build/temp.linux-aarch64-cpython-311/_openssl.c:6955:12: error: ‘CRYPTO_MEM_CHECK_ON’ undeclared (first use in this function) 6955 | int n = (CRYPTO_MEM_CHECK_ON) <= 0; | ^~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_const_EVP_R_KEYGEN_FAILURE’: build/temp.linux-aarch64-cpython-311/_openssl.c:7686:12: error: ‘EVP_R_KEYGEN_FAILURE’ undeclared (first use in this function) 7686 | int n = (EVP_R_KEYGEN_FAILURE) <= 0; | ^~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_BIO_s_datagram’: build/temp.linux-aarch64-cpython-311/_openssl.c:12034:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12034 | return BIO_s_datagram(); | ^~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_BIO_s_datagram’: build/temp.linux-aarch64-cpython-311/_openssl.c:12045:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12045 | { result = BIO_s_datagram(); } | ^ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_BIO_s_mem’: build/temp.linux-aarch64-cpython-311/_openssl.c:12060:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12060 | return BIO_s_mem(); | ^~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_BIO_s_mem’: build/temp.linux-aarch64-cpython-311/_openssl.c:12071:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12071 | { result = BIO_s_mem(); } | ^ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_CRYPTO_mem_ctrl’: build/temp.linux-aarch64-cpython-311/_openssl.c:14906:10: warning: implicit declaration of function ‘CRYPTO_mem_ctrl’; did you mean ‘CRYPTO_memcmp’? [-Wimplicit-function-declaration] 14906 | return CRYPTO_mem_ctrl(x0); | ^~~~~~~~~~~~~~~ | CRYPTO_memcmp build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_ERR_GET_FUNC’: build/temp.linux-aarch64-cpython-311/_openssl.c:20543:10: warning: implicit declaration of function ‘ERR_GET_FUNC’; did you mean ‘ERR_GET_LIB’? [-Wimplicit-function-declaration] 20543 | return ERR_GET_FUNC(x0); | ^~~~~~~~~~~~ | ERR_GET_LIB build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_FIPS_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:24980:10: warning: implicit declaration of function ‘FIPS_mode’ [-Wimplicit-function-declaration] 24980 | return FIPS_mode(); | ^~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_FIPS_mode_set’: build/temp.linux-aarch64-cpython-311/_openssl.c:25006:10: warning: implicit declaration of function ‘FIPS_mode_set’ [-Wimplicit-function-declaration] 25006 | return FIPS_mode_set(x0); | ^~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_OCSP_resp_get0_certs’: build/temp.linux-aarch64-cpython-311/_openssl.c:28094:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 28094 | return OCSP_resp_get0_certs(x0); | ^~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_OCSP_resp_get0_certs’: build/temp.linux-aarch64-cpython-311/_openssl.c:28117:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 28117 | { result = OCSP_resp_get0_certs(x0); } | ^ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_CTX_add_extra_chain_cert’: build/temp.linux-aarch64-cpython-311/_openssl.c:34208:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 34208 | return SSL_CTX_add_extra_chain_cert(x0, x1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_CTX_add_extra_chain_cert’: build/temp.linux-aarch64-cpython-311/_openssl.c:34246:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 34246 | { result = SSL_CTX_add_extra_chain_cert(x0, x1); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_CTX_get_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:34676:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 34676 | return SSL_CTX_get_mode(x0); | ^~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_CTX_get_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:34699:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 34699 | { result = SSL_CTX_get_mode(x0); } | ^~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_CTX_get_session_cache_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:34790:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 34790 | return SSL_CTX_get_session_cache_mode(x0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_CTX_get_session_cache_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:34813:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 34813 | { result = SSL_CTX_get_session_cache_mode(x0); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:36449:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 36449 | return SSL_CTX_set_mode(x0, x1); | ^~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c:36449:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:36482:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 36482 | { result = SSL_CTX_set_mode(x0, x1); } | ^~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c:36482:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] In file included from build/temp.linux-aarch64-cpython-311/_openssl.c:807: build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_session_cache_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:36845:45: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 36845 | return SSL_CTX_set_session_cache_mode(x0, x1); | ^~ build/temp.linux-aarch64-cpython-311/_openssl.c:36845:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 36845 | return SSL_CTX_set_session_cache_mode(x0, x1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_session_cache_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:36878:49: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 36878 | { result = SSL_CTX_set_session_cache_mode(x0, x1); } | ^~ build/temp.linux-aarch64-cpython-311/_openssl.c:36878:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 36878 | { result = SSL_CTX_set_session_cache_mode(x0, x1); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_tmp_dh’: build/temp.linux-aarch64-cpython-311/_openssl.c:37251:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 37251 | return SSL_CTX_set_tmp_dh(x0, x1); | ^~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_tmp_dh’: build/temp.linux-aarch64-cpython-311/_openssl.c:37289:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 37289 | { result = SSL_CTX_set_tmp_dh(x0, x1); } | ^~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_tmp_ecdh’: build/temp.linux-aarch64-cpython-311/_openssl.c:37304:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 37304 | return SSL_CTX_set_tmp_ecdh(x0, x1); | ^~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_tmp_ecdh’: build/temp.linux-aarch64-cpython-311/_openssl.c:37342:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 37342 | { result = SSL_CTX_set_tmp_ecdh(x0, x1); } | ^~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_SESSION_get_ticket_lifetime_hint’: build/temp.linux-aarch64-cpython-311/_openssl.c:38095:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 38095 | return SSL_SESSION_get_ticket_lifetime_hint(x0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_SESSION_get_ticket_lifetime_hint’: build/temp.linux-aarch64-cpython-311/_openssl.c:38118:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 38118 | { result = SSL_SESSION_get_ticket_lifetime_hint(x0); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_get_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:39511:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 39511 | return SSL_get_mode(x0); | ^~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_get_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:39534:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 39534 | { result = SSL_get_mode(x0); } | ^~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_SSL_set_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:41478:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 41478 | return SSL_set_mode(x0, x1); | ^~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c:41478:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_f_SSL_set_mode’: build/temp.linux-aarch64-cpython-311/_openssl.c:41511:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 41511 | { result = SSL_set_mode(x0, x1); } | ^~~~~~~~~~~~ build/temp.linux-aarch64-cpython-311/_openssl.c:41511:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_EVP_PKEY_CTX_set_rsa_oaep_md’: build/temp.linux-aarch64-cpython-311/_openssl.c:22523:1: warning: control reaches end of non-void function [-Wreturn-type] 22523 | } | ^ build/temp.linux-aarch64-cpython-311/_openssl.c: In function ‘_cffi_d_EVP_PKEY_CTX_set0_rsa_oaep_label’: build/temp.linux-aarch64-cpython-311/_openssl.c:22411:1: warning: control reaches end of non-void function [-Wreturn-type] 22411 | } | ^ error: command '/usr/bin/aarch64-linux-gnu-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 cryptography Failed to build cryptography ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pybluez Downloading PyBluez-0.23.tar.gz (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.6/97.6 kB 1.4 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in PyBluez setup command: use_2to3 is invalid. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. ******************************************************** * Installation terminée * ********************************************************