Je ne parviens pas à installer les dépendances pour open zwave, ce qui est plutot génant
Mon jeedom est à jour, j'ai également déjà tenté de désinstaller et réinstaller le plugin.
Un warning lors de la compilation semble etre traité comme une erreur...
Peut être y a t il un moyen de lancer le script manuellement et de surcharger les parametres de compilation ?
Voici la log complete:
Lancement de l'installation/mise à jour des dépendances openzwave
Code : Tout sélectionner
Hit:1 http://security.debian.org jessie/updates InRelease
Hit:2 http://ftp.debian.org/debian jessie-updates InRelease
Get:3 http://ftp.de.debian.org/debian testing InRelease [150 kB]
Hit:4 https://deb.nodesource.com/node_5.x jessie InRelease
Get:5 http://ftp.de.debian.org/debian testing/main Sources.diff/Index [27.9 kB]
Get:6 http://ftp.de.debian.org/debian testing/non-free Sources.diff/Index [27.8 kB]
Get:7 http://ftp.de.debian.org/debian testing/main armhf Packages.diff/Index [27.9 kB]
Get:8 http://ftp.de.debian.org/debian testing/main Translation-en.diff/Index [27.9 kB]
Get:9 http://ftp.de.debian.org/debian testing/non-free armhf Packages.diff/Index [27.8 kB]
Get:10 http://ftp.de.debian.org/debian testing/non-free Translation-en.diff/Index [27.8 kB]
Get:11 http://ftp.de.debian.org/debian testing/main Sources 2018-10-12-1413.45.pdiff [579 B]
Get:12 http://ftp.de.debian.org/debian testing/non-free Sources 2018-10-12-1413.45.pdiff [28 B]
Get:13 http://ftp.de.debian.org/debian testing/main armhf Packages 2018-10-12-1413.45.pdiff [960 B]
Get:14 http://ftp.de.debian.org/debian testing/main Translation-en 2018-10-12-1413.45.pdiff [53 B]
Get:15 http://ftp.de.debian.org/debian testing/non-free armhf Packages 2018-10-12-1413.45.pdiff [27 B]
Get:11 http://ftp.de.debian.org/debian testing/main Sources 2018-10-12-1413.45.pdiff [579 B]
Get:12 http://ftp.de.debian.org/debian testing/non-free Sources 2018-10-12-1413.45.pdiff [28 B]
Get:16 http://ftp.de.debian.org/debian testing/non-free Translation-en 2018-10-12-1413.45.pdiff [27 B]
Get:13 http://ftp.de.debian.org/debian testing/main armhf Packages 2018-10-12-1413.45.pdiff [960 B]
Get:14 http://ftp.de.debian.org/debian testing/main Translation-en 2018-10-12-1413.45.pdiff [53 B]
Get:15 http://ftp.de.debian.org/debian testing/non-free armhf Packages 2018-10-12-1413.45.pdiff [27 B]
Get:16 http://ftp.de.debian.org/debian testing/non-free Translation-en 2018-10-12-1413.45.pdiff [27 B]
Fetched 318 kB in 52s (6170 B/s)
Reading package lists...
Installation des dependances
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.5).
g++ is already the newest version (4:8.1.0-1).
gcc is already the newest version (4:8.1.0-1).
git is already the newest version (1:2.19.1-1).
libjpeg-dev is already the newest version (1:1.5.2-2).
python-louie is already the newest version (1.1-4).
python-lxml is already the newest version (4.2.5-1).
make is already the newest version (4.2.1-1.2).
python-serial is already the newest version (3.4-4).
python-dev is already the newest version (2.7.15-3).
python-pip is already the newest version (9.0.1-2.3).
python-setuptools is already the newest version (40.2.0-1).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.18.4-2).
libudev-dev is already the newest version (239-10).
unzip is already the newest version (6.0-21).
The following packages were automatically installed and are no longer required:
libjs-excanvas libperl4-corelibs-perl libpng12-0 libtimedate-perl libvpx1
zlib1g-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 134 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: six in /usr/lib/python2.7/dist-packages
Requirement already satisfied: tornado in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: backports_abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado)
Requirement already satisfied: certifi in /usr/local/lib/python2.7/dist-packages (from tornado)
Requirement already satisfied: singledispatch 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.28.4-1).
The following packages were automatically installed and are no longer required:
libjs-excanvas libperl4-corelibs-perl libpng12-0 libtimedate-perl libvpx1
zlib1g-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Installing dependencies for python : 2 7 15+
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-4).
python-dev is already the newest version (2.7.15-3).
python-docutils is already the newest version (0.14+dfsg-3).
python-pip is already the newest version (9.0.1-2.3).
python-setuptools is already the newest version (40.2.0-1).
The following packages were automatically installed and are no longer required:
libjs-excanvas libperl4-corelibs-perl libpng12-0 libtimedate-perl libvpx1
zlib1g-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
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.5).
g++ is already the newest version (4:8.1.0-1).
libudev-dev is already the newest version (239-10).
The following packages were automatically installed and are no longer required:
libjs-excanvas libperl4-corelibs-perl libpng12-0 libtimedate-perl libvpx1
zlib1g-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
cython is already the newest version (0.28.4-1).
The following packages were automatically installed and are no longer required:
libjs-excanvas libperl4-corelibs-perl libpng12-0 libtimedate-perl libvpx1
zlib1g-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
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: blessings<2.0,>=1.3 in /usr/local/lib/python2.7/dist-packages (from nose-progressive)
Requirement already satisfied: nose>=1.2.1 in /usr/lib/python2.7/dist-packages (from 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: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint)
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: 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: astroid<1.5.0,>=1.4.5 in /usr/local/lib/python2.7/dist-packages (from pylint)
Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<1.5.0,>=1.4.5->pylint)
Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<1.5.0,>=1.4.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 15+)
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 BarrierOperator.o
Building ThermostatOperatingState.o
Building Language.o
Building Color.o
Building ZWavePlusInfo.o
Building Indicator.o
Building MultiInstance.o
Building MeterPulse.o
Building SensorBinary.o
Building ControllerReplication.o
Building SwitchBinary.o
Building MultiChannelAssociation.o
Building Configuration.o
Building SwitchToggleBinary.o
Building ThermostatMode.o
Building SensorMultilevel.o
Building NoOperation.o
Building Version.o
Building TimeParameters.o
Building DeviceResetLocally.o
Building UserCode.o
Building CentralScene.o
Building ManufacturerSpecific.o
In file included from /usr/include/c++/8/map:60,
from /opt/python-openzwave/openzwave/cpp/src/command_classes/CommandClasses.h:32,
from /opt/python-openzwave/openzwave/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
/usr/include/c++/8/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<long long int&&>, std::tuple<>}; _Key = long long int; _Val = std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>; _KeyOfValue = std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >; _Compare = std::less<long long int>; _Alloc = std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >]':
/usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >'} changed in GCC 7.1
_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/map:61,
from /opt/python-openzwave/openzwave/cpp/src/command_classes/CommandClasses.h:32,
from /opt/python-openzwave/openzwave/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
/usr/include/c++/8/bits/stl_map.h: In static member function 'static bool OpenZWave::ManufacturerSpecific::LoadProductXML()':
/usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >'} changed in GCC 7.1
__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
/usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >'} changed in GCC 7.1
__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
/usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >'} changed in GCC 7.1
__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
Building Lock.o
Building ThermostatSetpoint.o
Building ApplicationStatus.o
Building Hail.o
Building ClimateControlSchedule.o
Building Protection.o
Building NodeNaming.o
Building Meter.o
Building WakeUp.o
Building BasicWindowCovering.o
Building SwitchAll.o
Building SwitchMultilevel.o
Building Association.o
Building MultiCmd.o
Building SceneActivation.o
Building Powerlevel.o
Building AssociationCommandConfiguration.o
Building DoorLock.o
Building Battery.o
Building ThermostatFanMode.o
Building CRC16Encap.o
Building Security.o
Building Clock.o
Building Alarm.o
Building CommandClasses.o
Building ThermostatFanState.o
Building EnergyProduction.o
Building Basic.o
Building CommandClass.o
Building DoorLockLogging.o
/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp: In member function 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)':
/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp:312:15: error: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]);
^~~~~~~~ ~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [/opt/python-openzwave/openzwave/cpp/build/support.mk:136: /opt/python-openzwave/openzwave/.lib/DoorLockLogging.o] Error 1
make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
make[1]: *** [Makefile:20: all] Error 2
make[1]: Leaving directory '/opt/python-openzwave/openzwave'
make: *** [Makefile:273: openzwave/.lib/] Error 2
Everything is successfully installed!