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 !