L'installation des dépendances ne fonctionne pas

Bonjour,
Mon plugin ne fonctionne plus depuis 2j quand j’ai fait la mise à jour du core 4.2.19 + la mise à jour de zigbee.

Malgrès l’installation de la mise à jour aujourd’hui de zigbee 2022-06-23 15:19:08, cela ne fonctionne toujours pas.

L’installation des dépendances recommence sans cesse.

Voici le log zigbee_packages:

        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/api.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/lock.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: No such file or directory
             #include <ffi.h>
                      ^~~~~~~
            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 voluptuous
  Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
Collecting click-log>=0.2.1
  Using cached click_log-0.4.0-py2.py3-none-any.whl (4.3 kB)
Collecting pyserial
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting click
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting zigpy>=0.37.0
  Using cached zigpy-0.47.0-py3-none-any.whl (150 kB)
Collecting pyserial-asyncio
  Using cached pyserial_asyncio-0.6-py3-none-any.whl (7.6 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 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/api.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/lock.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: No such file or directory
             #include <ffi.h>
                      ^~~~~~~
            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/api.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/lock.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: No such file or directory
             #include <ffi.h>
                      ^~~~~~~
            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
  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/api.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/lock.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: No such file or directory
             #include <ffi.h>
                      ^~~~~~~
            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/api.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi
            copying cffi/lock.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: No such file or directory
             #include <ffi.h>
                      ^~~~~~~
            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 18
+ sudo pip3 install --force-reinstall --upgrade xmodem
Collecting xmodem
  Using cached xmodem-0.4.6-py3-none-any.whl
Installing collected packages: xmodem
  Attempting uninstall: xmodem
    Found existing installation: xmodem 0.4.6
    Uninstalling xmodem-0.4.6:
      Successfully uninstalled xmodem-0.4.6
Successfully installed xmodem-0.4.6
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
+ echo 19
+ sudo pip3 install --force-reinstall --upgrade pycrypto
Collecting pycrypto
  Using cached pycrypto-2.6.1-cp37-cp37m-linux_armv7l.whl
Installing collected packages: pycrypto
  Attempting uninstall: pycrypto
    Found existing installation: pycrypto 2.6.1
    Uninstalling pycrypto-2.6.1:
      Successfully uninstalled pycrypto-2.6.1
Successfully installed pycrypto-2.6.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
+ echo 20
+ sudo pip3 install --force-reinstall --upgrade charset-normalizer==2.0.12
Collecting charset-normalizer==2.0.12
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Installing collected packages: charset-normalizer
  Attempting uninstall: charset-normalizer
    Found existing installation: charset-normalizer 2.0.12
    Uninstalling charset-normalizer-2.0.12:
      Successfully uninstalled charset-normalizer-2.0.12
Successfully installed charset-normalizer-2.0.12
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
+ echo 21
+ 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 post-install of zigbee dependancy
Everything is successfully installed!
+ echo 22
+ 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******************

Je vous invite a voir les nombreux poste qui traite du même sujet.

1 « J'aime »

Commencez ici:

Bonjour,

Oui j’ai lu les différents post à ce sujet avant d’ouvrir le mien, mais aucune des solutions proposées n’ont fonctionné pour le moment. J’ai ouvert mon propre post si jamais il y a des personnes compétentes dans Linux qui pourraient peut-être m’éclairer.

++++

Bonjour, oui j’ai lu ce post, mais en effet j’ai les dépendances qui freeze mais il semblerait que ce n’est pas pas le même problème. J’ai vue des post avec des problèmes d’installation de dépendances résolus donc j’ouvre le mien, c’est-on jamais et je ne suis pas pressé je n’est pas grand chose pour le moment en zigbee.

@+++

Merci pour ton ouverture de post.
En effet, comme toi, j’ai lu et appliqué un peu tout ce que Loïc proposait, sans succès, je reste sur un NOK, l’installation des dépendances qui tourne en boucle.

Utilisation des différentes commandes indiquées par Loic, passage au plugin zigbee beta avant la mise à jour du plugin stable. Installation du rustc et cargo, redémarrages… rien n’y fait !

J’ai l’impression d’avoir un log assez similaire au tient :

zigbee_packages (2).txt (41,0 Ko)

Sauf que j’ai les 3/4 de mes équipements en Zigbee, donc ma domotique en prend un sérieux coup, sans parler du facteur WAF… :zipper_mouth_face:
Dernier recours, je pense réinstaller mon jeedom de 0 sur mon RPI4 dès que j’en aurais le temps… et la motivation.
Donc si une solution se présente avant, ça m’aiderait bien :innocent:

Bonjour,

Je suis dans la même situation avec un log très similaire.

zigbee_packages.txt (29,3 Ko)
Je vais suivre ce sujet, bonne chance :slight_smile:

La malheureusement ça je sais pas corrigé seul moyen resinstaller l’os et remette votre backup de jeedom

C’est noté.
Merci en tout cas pour la prise en compte et la réponse :wink:

Essaye :

sudo apt install --fix-broken
sudo apt-get update
sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Puis relance les dépendances et les différents fix proposé par Loïc.

1 « J'aime »

Je te remercie, ça refonctionne maintenant !!
Je suis passé au travers de cette erreur dans le log :frowning:
Merci beaucoup :wink:

1 « J'aime »

@Deepee, @Duvid, ça corrige pour vous aussi ?

J’ai vu le post juste avant de formater mon disque SSD du RPI4…
j’avais lancé la commande proposée, puis commencé a exécuter les rustines de Loic.
ça prenait du temps… et comme je m’étais conditionné, j’ai tout stoppé pour refaire mon installation propre de 0.
Depuis pas de souci, pour Zigbee suite à réinstallation du système et du backup d’avant le souci, mais sans les lignes de commande du coup.

Par contre, puisque je suis passé en debian 11 avec RaspberryPi Imager, j’ai un souci avec le plugin eWejee qui ne semble pas compatible…
Résolution d’un pb, apparition d’un autre… ! :crazy_face:

Pour être au propre pour les prochaines MAJ, je suis repassé en buster.
J’commence à bien maitriser la réinstallation de l’OS et jeedom :roll_eyes:

Je n’ai pas encore essayé, j’ai simplement chargé un backup total de mon rpi de février puis le dernier backup jeedom.

Je test ce soir.

Pas d’urgence, c’est plus pour toi.
Si ça tourne attend d’avoir vraiment besoin de faire la mise à jour :wink:

Oui mais par respect pour le temps que tu as passé à nous aider je préfères essayer :slightly_smiling_face:

Et ca a fonctionné merci !
Mais avec des étapes supplémentaires :

Le fix de Loïc me retournait cette erreur :
Capture d’écran 2022-06-27 224015

J’ai passé ces deux commandes :

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt -y install rustc

Ensuite le fix a fonctionné malgré une nouvelle erreur (voir plus bas), les dépendances se sont installées, le démon est en route.

L’erreur rencontré :
Capture d’écran 2022-06-27 222258

Mais comme tout est opérationnel j’ai pas trop envie d’y toucher…

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.