Je ne réussis pas à installer le plugin Z-Wave. L'installation des dépendances mouline en permanence jusqu'à 75% puis recommence.
Je me permet de citer mon Log ci-dessous avec quelques erreurs que je ne sais pas interpréter.
Pourriez-vous m'aider? Merci d'avance.
Code : Tout sélectionner
Lancement de l'installation/mise à jour des dépendances openzwave
Ign:1 http://fr.archive.ubuntu.com/ubuntu precise InRelease
Get:2 http://fr.archive.ubuntu.com/ubuntu precise-updates InRelease [55.7 kB]
Get:3 http://security.ubuntu.com/ubuntu precise-security InRelease [55.7 kB]
Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Ign:5 http://archive.canonical.com/ubuntu precise InRelease
Get:6 http://fr.archive.ubuntu.com/ubuntu precise-backports InRelease [55.7 kB]
Hit:7 http://archive.raspberrypi.org/debian buster InRelease
Get:8 http://archive.canonical.com/ubuntu precise Release [8180 B]
Get:9 http://fr.archive.ubuntu.com/ubuntu precise-proposed InRelease [55.7 kB]
Get:10 http://archive.canonical.com/ubuntu precise Release.gpg [181 B]
Get:11 http://fr.archive.ubuntu.com/ubuntu precise Release [49.6 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu precise Release.gpg [198 B]
Hit:13 https://download.sublimetext.com apt/stable/ InRelease
Err:2 http://fr.archive.ubuntu.com/ubuntu precise-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
Err:3 http://security.ubuntu.com/ubuntu precise-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
Err:6 http://fr.archive.ubuntu.com/ubuntu precise-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
Ign:10 http://archive.canonical.com/ubuntu precise Release.gpg
Err:9 http://fr.archive.ubuntu.com/ubuntu precise-proposed InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
Ign:12 http://fr.archive.ubuntu.com/ubuntu precise Release.gpg
Reading package lists...
W: GPG error: http://fr.archive.ubuntu.com/ubuntu precise-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository 'http://fr.archive.ubuntu.com/ubuntu precise-updates InRelease' is not signed.
W: GPG error: http://security.ubuntu.com/ubuntu precise-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository 'http://security.ubuntu.com/ubuntu precise-security InRelease' is not signed.
W: GPG error: http://fr.archive.ubuntu.com/ubuntu precise-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository 'http://fr.archive.ubuntu.com/ubuntu precise-backports InRelease' is not signed.
W: GPG error: http://archive.canonical.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository 'http://archive.canonical.com/ubuntu precise Release' is not signed.
W: GPG error: http://fr.archive.ubuntu.com/ubuntu precise-proposed InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository 'http://fr.archive.ubuntu.com/ubuntu precise-proposed InRelease' is not signed.
W: GPG error: http://fr.archive.ubuntu.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository 'http://fr.archive.ubuntu.com/ubuntu precise Release' is not signed.
Installation des dependances
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
g++ is already the newest version (4:8.3.0-1+rpi2).
gcc is already the newest version (4:8.3.0-1+rpi2).
git is already the newest version (1:2.20.1-2).
libjpeg-dev is already the newest version (1:1.5.2-2).
libudev-dev is already the newest version (241-5+rpi1).
make is already the newest version (4.2.1-1.2).
python-dev is already the newest version (2.7.16-1).
python-louie is already the newest version (1.1-4).
python-lxml is already the newest version (4.3.2-1).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.21.0-1).
python-serial is already the newest version (3.4-4).
python-setuptools is already the newest version (40.8.0-1).
unzip is already the newest version (6.0-23).
python-pip is already the newest version (18.1-5+rpt1).
The following package was automatically installed and is no longer required:
rpi.gpio-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
Installation des dependances Python
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: urwid in /usr/local/lib/python2.7/dist-packages (2.0.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: louie in /usr/lib/python2.7/dist-packages (1.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (1.12.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: tornado in /usr/local/lib/python2.7/dist-packages (5.1.1)
Requirement already satisfied: backports-abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado) (0.5)
Requirement already satisfied: singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado) (3.4.0.3)
Requirement already satisfied: futures in /usr/local/lib/python2.7/dist-packages (from tornado) (3.3.0)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from singledispatch->tornado) (1.12.0)
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
Can't uninstall 'Cython'. No files were found to uninstall.
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
cython is already the newest version (0.29.2-2).
The following package was automatically installed and is no longer required:
rpi.gpio-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Installing dependencies for python : 2 7 16
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-dev is already the newest version (2.7.16-1).
python-docutils is already the newest version (0.14+dfsg-4).
python-louie is already the newest version (1.1-4).
python-setuptools is already the newest version (40.8.0-1).
python-pip is already the newest version (18.1-5+rpt1).
The following package was automatically installed and is no longer required:
rpi.gpio-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 23 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.6).
g++ is already the newest version (4:8.3.0-1+rpi2).
libudev-dev is already the newest version (241-5+rpi1).
The following package was automatically installed and is no longer required:
rpi.gpio-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 23 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.29.2-2).
The following package was automatically installed and is no longer required:
rpi.gpio-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
pip install nose-html
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose-html in /usr/local/lib/python2.7/dist-packages (1.1)
Requirement already satisfied: nose>=0.11.1 in /usr/lib/python2.7/dist-packages (from nose-html) (1.3.7)
pip install nose-progressive
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose-progressive in /usr/local/lib/python2.7/dist-packages (1.5.2)
Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python2.7/dist-packages (from nose-progressive) (1.7)
Requirement already satisfied: nose>=1.2.1 in /usr/lib/python2.7/dist-packages (from nose-progressive) (1.3.7)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (1.12.0)
pip install coverage
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: coverage in /usr/local/lib/python2.7/dist-packages (4.5.3)
pip install nose
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose in /usr/lib/python2.7/dist-packages (1.3.7)
pip install pylint
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pylint in /usr/local/lib/python2.7/dist-packages (1.9.5)
Requirement already satisfied: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint) (4.3.21)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from pylint) (1.12.0)
Requirement already satisfied: astroid<2.0,>=1.6 in /usr/local/lib/python2.7/dist-packages (from pylint) (1.6.6)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint) (3.4.0.3)
Requirement already satisfied: configparser; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (3.5.0b2)
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (1.5)
Requirement already satisfied: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint) (0.6.1)
Requirement already satisfied: futures; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint) (3.3.0)
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)
Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.4.1)
Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.11.2)
#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 16)
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 Proprietary.o
Building UserCode.o
Building BarrierOperator.o
Building SensorBinary.o
Building Language.o
Building MultiChannelAssociation.o
Building WakeUp.o
Building Color.o
Building Meter.o
Building Indicator.o
Building CRC16Encap.o
Building MultiInstance.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 DeviceResetLocally.o
Building MeterPulse.o
Building SwitchBinary.o
Building CommandClass.o
Building Basic.o
Building Clock.o
Building Configuration.o
Building SwitchToggleBinary.o
Building Hail.o
Building ThermostatMode.o
Building SensorMultilevel.o
Building ClimateControlSchedule.o
Building SensorAlarm.o
Building TimeParameters.o
Building SwitchMultilevel.o
Building Association.o
Building ApplicationStatus.o
Building SoundSwitch.o
Building ZWavePlusInfo.o
Building CentralScene.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
sed: can't read /etc/inittab: No such file or directory
Everything is successfully installed!
</code>