Erreur installation dépendances openzwave

Bonjour la communauté,

J’utilise depuis plusieurs années le plug-in Z-Wave avec carte d’extension RazBerry sur un Raspberry Pi 3B tournant sous Buster.
Pour une raison inconnue, l’installation des dépendances openzwave est en tombée en erreur dernièrement.

Si je regarde les logs de l’installation des dépendances, je trouve des erreurs sur l’installation du package « louie » et sur la compilation de la lib hid avec le message « symbol 4 version GLIBC_2.4 not defined in file libc.so.6 with link time reference »

0000|+ echo '******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_openzwave
0003|+ echo 1
0004|+ echo 2
0005|+ sudo pip2 install --force-reinstall --upgrade pyudev
0006|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0007|Collecting pyudev
0008|Collecting six (from pyudev)
0009|Using cached https//files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
0010|Installing collected packages: six, pyudev
0011|Found existing installation: six 1.16.0
0012|Uninstalling six-1.16.0:
0013|Successfully uninstalled six-1.16.0
0014|Found existing installation: pyudev 0.23.2
0015|Uninstalling pyudev-0.23.2:
0016|Successfully uninstalled pyudev-0.23.2
0017|Successfully installed pyudev-0.23.2 six-1.16.0
0018|+ echo 3
0019|+ sudo pip2 install --force-reinstall --upgrade wheel
0020|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0021|Collecting wheel
0022|Using cached https//files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl
0023|Found existing installation: wheel 0.37.1
0024|Uninstalling wheel-0.37.1:
0025|Successfully uninstalled wheel-0.37.1
0026|Successfully installed wheel-0.37.1
0027|+ echo 4
0028|+ sudo pip2 install --force-reinstall --upgrade urwid
0029|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0030|Collecting urwid
0031|Installing collected packages: urwid
0032|Found existing installation: urwid 2.1.2
0033|Uninstalling urwid-2.1.2:
0034|Successfully uninstalled urwid-2.1.2
0035|Successfully installed urwid-2.1.2
0036|+ echo 5
0037|+ sudo pip2 install --force-reinstall --upgrade louie
0038|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0039|Collecting louie
0040|Using cached https//files.pythonhosted.org/packages/f2/f8/f9dfd97003f1c120dca1ed4dc9e3e16b74b583ce5bcb2d9b013142b6bee2/Louie-2.0.tar.gz
0041|Complete output from command python setup.py egg_info:
0042|Traceback (most recent call last):
0043|File "", line 1, in 
0044|File "/tmp/pip-install-I8nsga/louie/setup.py", line 3, in 
0045|from louie import version
0046|File "louie/__init__.py", line 1, in 
0047|from . import dispatcher, error, plugin, robustapply, saferef, sender, signal, version
0048|File "louie/dispatcher.py", line 44
0049|f"Louie connects: {connects}
0050|"
0051|^
0052|SyntaxError: invalid syntax
0053|----------------------------------------
0054|Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-I8nsga/louie/
0055|+ echo 6
0056|+ sudo pip2 install --force-reinstall --upgrade requests
0057|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0058|Collecting requests
0059|Using cached https//files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl
0060|Collecting urllib3<1.27,>=1.21.1 (from requests)
0061|Using cached https//files.pythonhosted.org/packages/6f/de/5be2e3eed8426f871b170663333a0f627fc2924cc386cd41be065e7ea870/urllib3-1.26.12-py2.py3-none-any.whl
0062|Collecting certifi>=2017.4.17 (from requests)
0063|Using cached https//files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl
0064|Collecting idna<3,>=2.5; python_version < "3" (from requests)
0065|Using cached https//files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
0066|Collecting chardet<5,>=3.0.2; python_version < "3" (from requests)
0067|Using cached https//files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl
0068|Installing collected packages: urllib3, certifi, idna, chardet, requests
0069|Found existing installation: urllib3 1.26.12
0070|Uninstalling urllib3-1.26.12:
0071|Successfully uninstalled urllib3-1.26.12
0072|Found existing installation: certifi 2021.10.8
0073|Uninstalling certifi-2021.10.8:
0074|Successfully uninstalled certifi-2021.10.8
0075|Found existing installation: idna 2.10
0076|Uninstalling idna-2.10:
0077|Successfully uninstalled idna-2.10
0078|Found existing installation: chardet 4.0.0
0079|Uninstalling chardet-4.0.0:
0080|Successfully uninstalled chardet-4.0.0
0081|Found existing installation: requests 2.27.1
0082|Uninstalling requests-2.27.1:
0083|Successfully uninstalled requests-2.27.1
0084|Successfully installed certifi-2021.10.8 chardet-4.0.0 idna-2.10 requests-2.27.1 urllib3-1.26.12
0085|+ echo 7
0086|+ sudo pip2 install --force-reinstall --upgrade setuptools
0087|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0088|Collecting setuptools
0089|Using cached https//files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006ec932b4/setuptools-44.1.1-py2.py3-none-any.whl
0090|Installing collected packages: setuptools
0091|Found existing installation: setuptools 44.1.1
0092|Uninstalling setuptools-44.1.1:
0093|Successfully uninstalled setuptools-44.1.1
0094|Successfully installed setuptools-44.1.1
0095|+ echo 8
0096|+ sudo pip2 install --force-reinstall --upgrade pyserial
0097|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0098|Collecting pyserial
0099|Using cached https//files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl
0100|Installing collected packages: pyserial
0101|Found existing installation: pyserial 3.5
0102|Uninstalling pyserial-3.5:
0103|Successfully uninstalled pyserial-3.5
0104|Successfully installed pyserial-3.5
0105|+ echo 9
0106|+ sudo pip2 install --force-reinstall --upgrade six
0107|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0108|Collecting six
0109|Using cached https//files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
0110|Installing collected packages: six
0111|Found existing installation: six 1.16.0
0112|Uninstalling six-1.16.0:
0113|Successfully uninstalled six-1.16.0
0114|Successfully installed six-1.16.0
0115|+ echo 10
0116|+ sudo pip2 install --force-reinstall --upgrade tornado
0117|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0118|Collecting tornado
0119|Collecting backports-abc>=0.4 (from tornado)
0120|Using cached https//files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
0121|Collecting singledispatch (from tornado)
0122|Using cached https//files.pythonhosted.org/packages/3f/09/2a17c6505a8373229cb3de6161e3af74ff90afcf4516719aa6cf32fad151/singledispatch-3.7.0-py2.py3-none-any.whl
0123|Collecting futures (from tornado)
0124|Using cached https//files.pythonhosted.org/packages/d4/ea/9d513529a89bcbcd07c8acbac9eecfad29e7562e0b9d69d14f475987ad70/futures-3.4.0-py2-none-any.whl
0125|Collecting six (from singledispatch->tornado)
0126|Using cached https//files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
0127|Installing collected packages: backports-abc, six, singledispatch, futures, tornado
0128|Found existing installation: backports-abc 0.5
0129|Uninstalling backports-abc-0.5:
0130|Successfully uninstalled backports-abc-0.5
0131|Found existing installation: six 1.16.0
0132|Uninstalling six-1.16.0:
0133|Successfully uninstalled six-1.16.0
0134|Found existing installation: singledispatch 3.7.0
0135|Uninstalling singledispatch-3.7.0:
0136|Successfully uninstalled singledispatch-3.7.0
0137|Found existing installation: futures 3.4.0
0138|Uninstalling futures-3.4.0:
0139|Successfully uninstalled futures-3.4.0
0140|Found existing installation: tornado 5.1.1
0141|Uninstalling tornado-5.1.1:
0142|Successfully uninstalled tornado-5.1.1
0143|Successfully installed backports-abc-0.5 futures-3.4.0 singledispatch-3.7.0 six-1.16.0 tornado-5.1.1
0144|+ echo 11
0145|+ sudo chmod +x /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
0146|+ sudo /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
0147|Lancement de l'installation/mise à jour des dépendances openzwave
0148|mkdir: cannot create directory '/opt': File exists
0149|Désinstallation de la version précédente
0150|Installation de Python-OpenZwave
0151|Not uninstalling cython at /usr/lib/python2.7/dist-packages, outside environment /usr
0152|Can't uninstall 'Cython'. No files were found to uninstall.
0153|apt-get install --force-yes -y cython
0154|Reading package lists...
0155|Building dependency tree...
0156|Reading state information...
0157|cython is already the newest version (0.29.2-2).
0158|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0159|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0160|Installing dependencies for python : 2 7 16
0161|apt-get install --force-yes -y python-pip python-dev python-docutils python-setuptools python-louie
0162|Reading package lists...
0163|Building dependency tree...
0164|Reading state information...
0165|python-dev is already the newest version (2.7.16-1).
0166|python-docutils is already the newest version (0.14+dfsg-4).
0167|python-louie is already the newest version (1.1-4).
0168|python-setuptools is already the newest version (40.8.0-1).
0169|python-pip is already the newest version (18.1-5+rpt1).
0170|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0171|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0172|apt-get install --force-yes -y build-essential libudev-dev g++
0173|Reading package lists...
0174|Building dependency tree...
0175|Reading state information...
0176|build-essential is already the newest version (12.6).
0177|g++ is already the newest version (4:8.3.0-1+rpi2).
0178|libudev-dev is already the newest version (241-7~deb10u8+rpi1).
0179|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0180|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0181|apt-get install --force-yes -y cython
0182|Reading package lists...
0183|Building dependency tree...
0184|Reading state information...
0185|cython is already the newest version (0.29.2-2).
0186|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0187|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0188|pip install nose-html
0189|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0190|Requirement already satisfied: nose-html in /usr/local/lib/python2.7/dist-packages (1.1)
0191|Requirement already satisfied: nose>=0.11.1 in /usr/lib/python2.7/dist-packages (from nose-html) (1.3.7)
0192|pip install nose-progressive
0193|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0194|Requirement already satisfied: nose-progressive in /usr/local/lib/python2.7/dist-packages (1.5.2)
0195|Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python2.7/dist-packages (from nose-progressive) (1.7)
0196|Requirement already satisfied: nose>=1.2.1 in /usr/lib/python2.7/dist-packages (from nose-progressive) (1.3.7)
0197|Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (1.16.0)
0198|pip install coverage
0199|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0200|Requirement already satisfied: coverage in /usr/local/lib/python2.7/dist-packages (5.5)
0201|pip install nose
0202|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0203|Requirement already satisfied: nose in /usr/lib/python2.7/dist-packages (1.3.7)
0204|pip install pylint
0205|Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
0206|Requirement already satisfied: pylint in /usr/local/lib/python2.7/dist-packages (1.9.5)
0207|Requirement already satisfied: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint) (4.3.21)
0208|Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from pylint) (1.16.0)
0209|Requirement already satisfied: astroid<2.0,>=1.6 in /usr/local/lib/python2.7/dist-packages (from pylint) (1.6.6)
0210|Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint) (3.7.0)
0211|Requirement already satisfied: configparser; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (3.5.0b2)
0212|Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (1.5)
0213|Requirement already satisfied: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint) (0.6.1)
0214|Requirement already satisfied: futures; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint) (3.4.0)
0215|Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.1.6)
0216|Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.6.0)
0217|Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.12.1)
0218|#pip install docutils
0219|#pip install setuptools
0220|#The following line crashes with a core dump
0221|#pip install "Cython==0.22"
0222|Dependencies for users installed (python 2 7 16)
0223|sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
0224|cd openzwave && make
0225|make[1]: Entering directory '/opt/python-openzwave/openzwave'
0226|CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w
0227|make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/build'
0228|Building OpenZWave Version 1.4.-1
0229|Building tinystr.o
0230|Building tinyxmlerror.o
0231|Building tinyxml.o
0232|Building tinyxmlparser.o
0233|Building hid.o
0234|/usr/lib/gcc/arm-linux-gnueabihf/8/cc1: relocation error: /usr/lib/gcc/arm-linux-gnueabihf/8/cc1: symbol 4 version GLIBC_2.4 not defined in file libc.so.6 with link time reference
0235|make[2]: *** [/opt/python-openzwave/openzwave/cpp/build/support.mk:142: /opt/python-openzwave/openzwave/.lib/hid.o] Error 1
0236|make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
0237|make[1]: *** [Makefile:20: all] Error 2
0238|make[1]: Leaving directory '/opt/python-openzwave/openzwave'
0239|make: *** [Makefile:273: openzwave/.lib/] Error 2
0240|sed: can't read /etc/inittab: No such file or directory
0241|Raspberry Pi 3 Detected. If you use a Razberry board you must Disabling Bluetooth
0242|Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
0243|And reboot your Raspberry Pi
0244|Everything is successfully installed!
0245|+ echo 12
0246|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
0247|+ rm /tmp/jeedom_install_in_progress_openzwave
0248|+ echo '******************End of package installation******************'
0249|******************End of package installation******************

Dans la Santé jeedom, tout est au vert, à l’exception bien sûr du démon ZWave qui ne se lance pas.
Auriez-vous une idée de ce qui peut poser problème ?
Par avance merci !

Hello,

C’est lié à la mise à jour de pyton2 que tu as probablement effectué. Ton module louie est en version 2.0

Bonjour,

A l’avenir, veuillez utiliser l’outil Texte préformaté via le bouton </> pour coller les logs. La balise <code> ce n’existe pas.
Le log était illisible, j’ai corrigé

Il faut quand même fournir une capture. On ne veut pas voir si tout est vert, on veut voir le contenu.

Effectivement j’avais installé python2 pour jouer avec les GPIO.
En supprimant le package l’erreur sur l’installation de louie disparait, et je vois que le déroulement du log se passe maintenant autour de python3. Merci !

Cela dit l’erreur sur hid.o est toujours là

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_openzwave
0003|+ echo 1
0004|+ echo 2
0005|+ sudo pip2 install --force-reinstall --upgrade pyudev
0006|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0007|Collecting pyudev
0008|Using cached https://files.pythonhosted.org/packages/7d/9f/aeb768af2302cc18a59cdad957592bd42499fbb80ace47158693564cb32e/pyudev-0.24.0-py3-none-any.whl
0009|Installing collected packages: pyudev
0010|Found existing installation: pyudev 0.24.0
0011|Uninstalling pyudev-0.24.0:
0012|Successfully uninstalled pyudev-0.24.0
0013|Successfully installed pyudev-0.24.0
0014|+ echo 3
0015|+ sudo pip2 install --force-reinstall --upgrade wheel
0016|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0017|Collecting wheel
0018|Using cached https://files.pythonhosted.org/packages/bd/7c/d38a0b30ce22fc26ed7dbc087c6d00851fb3395e9d0dac40bec1f905030c/wheel-0.38.4-py3-none-any.whl
0019|Installing collected packages: wheel
0020|Found existing installation: wheel 0.38.4
0021|Uninstalling wheel-0.38.4:
0022|Successfully uninstalled wheel-0.38.4
0023|Successfully installed wheel-0.38.4
0024|+ echo 4
0025|+ sudo pip2 install --force-reinstall --upgrade urwid
0026|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0027|Collecting urwid
0028|Using cached https://www.piwheels.org/simple/urwid/urwid-2.1.2-cp37-cp37m-linux_armv7l.whl
0029|Installing collected packages: urwid
0030|Found existing installation: urwid 2.1.2
0031|Uninstalling urwid-2.1.2:
0032|Successfully uninstalled urwid-2.1.2
0033|Successfully installed urwid-2.1.2
0034|+ echo 5
0035|+ sudo pip2 install --force-reinstall --upgrade louie
0036|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0037|Collecting louie
0038|Using cached https://www.piwheels.org/simple/louie/Louie-2.0-py3-none-any.whl
0039|Installing collected packages: louie
0040|Found existing installation: Louie 2.0
0041|Uninstalling Louie-2.0:
0042|Successfully uninstalled Louie-2.0
0043|Successfully installed louie-2.0
0044|+ echo 6
0045|+ sudo pip2 install --force-reinstall --upgrade requests
0046|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0047|Collecting requests
0048|Using cached https://files.pythonhosted.org/packages/ca/91/6d9b8ccacd0412c08820f72cebaa4f0c0441b5cda699c90f618b6f8a1b42/requests-2.28.1-py3-none-any.whl
0049|Collecting urllib3<1.27,>=1.21.1 (from requests)
0050|Using cached https://files.pythonhosted.org/packages/6f/de/5be2e3eed8426f871b170663333a0f627fc2924cc386cd41be065e7ea870/urllib3-1.26.12-py2.py3-none-any.whl
0051|Collecting idna<4,>=2.5 (from requests)
0052|Using cached https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl
0053|Collecting charset-normalizer<3,>=2 (from requests)
0054|Using cached https://files.pythonhosted.org/packages/db/51/a507c856293ab05cdc1db77ff4bc1268ddd39f29e7dc4919aa497f0adbec/charset_normalizer-2.1.1-py3-none-any.whl
0055|Collecting certifi>=2017.4.17 (from requests)
0056|Using cached https://files.pythonhosted.org/packages/1d/38/fa96a426e0c0e68aabc68e896584b83ad1eec779265a028e156ce509630e/certifi-2022.9.24-py3-none-any.whl
0057|Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
0058|Found existing installation: urllib3 1.26.12
0059|Uninstalling urllib3-1.26.12:
0060|Successfully uninstalled urllib3-1.26.12
0061|Found existing installation: idna 3.4
0062|Uninstalling idna-3.4:
0063|Successfully uninstalled idna-3.4
0064|Found existing installation: charset-normalizer 2.1.1
0065|Uninstalling charset-normalizer-2.1.1:
0066|Successfully uninstalled charset-normalizer-2.1.1
0067|Found existing installation: certifi 2022.9.24
0068|Uninstalling certifi-2022.9.24:
0069|Successfully uninstalled certifi-2022.9.24
0070|Found existing installation: requests 2.28.1
0071|Uninstalling requests-2.28.1:
0072|Successfully uninstalled requests-2.28.1
0073|Successfully installed certifi-2022.9.24 charset-normalizer-2.1.1 idna-3.4 requests-2.28.1 urllib3-1.26.12
0074|+ echo 7
0075|+ sudo pip2 install --force-reinstall --upgrade setuptools
0076|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0077|Collecting setuptools
0078|Using cached https://files.pythonhosted.org/packages/1f/97/c03668380f278f1f8b0486d820c142cf224bba1bd78416e1797b52e0e81c/setuptools-65.6.0-py3-none-any.whl
0079|Installing collected packages: setuptools
0080|Found existing installation: setuptools 65.6.0
0081|Uninstalling setuptools-65.6.0:
0082|Successfully uninstalled setuptools-65.6.0
0083|Successfully installed setuptools-65.6.0
0084|+ echo 8
0085|+ sudo pip2 install --force-reinstall --upgrade pyserial
0086|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0087|Collecting pyserial
0088|Using cached https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl
0089|Installing collected packages: pyserial
0090|Found existing installation: pyserial 3.5
0091|Uninstalling pyserial-3.5:
0092|Successfully uninstalled pyserial-3.5
0093|Successfully installed pyserial-3.5
0094|+ echo 9
0095|+ sudo pip2 install --force-reinstall --upgrade six
0096|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0097|Collecting six
0098|Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
0099|Installing collected packages: six
0100|Found existing installation: six 1.16.0
0101|Uninstalling six-1.16.0:
0102|Successfully uninstalled six-1.16.0
0103|Successfully installed six-1.16.0
0104|+ echo 10
0105|+ sudo pip2 install --force-reinstall --upgrade tornado
0106|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0107|Collecting tornado
0108|Using cached https://www.piwheels.org/simple/tornado/tornado-6.2-cp37-abi3-linux_armv7l.whl
0109|Installing collected packages: tornado
0110|Found existing installation: tornado 6.2
0111|Uninstalling tornado-6.2:
0112|Successfully uninstalled tornado-6.2
0113|Successfully installed tornado-6.2
0114|+ echo 11
0115|+ sudo chmod +x /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
0116|+ sudo /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
0117|Lancement de l'installation/mise à jour des dépendances openzwave
0118|mkdir: cannot create directory '/opt': File exists
0119|Désinstallation de la version précédente
0120|Installation de Python-OpenZwave
0121|Not uninstalling cython at /usr/lib/python3/dist-packages, outside environment /usr
0122|Can't uninstall 'Cython'. No files were found to uninstall.
0123|apt-get install --force-yes -y cython3
0124|Reading package lists...
0125|Building dependency tree...
0126|Reading state information...
0127|cython3 is already the newest version (0.29.2-2).
0128|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0129|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0130|Installing dependencies for python : 3 7 3
0131|apt-get install --force-yes -y python3-pip python3-docutils python3-dev python3-setuptools
0132|Reading package lists...
0133|Building dependency tree...
0134|Reading state information...
0135|python3-dev is already the newest version (3.7.3-1).
0136|python3-docutils is already the newest version (0.14+dfsg-4).
0137|python3-setuptools is already the newest version (40.8.0-1).
0138|python3-pip is already the newest version (18.1-5+rpt1).
0139|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0140|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0141|apt-get install --force-yes -y build-essential libudev-dev g++
0142|Reading package lists...
0143|Building dependency tree...
0144|Reading state information...
0145|build-essential is already the newest version (12.6).
0146|g++ is already the newest version (4:8.3.0-1+rpi2).
0147|libudev-dev is already the newest version (241-7~deb10u8+rpi1).
0148|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0149|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0150|apt-get install --force-yes -y cython3
0151|Reading package lists...
0152|Building dependency tree...
0153|Reading state information...
0154|cython3 is already the newest version (0.29.2-2).
0155|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0156|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0157|pip3 install nose-html
0158|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0159|Requirement already satisfied: nose-html in /usr/local/lib/python3.7/dist-packages (1.1)
0160|Requirement already satisfied: nose>=0.11.1 in /usr/local/lib/python3.7/dist-packages (from nose-html) (1.3.7)
0161|pip3 install nose-progressive
0162|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0163|Requirement already satisfied: nose-progressive in /usr/local/lib/python3.7/dist-packages (1.5.2)
0164|Requirement already satisfied: nose>=1.2.1 in /usr/local/lib/python3.7/dist-packages (from nose-progressive) (1.3.7)
0165|Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python3.7/dist-packages (from nose-progressive) (1.7)
0166|Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (1.16.0)
0167|pip3 install coverage
0168|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0169|Requirement already satisfied: coverage in /usr/local/lib/python3.7/dist-packages (6.5.0)
0170|pip3 install nose
0171|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0172|Requirement already satisfied: nose in /usr/local/lib/python3.7/dist-packages (1.3.7)
0173|pip3 install pylint
0174|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0175|Requirement already satisfied: pylint in /usr/local/lib/python3.7/dist-packages (2.15.5)
0176|Requirement already satisfied: tomlkit>=0.10.1 in /usr/local/lib/python3.7/dist-packages (from pylint) (0.11.6)
0177|Requirement already satisfied: mccabe<0.8,>=0.6 in /usr/local/lib/python3.7/dist-packages (from pylint) (0.7.0)
0178|Requirement already satisfied: platformdirs>=2.2.0 in /usr/local/lib/python3.7/dist-packages (from pylint) (2.5.4)
0179|Requirement already satisfied: isort<6,>=4.2.5 in /usr/local/lib/python3.7/dist-packages (from pylint) (5.10.1)
0180|Requirement already satisfied: typing-extensions>=3.10.0; python_version < "3.10" in /usr/local/lib/python3.7/dist-packages (from pylint) (3.10.0.0)
0181|Requirement already satisfied: tomli>=1.1.0; python_version < "3.11" in /usr/local/lib/python3.7/dist-packages (from pylint) (2.0.1)
0182|Requirement already satisfied: dill>=0.2 in /usr/local/lib/python3.7/dist-packages (from pylint) (0.3.6)
0183|Requirement already satisfied: astroid<=2.14.0-dev0,>=2.12.12 in /usr/local/lib/python3.7/dist-packages (from pylint) (2.12.12)
0184|Requirement already satisfied: lazy-object-proxy>=1.4.0 in /usr/local/lib/python3.7/dist-packages (from astroid<=2.14.0-dev0,>=2.12.12->pylint) (1.8.0)
0185|Requirement already satisfied: typed-ast<2.0,>=1.4.0; implementation_name == "cpython" and python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from astroid<=2.14.0-dev0,>=2.12.12->pylint) (1.5.4)
0186|Requirement already satisfied: wrapt<2,>=1.11; python_version < "3.11" in /usr/local/lib/python3.7/dist-packages (from astroid<=2.14.0-dev0,>=2.12.12->pylint) (1.14.1)
0187|#pip3 install docutils
0188|#pip3 install setuptools
0189|#The following line crashes with a core dump
0190|#pip3 install "Cython==0.22"
0191|Dependencies for users installed (python 3 7 3)
0192|sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
0193|cd openzwave && make
0194|make[1]: Entering directory '/opt/python-openzwave/openzwave'
0195|CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w
0196|make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/build'
0197|Building OpenZWave Version 1.4.-1
0198|Building tinystr.o
0199|Building tinyxmlerror.o
0200|Building tinyxml.o
0201|Building tinyxmlparser.o
0202|Building hid.o
0203|/usr/lib/gcc/arm-linux-gnueabihf/8/cc1: relocation error: /usr/lib/gcc/arm-linux-gnueabihf/8/cc1: symbol 4 version GLIBC_2.4 not defined in file libc.so.6 with link time reference
0204|make[2]: *** [/opt/python-openzwave/openzwave/cpp/build/support.mk:142: /opt/python-openzwave/openzwave/.lib/hid.o] Error 1
0205|make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
0206|make[1]: *** [Makefile:20: all] Error 2
0207|make[1]: Leaving directory '/opt/python-openzwave/openzwave'
0208|make: *** [Makefile:273: openzwave/.lib/] Error 2
0209|sed: can't read /etc/inittab: No such file or directory
0210|Raspberry Pi 3 Detected. If you use a Razberry board you must Disabling Bluetooth
0211|Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
0212|And reboot your Raspberry Pi
0213|Everything is successfully installed!
0214|+ echo 12
0215|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
0216|+ rm /tmp/jeedom_install_in_progress_openzwave
0217|+ echo '*******************End of package installation******************'
0218|*******************End of package installation******************

OK merci pour la retouche du log.
Pour la copie d’écran, la voici.
Le swap est en orange car je tourne sur carte SD, je l’ai désactivé.

En faite ce que je voulais dire c’est que tu as installé le package louie 2.0 et qu’il faut la version 1.1 pour openzwave donc déjà ça ne peut pas fonctionner.

Il y a pas mal de post sur le forum qui explique comment faire redémarrer le démon

OK, j’ai pu remettre le package louie 1.1.
Malgré ça je luttais encore avec l’erreur sur la compilation de hid.o

0203|/usr/lib/gcc/arm-linux-gnueabihf/8/cc1: relocation error: /usr/lib/gcc/arm-linux-gnueabihf/8/cc1: symbol 4 version GLIBC_2.4 not defined in file libc.so.6 with link time reference

Après avoir lutté un moment, je me suis résolu à reprendre une image de la carte SD relativement récente et re-injecter à la main une sauvegarde DB_backup.sql encore plus récente .
Je retrouve ainsi un système fonctionnel et j’évite de passer par la restauration complète qui implique la re-installation des dépendances, et donc mon erreur de compilation.
Ca va tenir comme ça jusqu’au moment où je serai vraiment obligé de retoucher aux dépendances…

Ou de passer sous zwavejs :yum: