Plugin zwave : installation des dépendances NOK

Bonjour,

J’essaye désespéramment d’installer les dépendances du plugin Zwave mais sans succès.

Lancement de l'installation/mise à jour des dépendances openzwave
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Ign:3 http://deb.debian.org/debian stretch InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:5 http://deb.debian.org/debian stretch Release
Hit:6 http://ftp.fr.debian.org/debian stretch Release
Hit:7 https://repo.mosquitto.org/debian stretch InRelease
Hit:8 https://download.docker.com/linux/debian stretch InRelease
Hit:9 https://deb.nodesource.com/node_12.x stretch InRelease
Err:7 https://repo.mosquitto.org/debian stretch InRelease
  The following signatures were invalid: EXPKEYSIG 61611AE430993623 Mosquitto Apt Repository <repo@mosquitto.org>
Reading package lists...

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.mosquitto.org/debian stretch InRelease: The following signatures were invalid: EXPKEYSIG 61611AE430993623 Mosquitto Apt Repository <repo@mosquitto.org>
W: Failed to fetch https://repo.mosquitto.org/debian/dists/stretch/InRelease  The following signatures were invalid: EXPKEYSIG 61611AE430993623 Mosquitto Apt Repository <repo@mosquitto.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Installation des dependances
Reading package lists...
Building dependency tree...

Reading state information...
build-essential is already the newest version (12.3).
g++ is already the newest version (4:6.3.0-4).
gcc is already the newest version (4:6.3.0-4).
git is already the newest version (1:2.11.0-3+deb9u5).
libjpeg-dev is already the newest version (1:1.5.1-2).
python-louie is already the newest version (1.1-2.1).
python-lxml is already the newest version (3.7.1-1).
make is already the newest version (4.1-9.1).
python-serial is already the newest version (3.2.1-1).
python-dev is already the newest version (2.7.13-2).
python-pip is already the newest version (9.0.1-2+deb9u1).
python-setuptools is already the newest version (33.1.1-1).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.12.4-1).
libudev-dev is already the newest version (232-25+deb9u12).
unzip is already the newest version (6.0-21+deb9u2).
The following packages were automatically installed and are no longer required:
  libyaml-0-2 linux-image-4.9.0-9-amd64 python-backports.ssl-match-hostname
  python-cached-property python-docker python-dockerpty python-docopt
  python-funcsigs python-functools32 python-jsonschema python-mock python-pbr
  python-texttable python-websocket python-yaml
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation des dependances Python
Requirement already satisfied: urwid in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: louie in /usr/lib/python2.7/dist-packages
Requirement already satisfied: nose>=0.8.3 in /usr/lib/python2.7/dist-packages (from louie)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages
Requirement already satisfied: tornado in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado)
Requirement already satisfied: futures in /usr/local/lib/python2.7/dist-packages (from tornado)
Requirement already satisfied: backports-abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from singledispatch->tornado)
mkdir: cannot create directory '/opt': File exists
Désinstallation de la version précédente
Installation de Python-OpenZwave
Not uninstalling cython at /usr/lib/python2.7/dist-packages, outside environment /usr
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
cython is already the newest version (0.25.2-1).
The following packages were automatically installed and are no longer required:
  libyaml-0-2 linux-image-4.9.0-9-amd64 python-backports.ssl-match-hostname
  python-cached-property python-docker python-dockerpty python-docopt
  python-funcsigs python-functools32 python-jsonschema python-mock python-pbr
  python-texttable python-websocket python-yaml
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing dependencies for python : 2 7 13
apt-get install --force-yes -y python-pip python-dev python-docutils python-setuptools python-louie
Reading package lists...
Building dependency tree...
Reading state information...
python-louie is already the newest version (1.1-2.1).
python-dev is already the newest version (2.7.13-2).
python-docutils is already the newest version (0.13.1+dfsg-2).
python-pip is already the newest version (9.0.1-2+deb9u1).
python-setuptools is already the newest version (33.1.1-1).
The following packages were automatically installed and are no longer required:
  libyaml-0-2 linux-image-4.9.0-9-amd64 python-backports.ssl-match-hostname
  python-cached-property python-docker python-dockerpty python-docopt
  python-funcsigs python-functools32 python-jsonschema python-mock python-pbr
  python-texttable python-websocket python-yaml
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt-get install --force-yes -y build-essential libudev-dev g++
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.3).
g++ is already the newest version (4:6.3.0-4).
libudev-dev is already the newest version (232-25+deb9u12).
The following packages were automatically installed and are no longer required:
  libyaml-0-2 linux-image-4.9.0-9-amd64 python-backports.ssl-match-hostname
  python-cached-property python-docker python-dockerpty python-docopt
  python-funcsigs python-functools32 python-jsonschema python-mock python-pbr
  python-texttable python-websocket python-yaml
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
cython is already the newest version (0.25.2-1).
The following packages were automatically installed and are no longer required:
  libyaml-0-2 linux-image-4.9.0-9-amd64 python-backports.ssl-match-hostname
  python-cached-property python-docker python-dockerpty python-docopt
  python-funcsigs python-functools32 python-jsonschema python-mock python-pbr
  python-texttable python-websocket python-yaml
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pip install nose-html
Requirement already satisfied: nose-html in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: nose>=0.11.1 in /usr/lib/python2.7/dist-packages (from nose-html)
pip install nose-progressive
Requirement already satisfied: nose-progressive in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: nose>=1.2.1 in /usr/lib/python2.7/dist-packages (from nose-progressive)
Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python2.7/dist-packages (from nose-progressive)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive)
pip install coverage
Requirement already satisfied: coverage in /usr/local/lib/python2.7/dist-packages
pip install nose
Requirement already satisfied: nose in /usr/lib/python2.7/dist-packages
pip install pylint
Requirement already satisfied: pylint in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from pylint)
Requirement already satisfied: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint)
Requirement already satisfied: astroid<2.0,>=1.6 in /usr/local/lib/python2.7/dist-packages (from pylint)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint)
Requirement already satisfied: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint)
Requirement already satisfied: configparser; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint)
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint)
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)
Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint)
Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint)
Requirement already satisfied: futures; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint)
#pip install docutils
#pip install setuptools
#The following line crashes with a core dump
#pip install "Cython==0.22"

Dependencies for users installed (python 2 7 13)
sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
cd openzwave && make
make[1]: Entering directory '/opt/python-openzwave/openzwave'
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w 
make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/build'
Building OpenZWave Version 1.4.-1
Building tinystr.o
Building tinyxmlerror.o
Building tinyxml.o
Building tinyxmlparser.o
Building hid.o
Building aeskey.o
Building aescrypt.o
Building aestab.o
Building aes_modes.o
Building SensorAlarm.o
Building Proprietary.o
Building CentralScene.o
Building MultiCmd.o
Building SwitchBinary.o
Building SensorBinary.o
Building Language.o
Building Color.o
Building Meter.o
Building Hail.o
Building MeterPulse.o
Building DoorLock.o
Building DeviceResetLocally.o
Building ManufacturerSpecific.o
Building SwitchAll.o
Building Configuration.o
Building SwitchToggleBinary.o
Building ThermostatMode.o
Building MultiInstance.o
Building TimeParameters.o
Building UserCode.o
Building BarrierOperator.o
Building ThermostatSetpoint.o
Building CRC16Encap.o
Building SoundSwitch.o
Building ApplicationStatus.o
Building ClimateControlSchedule.o
Building Protection.o
Building NodeNaming.o
Building WakeUp.o
Building ManufacturerProprietary.o
Building BasicWindowCovering.o
Building Lock.o
Building Association.o
Building Indicator.o
Building SceneActivation.o
Building Clock.o
Building Powerlevel.o
Building AssociationCommandConfiguration.o
Building ThermostatOperatingState.o
Building SensorMultilevel.o
Building SwitchMultilevel.o
Building Battery.o
Building ThermostatFanMode.o
Building MultiChannelAssociation.o
Building ZWavePlusInfo.o
Building Version.o
Building Alarm.o
Building CommandClasses.o
Building ThermostatFanState.o
Building Security.o
Building EnergyProduction.o
Building Basic.o
Building NoOperation.o
Building CommandClass.o
Building DoorLockLogging.o
Building ControllerReplication.o
Building SwitchToggleMultilevel.o
Building Value.o
Building ValueList.o
Building ValueButton.o
Building ValueInt.o
Building ValueStore.o
Building ValueDecimal.o
Building ValueRaw.o
Building ValueString.o
Building ValueByte.o
Building ValueBool.o
Building ValueSchedule.o
Building ValueShort.o
Building Controller.o
Building Wait.o
Building Thread.o
Building Stream.o
Building Log.o
Building HidController.o
Building Mutex.o
Building SerialController.o
Building Event.o
Building FileOps.o
Building TimeStamp.o
Building FileOpsImpl.o
Building TimeStampImpl.o
Building WaitImpl.o
Building ThreadImpl.o
Building LogImpl.o
Building MutexImpl.o
Building SerialControllerImpl.o
Building EventImpl.o
Building Options.o
Building Scene.o
Building Utils.o
Building Driver.o
Building ZWSecurity.o
Building Group.o
Building Node.o
Building Manager.o
Building Msg.o
Building Notification.o
Creating vers.cpp
Building vers.o
Linking Static Library
Linking Shared Library
Making ozw_config file
make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/examples/MinOZW/ -w 
make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
Building Main.o
Linking /opt/python-openzwave/openzwave/.lib/MinOZW
g++   -o /opt/python-openzwave/openzwave/.lib/MinOZW /opt/python-openzwave/openzwave/.lib/Main.o /opt/python-openzwave/openzwave/libopenzwave.so -pthread
Creating Temporary Shell Launch Script
make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
make[1]: Leaving directory '/opt/python-openzwave/openzwave'
python setup-lib.py build
running build
running build_ext
cythoning src-lib/libopenzwave/libopenzwave.pyx to src-lib/libopenzwave/libopenzwave.cpp
building 'libopenzwave' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src-lib
creating build/temp.linux-x86_64-2.7/src-lib/libopenzwave
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPY_SSIZE_T_CLEAN=1 -Iopenzwave/cpp/src/ -Iopenzwave/cpp/src/value_classes/ -Iopenzwave/cpp/src/platform/ -Iopenzwave/cpp/build/linux/ -I/usr/include/python2.7 -c src-lib/libopenzwave/libopenzwave.cpp -o build/temp.linux-x86_64-2.7/src-lib/libopenzwave/libopenzwave.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
src-lib/libopenzwave/libopenzwave.cpp:3:0: warning: "PY_SSIZE_T_CLEAN" redefined
 #define PY_SSIZE_T_CLEAN
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from openzwave/cpp/src/aes/aescpp.h:26:0,
                 from openzwave/cpp/src/Driver.h:42,
                 from src-lib/libopenzwave/libopenzwave.cpp:459:
openzwave/cpp/src/aes/aes.h:75:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning( disable : 4324 )
 
openzwave/cpp/src/aes/aes.h:93:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning( default : 4324 )
 
src-lib/libopenzwave/libopenzwave.cpp: In function 'PyObject* __pyx_pf_12libopenzwave_9PyManager_268beginControllerCommand(__pyx_obj_12libopenzwave_PyManager*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)':
src-lib/libopenzwave/libopenzwave.cpp:29891:204: warning: 'bool OpenZWave::Manager::BeginControllerCommand(uint32, OpenZWave::Driver::ControllerCommand, OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)' is deprecated [-Wdeprecated-declarations]
   __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->manager->BeginControllerCommand(__pyx_t_1, __pyx_t_2, __pyx_f_12libopenzwave_ctrl_callback, ((void *)__pyx_v_pythonfunc), __pyx_t_3, __pyx_t_4, __pyx_t_5)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 4120, __pyx_L1_error)
                                                                                                                                                                                                            ^
src-lib/libopenzwave/libopenzwave.cpp:545:36: note: in definition of macro '__Pyx_PyBool_FromLong'
 #define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
                                    ^
In file included from src-lib/libopenzwave/libopenzwave.cpp:464:0:
openzwave/cpp/src/Manager.h:1731:19: note: declared here
   DEPRECATED bool BeginControllerCommand( uint32 const _homeId, Driver::ControllerCommand _command, Driver::pfnControllerCallback_t _callback = NULL, void* _context = NULL, bool _highPower = false, uint8 _nodeId = 0xff, uint8 _arg = 0 );
                   ^~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
Makefile:266: recipe for target 'build' failed
make: *** [build] Error 1
Everything is successfully installed!

Malgré la dernière phrase pouvant laisser penser que tout est bon, le statut reste en NOK et l’installation se relance automatiquement au bout de quelques secondes mais le résultat est identique.

Jeedom installé sur une VM en Debian GNU/Linux 9.12 (stretch).

Si quelqu’un a une idée je veux bien, parce que là ça dépasse mes compétences :sweat_smile:

Bonsoir,
Ta clé est-elle correctement mappée ?

Bon ben c’est bon c’est réglé, j’ai augmenté RAM, CPU et disque sur la VM et ça c’est installé en un rien de temps.
Désolé du dérangement :blush:

Cependant, il y a un problème avec le dépôt Mosquito.

The following signatures were invalid: EXPKEYSIG 61611AE430993623 Mosquitto Apt Repository <repo@mosquitto.org>
Reading package lists...

lancer « sudo apt-key list ».

Ça donne ça :

/etc/apt/trusted.gpg
--------------------
pub   rsa4096 2013-01-04 [SC] [expired: 2019-12-31]
      8277 CCB4 9EC5 B595 F2D2  C713 6161 1AE4 3099 3623
uid           [ expired] Mosquitto Apt Repository <repo@mosquitto.org>

pub   rsa4096 2017-02-22 [SCEA]
      9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
uid           [ unknown] Docker Release (CE deb) <docker@docker.com>
sub   rsa4096 2017-02-22 [S]

pub   rsa4096 2014-06-13 [SC]
      9FD3 B784 BC1C 6FC3 1A8A  0A1C 1655 A0AB 6857 6280
uid           [ unknown] NodeSource <gpg@nodesource.com>
sub   rsa4096 2014-06-13 [E]

/etc/apt/trusted.gpg.d/debian-archive-buster-automatic.gpg
----------------------------------------------------------
pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      80D1 5823 B7FD 1561 F9F7  BCDD DC30 D7C2 3CBB ABEE
uid           [ unknown] Debian Archive Automatic Signing Key (10/buster) <ftpma                                     ster@debian.org>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]

/etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.gpg
-------------------------------------------------------------------
pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      5E61 B217 265D A980 7A23  C5FF 4DFA B270 CAA9 6DFA
uid           [ unknown] Debian Security Archive Automatic Signing Key (10/buste                                     r) <ftpmaster@debian.org>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]

/etc/apt/trusted.gpg.d/debian-archive-buster-stable.gpg
-------------------------------------------------------
pub   rsa4096 2019-02-05 [SC] [expires: 2027-02-03]
      6D33 866E DD8F FA41 C014  3AED DCC9 EFBF 77E1 1517
uid           [ unknown] Debian Stable Release Key (10/buster) <debian-release@l                                     ists.debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
----------------------------------------------------------
pub   rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
      126C 0D24 BD8A 2942 CC7D  F8AC 7638 D044 2B90 D010
uid           [ unknown] Debian Archive Automatic Signing Key (8/jessie) <ftpmas                                     ter@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub   rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
      D211 6914 1CEC D440 F2EB  8DDA 9D6D 8F6B C857 C906
uid           [ unknown] Debian Security Archive Automatic Signing Key (8/jessie                                     ) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
-------------------------------------------------------
pub   rsa4096 2013-08-17 [SC] [expires: 2021-08-15]
      75DD C3C4 A499 F1A1 8CB5  F3C8 CBF8 D6FD 518E 17E1
uid           [ unknown] Jessie Stable Release Key <debian-release@lists.debian.                                     org>

/etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg
-----------------------------------------------------------
pub   rsa4096 2017-05-22 [SC] [expires: 2025-05-20]
      E1CF 20DD FFE4 B89E 8026  58F1 E0B1 1894 F66A EC98
uid           [ unknown] Debian Archive Automatic Signing Key (9/stretch) <ftpma                                     ster@debian.org>
sub   rsa4096 2017-05-22 [S] [expires: 2025-05-20]

/etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg
--------------------------------------------------------------------
pub   rsa4096 2017-05-22 [SC] [expires: 2025-05-20]
      6ED6 F5CB 5FA6 FB2F 460A  E88E EDA0 D238 8AE2 2BA9
uid           [ unknown] Debian Security Archive Automatic Signing Key (9/stretc                                     h) <ftpmaster@debian.org>
sub   rsa4096 2017-05-22 [S] [expires: 2025-05-20]

/etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg
--------------------------------------------------------
pub   rsa4096 2017-05-20 [SC] [expires: 2025-05-18]
      067E 3C45 6BAE 240A CEE8  8F6F EF0F 382A 1A7B 6500
uid           [ unknown] Debian Stable Release Key (9/stretch) <debian-release@l                                     ists.debian.org>

Pour Mosquitto :

wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key

C’est fait merci :slightly_smiling_face:

1 « J'aime »