Plantage Zigbee2mqtt (dans ZigbeeLinker) suite au passage en version 2.7.0

Parcontre ce que je ne comprend pas c’est qu’il y a detection d’une ancienne de version de mosquitto (0.4), donc il force la réinstall, mais réinstall la 0.44 quand meme:

#######################################################
#  INSTALL : Zigbee2MQTT + Client MQTT + Server MQTT  #
#######################################################
##### apt-get update in progress
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease
Reading package lists...
#######################################################
##### Install Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:10.2.1-1).
gcc is already the newest version (4:10.2.1-1).
make is already the newest version (4.3-4.1).
git is already the newest version (1:2.30.2-1+deb11u5).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
#######################################################
##### Install libsystemd-dev
Reading package lists...
Building dependency tree...
Reading state information...
libsystemd-dev is already the newest version (247.3-7+deb11u7).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
#####            Zigbee2MQTT 1/2                      #
#######################################################
##### Z2M VERSION to install : master
##### Z2M INSTALL DIR : /opt/zigbee2mqtt
##### Z2M DATA DIR : /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt
#######################################################
##### Remove Zigbee2mqtt service
##### Download Zigbee2MQTT from git
Cloning into '/opt/zigbee2mqtt'...
#######################################################
##### Install or update NodeJs
NodeJs 22 already installed : Nothing to do !
####### Installation de pnpm@10.18.3
changed 1 package in 3s
1 package is looking for funding
run `npm fund` for details
#######################################################
#    INSTALLING : Mosquitto (server)                  #
#######################################################
Reading package lists...
Building dependency tree...
Reading state information...
mosquitto is already the newest version (2.0.11-1+deb11u2).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
#######################################################
#    INSTALLING : Client MQTT                         #
#######################################################
Mosquitto for Php is already installed, checking version...
Detected version: 0.4.0
Mosquitto-PHP version 0.4.0 is outdated (< 0.5.0), forcing reinstall.
#######################################################
##### Install client dependency
Reading package lists...
Building dependency tree...
Reading state information...
php-pear is already the newest version (1:1.10.12+submodules+notgz+20210212-1).
libmosquitto-dev is already the newest version (2.0.11-1+deb11u2).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
php7.4-dev is already the newest version (7.4.33-1+deb11u10).
php7.4-xml is already the newest version (7.4.33-1+deb11u10).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
#######################################################
##### Try installing client : First method
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading Mosquitto-0.4.0.tgz ...
Starting to download Mosquitto-0.4.0.tgz (23,804 bytes)
........done: 23,804 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
Please provide the prefix of the libmosquitto installation [autodetect] : building in /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0
running: /tmp/pear/temp/Mosquitto/configure --with-php-config=/usr/bin/php-config --with-mosquitto
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20190902
checking for PHP installed headers prefix... /usr/include/php/20190902
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for mosquitto support... yes, shared
checking for mosquitto files in default path... checking /usr... found in /usr
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/Mosquitto/mosquitto.c -o mosquitto.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/Mosquitto/mosquitto.c  -fPIC -DPIC -o .libs/mosquitto.o
/bin/bash /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/Mosquitto/mosquitto_message.c -o mosquitto_message.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/Mosquitto/mosquitto_message.c  -fPIC -DPIC -o .libs/mosquitto_message.o
In file included from /usr/include/php/20190902/Zend/zend.h:355,
from /usr/include/php/20190902/main/php.h:34,
from /tmp/pear/temp/Mosquitto/mosquitto_message.c:5:
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'php_mosquitto_message_read_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/pear/temp/Mosquitto/mosquitto_message.c:292:36: note: in expansion of macro 'zend_get_std_object_handlers'
292 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'php_mosquitto_message_write_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/pear/temp/Mosquitto/mosquitto_message.c:332:36: note: in expansion of macro 'zend_get_std_object_handlers'
332 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'php_mosquitto_message_has_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/pear/temp/Mosquitto/mosquitto_message.c:392:36: note: in expansion of macro 'zend_get_std_object_handlers'
392 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'zm_startup_mosquitto_message':
/tmp/pear/temp/Mosquitto/mosquitto_message.c:564:51: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
564 |  mosquitto_message_object_handlers.write_property = php_mosquitto_message_write_property;
|                                                   ^
/bin/bash /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2    -o mosquitto.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/modules  mosquitto.lo mosquitto_message.lo -lmosquitto
libtool: link: cc -shared  -fPIC -DPIC  .libs/mosquitto.o .libs/mosquitto_message.o   -lmosquitto  -g -O2   -Wl,-soname -Wl,mosquitto.so -o .libs/mosquitto.so
libtool: link: ( cd ".libs" && rm -f "mosquitto.la" && ln -s "../mosquitto.la" "mosquitto.la" )
/bin/bash /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/libtool --mode=install cp ./mosquitto.la /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/modules
libtool: install: cp ./.libs/mosquitto.so /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/modules/mosquitto.so
libtool: install: cp ./.libs/mosquitto.lai /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/modules/mosquitto.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/modules
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/pear/temp/pear-build-rootpPbpAA/Mosquitto-0.4.0/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0" install
Installing shared extensions:     /tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0/usr/lib/php/20190902/
running: find "/tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0" | xargs ls -dils
2504924   4 drwxr-xr-x 3 root root   4096 Mar 31 17:54 /tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0
2504947   4 drwxr-xr-x 3 root root   4096 Mar 31 17:54 /tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0/usr
2504948   4 drwxr-xr-x 3 root root   4096 Mar 31 17:54 /tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0/usr/lib
2504949   4 drwxr-xr-x 3 root root   4096 Mar 31 17:54 /tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0/usr/lib/php
2504950   4 drwxr-xr-x 2 root root   4096 Mar 31 17:54 /tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0/usr/lib/php/20190902
2504946 200 -rwxr-xr-x 1 root root 200824 Mar 31 17:54 /tmp/pear/temp/pear-build-rootpPbpAA/install-Mosquitto-0.4.0/usr/lib/php/20190902/mosquitto.so
Build process completed successfully
Installing '/usr/lib/php/20190902/mosquitto.so'
install ok: channel://pecl.php.net/Mosquitto-0.4.0
configuration option "php_ini" is not set to php.ini location
You should add "extension=mosquitto.so" to php.ini
./install_mqttcli.sh: line 252: 2917099 Done                    sudo printf "\n"
2917100 Segmentation fault      | pecl install Mosquitto-alpha
#######################################################
##### Try installing client : Second method (complile)
#######################################################
#### Désinstallation de mosquitto PECL
Unable to remove "extension=mosquitto.so" from php.ini
uninstall ok: channel://pecl.php.net/Mosquitto-0.4.0
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
### Clone https://github.com/mgdm/Mosquitto-PHP
Cloning into 'Mosquitto-PHP'...
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20190902
checking for PHP installed headers prefix... /usr/include/php/20190902
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for mosquitto support... yes, shared
checking for mosquitto files in default path... checking /usr... found in /usr
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=compile cc  -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Mosquitto-PHP/mosquitto.c -o mosquitto.lo
libtool: compile:  cc -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/Mosquitto-PHP/mosquitto.c  -fPIC -DPIC -o .libs/mosquitto.o
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=compile cc  -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Mosquitto-PHP/mosquitto_message.c -o mosquitto_message.lo
libtool: compile:  cc -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/Mosquitto-PHP/mosquitto_message.c  -fPIC -DPIC -o .libs/mosquitto_message.o
In file included from /usr/include/php/20190902/Zend/zend.h:355,
from /usr/include/php/20190902/main/php.h:34,
from /tmp/Mosquitto-PHP/mosquitto_message.c:5:
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'php_mosquitto_message_read_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/Mosquitto-PHP/mosquitto_message.c:292:36: note: in expansion of macro 'zend_get_std_object_handlers'
292 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'php_mosquitto_message_write_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/Mosquitto-PHP/mosquitto_message.c:332:36: note: in expansion of macro 'zend_get_std_object_handlers'
332 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'php_mosquitto_message_has_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/Mosquitto-PHP/mosquitto_message.c:392:36: note: in expansion of macro 'zend_get_std_object_handlers'
392 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'zm_startup_mosquitto_message':
/tmp/Mosquitto-PHP/mosquitto_message.c:564:51: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
564 |  mosquitto_message_object_handlers.write_property = php_mosquitto_message_write_property;
|                                                   ^
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2    -o mosquitto.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/Mosquitto-PHP/modules  mosquitto.lo mosquitto_message.lo -lmosquitto
libtool: link: cc -shared  -fPIC -DPIC  .libs/mosquitto.o .libs/mosquitto_message.o   -lmosquitto  -g -O2   -Wl,-soname -Wl,mosquitto.so -o .libs/mosquitto.so
libtool: link: ( cd ".libs" && rm -f "mosquitto.la" && ln -s "../mosquitto.la" "mosquitto.la" )
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=install cp ./mosquitto.la /tmp/Mosquitto-PHP/modules
libtool: install: cp ./.libs/mosquitto.so /tmp/Mosquitto-PHP/modules/mosquitto.so
libtool: install: cp ./.libs/mosquitto.lai /tmp/Mosquitto-PHP/modules/mosquitto.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /tmp/Mosquitto-PHP/modules
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/Mosquitto-PHP/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions:     /usr/lib/php/20190902/
#######################################################
##### Inject Mosquitto Client into PHP
#######################################################
##### Restarting Apache
#######################################################
##### Congrat ! Client MQTT now installed.
#######################################################
#####            Zigbee2MQTT 2/2                      #
#######################################################
##### Compile Zigbee2MQTT                             #
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +270
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 270, reused 235, downloaded 0, added 0
Progress: resolved 270, reused 270, downloaded 0, added 165
Progress: resolved 270, reused 270, downloaded 0, added 270, done
dependencies:
+ ajv 8.18.0
+ bind-decorator 1.0.11
+ debounce 3.0.0
+ express-static-gzip 3.0.0
+ fast-deep-equal 3.1.3
+ finalhandler 2.1.1
+ humanize-duration 3.33.2
+ js-yaml 4.1.1
+ json-stable-stringify-without-jsonify 1.0.1
+ jszip 3.10.1
+ mqtt 5.15.0
+ object-assign-deep 0.4.0
+ rimraf 6.1.3
+ semver 7.7.4
+ source-map-support 0.5.21
+ throttleit 2.1.0
+ winston 3.19.0
+ winston-syslog 2.7.1
+ winston-transport 4.9.0
+ ws 8.19.0
+ zigbee-herdsman 9.0.9
+ zigbee-herdsman-converters 26.12.0
+ zigbee2mqtt-frontend 0.9.21
+ zigbee2mqtt-windfront 2.9.2
optionalDependencies:
+ unix-dgram 2.0.7
devDependencies:
+ @biomejs/biome 2.4.4
+ @types/finalhandler 1.2.4
+ @types/humanize-duration 3.27.4
+ @types/js-yaml 4.0.9
+ @types/node 24.11.0
+ @types/object-assign-deep 0.4.3
+ @types/readable-stream 4.0.23
+ @types/serve-static 2.2.0
+ @types/ws 8.18.1
+ @vitest/coverage-v8 3.2.4
+ tmp 0.2.5
+ typescript 5.9.3
+ vitest 3.2.4
Done in 9s using pnpm v10.18.3
> zigbee2mqtt@2.9.1 build /opt/zigbee2mqtt
> tsc && node index.js writehash
##### Configure Zigbee2MQTT
#######################################################
#                         END                         #
#######################################################

Mince, tu es en quel php ?

EDIT : 7.4 je vois

j’ai mis à jour en béta sans le test php8, tu peux mettre à jour et essayer de l’installer : on verra bien si ça passe ou non.

1 « J'aime »

[2026-03-31 19:55:06] INFO  ##### Synchronisation du temps avant l'installation des dépendances...
[2026-03-31 19:55:14] INFO  ##### Synchronisation du temps terminée, lancement des dépendances.
[2026-03-31 19:55:15] INFO  ##### Synchronisation du temps terminée, lancement des dépendances.
#######################################################
#  INSTALL : Zigbee2MQTT + Client MQTT + Server MQTT  #
#######################################################
##### apt-get update in progress
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease
Reading package lists...
#######################################################
##### Install Git
Reading package lists...
Building dependency tree...#######################################################
#  INSTALL : Zigbee2MQTT + Client MQTT + Server MQTT  #
#######################################################
##### apt-get update in progress
Atteint :1 http://security.debian.org/debian-security bullseye-security InRelease
Atteint :2 http://deb.debian.org/debian bullseye InRelease
Atteint :3 http://deb.debian.org/debian bullseye-updates InRelease
Reading state information...
Atteint :4 https://deb.nodesource.com/node_22.x nodistro InRelease
g++ is already the newest version (4:10.2.1-1).
gcc is already the newest version (4:10.2.1-1).
make is already the newest version (4.3-4.1).
git is already the newest version (1:2.30.2-1+deb11u5).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
#######################################################
##### Install libsystemd-dev
Reading package lists...
Building dependency tree...
Reading state information...
libsystemd-dev is already the newest version (247.3-7+deb11u7).
The following packages were automatically installed and are no longer required:
libqt5sql5 libqt5sql5-sqlite
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Lecture des listes de paquets…Yaml is already installed, nothing to do
#######################################################
#####            Zigbee2MQTT 1/2                      #
#######################################################
##### Z2M VERSION to install : master
##### Z2M INSTALL DIR : /opt/zigbee2mqtt
##### Z2M DATA DIR : /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt
#######################################################
##### Remove Zigbee2mqtt service
##### Download Zigbee2MQTT from git
Cloning into '/opt/zigbee2mqtt'...
#######################################################
##### Install Git
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
g++ est déjà la version la plus récente (4:10.2.1-1).
gcc est déjà la version la plus récente (4:10.2.1-1).
make est déjà la version la plus récente (4.3-4.1).
git est déjà la version la plus récente (1:2.30.2-1+deb11u5).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libqt5sql5 libqt5sql5-sqlite
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
#######################################################
##### Install libsystemd-dev
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
libsystemd-dev est déjà la version la plus récente (247.3-7+deb11u7).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libqt5sql5 libqt5sql5-sqlite
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
#####            Zigbee2MQTT 1/2                      #
#######################################################
##### Z2M VERSION to install : master
##### Z2M INSTALL DIR : /opt/zigbee2mqtt
##### Z2M DATA DIR : /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt
#######################################################
##### Remove Zigbee2mqtt service
##### Download Zigbee2MQTT from git
Clonage dans '/opt/zigbee2mqtt'...
fatal: Unable to read current working directory: No such file or directory
fatal: index-pack failed
error: impossible de verrouiller le fichier de configuration /opt/zigbee2mqtt/.git/config: Aucun fichier ou dossier de ce type
fatal: impossible de régler 'core.repositoryformatversion' à '0'
rm: impossible de supprimer '/tmp/jeedom/zigbee2mqtt/dependance': Aucun fichier ou dossier de ce type

Relances les dépendances un nouveau coup, là c’est pas normale que ça ait bloqué

c’est passé, malheureusement cela crash toujours

tu as bien remis sur PHP MQTT ?
c’est quoi qui crash ? l’installation ?

oui

[2026-03-31 20:23:28] INFO  ############ Démarrage des service ############
[2026-03-31 20:23:28] INFO  ##### Démarrage du service ZigbeeLinker #####
[2026-03-31 20:23:29] INFO  ##### Service ZigbeeLinker démarré #####
[2026-03-31 20:23:30] INFO  ##### Démarrage du service MQTT #####
[2026-03-31 20:23:31] INFO  ##### Démarrage du service MQTT terminé avec succès #####
[2026-03-31 20:23:31] INFO  ##### Démarrage du service Zigbee2MQTT (noblock) #####
[2026-03-31 20:23:32] INFO  ##### Le service Zigbee2MQTT démarre... #####
[2026-03-31 20:23:32] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) #####
[2026-03-31 20:23:32] INFO  ##### Le service Client MQTT ([Aucun][Client MQTT Local]) s'est connecté. #####
[2026-03-31 20:23:32] INFO  [Aucun][Client MQTT Local] : Client MQTT subscribe : #
[2026-03-31 20:23:32] INFO  ##### Le service Client MQTT a démarré (Client MQTT Local) #####
[2026-03-31 20:23:33] INFO  ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
[2026-03-31 20:23:33] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
[2026-03-31 20:23:33] INFO  ##### Le service zigbee2mqtt a démarré #####
[2026-03-31 20:24:28] ERROR  ##### Le service Client MQTT "Client MQTT Local" est arrêté #####
[2026-03-31 20:24:28] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) #####
[2026-03-31 20:24:30] INFO  [Aucun][Client MQTT Local] : Client MQTT subscribe : #
[2026-03-31 20:24:30] INFO  ##### Le service Client MQTT a démarré (Client MQTT Local) #####
[2026-03-31 20:24:30] INFO  ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
[2026-03-31 20:24:30] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
[2026-03-31 20:24:40] INFO  ##### Le service Client MQTT "Client MQTT Local" a démarré #####
[2026-03-31 20:25:01] ERROR  ##### Le service Client MQTT "Client MQTT Local" est arrêté #####
[2026-03-31 20:26:29] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) #####
[2026-03-31 20:26:30] INFO  [Aucun][Client MQTT Local] : Client MQTT subscribe : #
[2026-03-31 20:26:30] INFO  ##### Le service Client MQTT a démarré (Client MQTT Local) #####
[2026-03-31 20:26:31] INFO  ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
[2026-03-31 20:26:31] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
[2026-03-31 20:26:40] INFO  ##### Le service Client MQTT "Client MQTT Local" a démarré #####

c’est le même plantage que d’habitude, trop de requête, le client s’arrête

ok donc ça ne vient pas du client…

ouai malheureusement…

Malgré tout on avance, on vient d’éliminer un coupable potentiel ^^

Bonjour,
J’attendais qq jours pour être certain du résultat, mais je n’ai plus aucune déconnexion du client depuis mon passage au nouveau client PHP MQTT.
Config :


Je suis incapable de dire si c’est bien dû qu’à ce changement et pas à une succession d’essais de réglage de mon coté qui avaient déjà réellement diminué la fréquence des déconnexions. Ou la conjoncture des 2.
Merci en tout cas :wave:t5:

@rennais35000 je pense qu’il y a un peu de tout.
Merci pour ton retour positif

Bonsoir,
Pour info, je suis passé à PHP MQTT également, et depuis 3 jours pas une seule déconnexion/reconnexion inopinée. (j’en avais une à 2 par jour)
Cordialement