No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type #include ^~~~~~~ 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: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. + echo 14 + sudo pip3 install --force-reinstall --upgrade zigpy-deconz==0.16.0 Collecting zigpy-deconz==0.16.0 Using cached zigpy_deconz-0.16.0-py3-none-any.whl (30 kB) Collecting pyserial-asyncio Using cached pyserial_asyncio-0.6-py3-none-any.whl (7.6 kB) Collecting zigpy>=0.40.0 Using cached zigpy-0.47.0-py3-none-any.whl (150 kB) Collecting crccheck Using cached crccheck-1.1-py3-none-any.whl (29 kB) Collecting cryptography Using cached cryptography-37.0.2.tar.gz (585 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [166 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Using cached cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Using cached setuptools_rust-1.3.0-py3-none-any.whl (21 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting typing-extensions>=3.7.4.3 Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB) Collecting semantic-version<3,>=2.8.2 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [58 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type #include ^~~~~~~ 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 cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' error: subprocess-exited-with-error × Running setup.py install for cffi did not run successfully. │ exit code: 1 ╰─> [60 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type #include ^~~~~~~ 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: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. + echo 15 + sudo pip3 install --force-reinstall --upgrade zigpy-zigate==0.8.0 Collecting zigpy-zigate==0.8.0 Using cached zigpy-zigate-0.8.0.tar.gz (37 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pyserial>=3.5 Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB) Collecting pyusb>=1.1.0 Using cached pyusb-1.2.1-py3-none-any.whl (58 kB) Collecting zigpy>=0.22.2 Using cached zigpy-0.47.0-py3-none-any.whl (150 kB) Collecting pyserial-asyncio>=0.5 Using cached pyserial_asyncio-0.6-py3-none-any.whl (7.6 kB) Collecting aiosqlite>=0.16.0 Using cached aiosqlite-0.17.0-py3-none-any.whl (15 kB) Collecting voluptuous Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB) Collecting crccheck Using cached crccheck-1.1-py3-none-any.whl (29 kB) Collecting aiohttp Using cached aiohttp-3.8.1.tar.gz (7.3 MB) 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' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting cryptography Using cached cryptography-37.0.2.tar.gz (585 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [166 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Using cached cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Using cached setuptools_rust-1.3.0-py3-none-any.whl (21 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting semantic-version<3,>=2.8.2 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting typing-extensions>=3.7.4.3 Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [58 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type #include ^~~~~~~ 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 cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' error: subprocess-exited-with-error × Running setup.py install for cffi did not run successfully. │ exit code: 1 ╰─> [60 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type #include ^~~~~~~ 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: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. + echo 16 + sudo pip3 install --force-reinstall --upgrade bellows==0.30.0 Collecting bellows==0.30.0 Using cached bellows-0.30.0-py3-none-any.whl (171 kB) Collecting pyserial-asyncio Using cached pyserial_asyncio-0.6-py3-none-any.whl (7.6 kB) Collecting click-log>=0.2.1 Using cached click_log-0.4.0-py2.py3-none-any.whl (4.3 kB) Collecting click Using cached click-8.1.3-py3-none-any.whl (96 kB) Collecting voluptuous Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB) Collecting zigpy>=0.37.0 Using cached zigpy-0.47.0-py3-none-any.whl (150 kB) Collecting pyserial Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB) Collecting pure-pcapy3==1.0.1 Using cached pure-pcapy3-1.0.1.tar.gz (5.9 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB) Collecting aiohttp Using cached aiohttp-3.8.1.tar.gz (7.3 MB) 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' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting crccheck Using cached crccheck-1.1-py3-none-any.whl (29 kB) Collecting cryptography Using cached cryptography-37.0.2.tar.gz (585 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [166 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Using cached cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Using cached setuptools_rust-1.3.0-py3-none-any.whl (21 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting typing-extensions>=3.7.4.3 Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB) Collecting semantic-version<3,>=2.8.2 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [58 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type #include ^~~~~~~ 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 cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' error: subprocess-exited-with-error × Running setup.py install for cffi did not run successfully. │ exit code: 1 ╰─> [60 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type #include ^~~~~~~ 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: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. + echo 17 + sudo pip3 install --force-reinstall --upgrade zigpy==0.46.0 Collecting zigpy==0.46.0 Using cached zigpy-0.46.0-py3-none-any.whl (146 kB) Collecting cryptography Using cached cryptography-37.0.2.tar.gz (585 kB) Installing build dependencies: started