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 running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-37 creating build/lib.linux-aarch64-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/model.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/error.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/api.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-cpython-37 creating build/temp.linux-aarch64-cpython-37/c aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -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-aarch64-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: setuptools, wheel, pycparser, cffi, semantic-version, typing-extensions, setuptools-rust Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-iffw9jvz/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5040ds2v/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-6muvjd67 --compile: 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 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-aarch64-cpython-37 creating build/lib.linux-aarch64-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/model.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/error.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/api.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-cpython-37 creating build/temp.linux-aarch64-cpython-37/c aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -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-aarch64-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-iffw9jvz/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5040ds2v/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-6muvjd67 --compile" failed with error code 1 in /tmp/pip-install-iffw9jvz/cffi/ ---------------------------------------- Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6muvjd67 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0,!=60.9.0 wheel "cffi>=1.12; platform_python_implementation != 'PyPy'" setuptools-rust>=0.11.4" failed with error code 1 in None + echo 15 + sudo pip3 install --force-reinstall --ignore-installed --upgrade zigpy-zigate Collecting zigpy-zigate Using cached https://files.pythonhosted.org/packages/52/58/0f07b7b0a8bb1ad9d9f11f8f1e3b9737388c65696742e77c3ebfff77c4e9/zigpy-zigate-0.8.0.tar.gz Collecting pyserial>=3.5 (from zigpy-zigate) Using cached https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl Collecting pyusb>=1.1.0 (from zigpy-zigate) Using cached https://files.pythonhosted.org/packages/15/a8/4982498b2ab44d1fcd5c49f07ea3795eab01601dc143b009d333fcace3b9/pyusb-1.2.1-py3-none-any.whl Collecting zigpy>=0.22.2 (from zigpy-zigate) Using cached https://files.pythonhosted.org/packages/74/39/7f29b9bdc218fb8b1fc8af0b9569c36be59d52965a7b960b19789664dff1/zigpy-0.45.1-py3-none-any.whl Collecting pyserial-asyncio>=0.5 (from zigpy-zigate) Using cached https://files.pythonhosted.org/packages/27/24/c820cf15f87f7b164e83710c1852d4f900d9793961579e5ef64189bc0c10/pyserial_asyncio-0.6-py3-none-any.whl Collecting cryptography (from zigpy>=0.22.2->zigpy-zigate) Using cached https://files.pythonhosted.org/packages/d7/88/067fcf5fd8db191b9e617bcc0effa1caacfc96acca987724535129aff487/cryptography-37.0.0.tar.gz Installing build dependencies: started Installing build dependencies: finished with status 'error' Complete output from command /usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-vegxbzil --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0,!=60.9.0 wheel "cffi>=1.12; platform_python_implementation != 'PyPy'" setuptools-rust>=0.11.4: Collecting setuptools!=60.9.0,>=40.6.0 Using cached https://files.pythonhosted.org/packages/fb/58/9efbfe68482dab9557c49d433a60fff9efd7ed8835f829eba8297c2c124a/setuptools-62.1.0-py3-none-any.whl Collecting wheel Using cached https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl Collecting cffi>=1.12 Using cached https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz Collecting setuptools-rust>=0.11.4 Using cached https://files.pythonhosted.org/packages/be/19/a9356aac40b2432cd159264be98843af062877ff27422cdd7cf023828835/setuptools_rust-1.3.0-py3-none-any.whl Collecting pycparser (from cffi>=1.12) Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4) Using cached https://files.pythonhosted.org/packages/64/ac/df31047966c4d0293e7bd16276ebc9f6654de36ad8e19061a09369380c0a/semantic_version-2.9.0-py2.py3-none-any.whl Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4) Using cached https://files.pythonhosted.org/packages/75/e1/932e06004039dd670c9d5e1df0cd606bf46e29a28e65d5bb28e894ea29c9/typing_extensions-4.2.0-py3-none-any.whl Building wheels for collected packages: cffi Running setup.py bdist_wheel for cffi: started Running setup.py bdist_wheel for cffi: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-abp8ddxy/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-r9gxhf6c --python-tag cp37: 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 running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-37 creating build/lib.linux-aarch64-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/model.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/error.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/api.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-cpython-37 creating build/temp.linux-aarch64-cpython-37/c aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -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-aarch64-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: setuptools, wheel, pycparser, cffi, semantic-version, typing-extensions, setuptools-rust Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-abp8ddxy/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-jaxutael/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-vegxbzil --compile: 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 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-aarch64-cpython-37 creating build/lib.linux-aarch64-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/model.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/error.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/api.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-cpython-37 creating build/temp.linux-aarch64-cpython-37/c aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -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-aarch64-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-abp8ddxy/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-jaxutael/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-vegxbzil --compile" failed with error code 1 in /tmp/pip-install-abp8ddxy/cffi/ ---------------------------------------- Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-vegxbzil --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0,!=60.9.0 wheel "cffi>=1.12; platform_python_implementation != 'PyPy'" setuptools-rust>=0.11.4" failed with error code 1 in None + echo 16 + sudo pip3 install --force-reinstall --ignore-installed --upgrade bellows Collecting bellows Using cached https://files.pythonhosted.org/packages/13/9e/7b4be0d116b81223c544210a41dcca8b36fa3b5f70cc1afb9e09937750fb/bellows-0.29.0-py3-none-any.whl Collecting pyserial-asyncio (from bellows) Using cached https://files.pythonhosted.org/packages/27/24/c820cf15f87f7b164e83710c1852d4f900d9793961579e5ef64189bc0c10/pyserial_asyncio-0.6-py3-none-any.whl Collecting pyserial (from bellows) Using cached https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl Collecting pure-pcapy3==1.0.1 (from bellows) Using cached https://files.pythonhosted.org/packages/82/09/37b4f0200cd8ad359c553ac87cd068fe7cebb24f00e59ee0f5218f14b389/pure-pcapy3-1.0.1.tar.gz Collecting zigpy>=0.37.0 (from bellows) Using cached https://files.pythonhosted.org/packages/74/39/7f29b9bdc218fb8b1fc8af0b9569c36be59d52965a7b960b19789664dff1/zigpy-0.45.1-py3-none-any.whl Collecting click (from bellows) Using cached https://files.pythonhosted.org/packages/a0/66/c8196ad693d62384d8e800e5bd27434a64c0057fe169b61c69a73f1614a8/click-8.1.2-py3-none-any.whl Collecting click-log>=0.2.1 (from bellows) Using cached https://files.pythonhosted.org/packages/ae/5a/4f025bc751087833686892e17e7564828e409c43b632878afeae554870cd/click_log-0.4.0-py2.py3-none-any.whl Collecting voluptuous (from bellows) Using cached https://files.pythonhosted.org/packages/a7/68/927add5dfd55a0d666ffc8939ff4390b76ca3ffbc36c12369f9a034393cb/voluptuous-0.13.1-py3-none-any.whl Collecting setuptools (from pure-pcapy3==1.0.1->bellows) Using cached https://files.pythonhosted.org/packages/fb/58/9efbfe68482dab9557c49d433a60fff9efd7ed8835f829eba8297c2c124a/setuptools-62.1.0-py3-none-any.whl Collecting crccheck (from zigpy>=0.37.0->bellows) Using cached https://files.pythonhosted.org/packages/28/74/bf0868042e5e48fa131997503c83f77fabb11a0ea16d44faf79533c789be/crccheck-1.1-py3-none-any.whl Collecting cryptography (from zigpy>=0.37.0->bellows) Using cached https://files.pythonhosted.org/packages/d7/88/067fcf5fd8db191b9e617bcc0effa1caacfc96acca987724535129aff487/cryptography-37.0.0.tar.gz Installing build dependencies: started Installing build dependencies: finished with status 'error' Complete output from command /usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-gmzrwx2h --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0,!=60.9.0 wheel "cffi>=1.12; platform_python_implementation != 'PyPy'" setuptools-rust>=0.11.4: Collecting setuptools!=60.9.0,>=40.6.0 Using cached https://files.pythonhosted.org/packages/fb/58/9efbfe68482dab9557c49d433a60fff9efd7ed8835f829eba8297c2c124a/setuptools-62.1.0-py3-none-any.whl Collecting wheel Using cached https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl Collecting cffi>=1.12 Using cached https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz Collecting setuptools-rust>=0.11.4 Using cached https://files.pythonhosted.org/packages/be/19/a9356aac40b2432cd159264be98843af062877ff27422cdd7cf023828835/setuptools_rust-1.3.0-py3-none-any.whl Collecting pycparser (from cffi>=1.12) Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4) Using cached https://files.pythonhosted.org/packages/75/e1/932e06004039dd670c9d5e1df0cd606bf46e29a28e65d5bb28e894ea29c9/typing_extensions-4.2.0-py3-none-any.whl Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4) Using cached https://files.pythonhosted.org/packages/64/ac/df31047966c4d0293e7bd16276ebc9f6654de36ad8e19061a09369380c0a/semantic_version-2.9.0-py2.py3-none-any.whl Building wheels for collected packages: cffi Running setup.py bdist_wheel for cffi: started Running setup.py bdist_wheel for cffi: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qrecfqlm/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-crw50e8h --python-tag cp37: 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 running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-37 creating build/lib.linux-aarch64-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/model.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/error.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/api.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-cpython-37 creating build/temp.linux-aarch64-cpython-37/c aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -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-aarch64-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: setuptools, wheel, pycparser, cffi, typing-extensions, semantic-version, setuptools-rust Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qrecfqlm/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-bgp5dx1b/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-gmzrwx2h --compile: 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 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-aarch64-cpython-37 creating build/lib.linux-aarch64-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/model.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/error.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/api.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-cpython-37 creating build/temp.linux-aarch64-cpython-37/c aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -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-aarch64-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qrecfqlm/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-bgp5dx1b/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-gmzrwx2h --compile" failed with error code 1 in /tmp/pip-install-qrecfqlm/cffi/ ---------------------------------------- Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-gmzrwx2h --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0,!=60.9.0 wheel "cffi>=1.12; platform_python_implementation != 'PyPy'" setuptools-rust>=0.11.4" failed with error code 1 in None + echo 17 + sudo pip3 install --force-reinstall --ignore-installed --upgrade xmodem Collecting xmodem Installing collected packages: xmodem Successfully installed xmodem-0.4.6 + echo 18 + sudo chmod +x /var/www/html/core/class/../../plugins/zigbee/resources/post-install.sh + sudo /var/www/html/core/class/../../plugins/zigbee/resources/post-install.sh Launch install of zigbee dependancy grep: /usr/local/lib/python3.7/dist-packages/bellows/zigbee/application.py: No such file or directory /var/www/html/core/class/../../plugins/zigbee/resources/post-install.sh: line 24: [: -eq: unary operator expected Everything is successfully installed! + echo 19 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zigbee + rm /tmp/jeedom_install_in_progress_zigbee + echo '*******************End of package installation******************' *******************End of package installation******************