Bug 1843104
| Summary: | F33FailsToInstall: domoticz | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Raits <igor.raits> |
| Component: | domoticz | Assignee: | Michael Cronenworth <mike> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jwakely, mike, stefan.van.der.eijk |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | domoticz-2020.2-4.fc33 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-04 00:23:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1803235 | ||
|
Description
Igor Raits
2020-06-02 17:41:51 UTC
[ 30%] Building CXX object CMakeFiles/domoticz.dir/hardware/DomoticzInternal.cpp.o
/usr/bin/c++ -DENABLE_PYTHON -DHAVE_EXECINFO_H -DHAVE_LINUX_I2C -DHAVE_LINUX_SPI -DWITH_EXTERNAL_TINYXPATH -DWITH_LIBUSB -DWITH_OPENZWAVE -DWITH_TLS -DWWW_ENABLE_SSL -I/usr/include/python3.9 -I/builddir/build/BUILD/domoticz-2020.2/main -I/usr/include/minizip -I/usr/include/tinyxpath -I/usr/include/openzwave -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c++11 -Wno-psabi -rdynamic -O2 -g -DNDEBUG -Winvalid-pch -include /builddir/build/BUILD/domoticz-2020.2/CMakeFiles/domoticz.dir/cmake_pch.hxx -o CMakeFiles/domoticz.dir/hardware/DomoticzInternal.cpp.o -c /builddir/build/BUILD/domoticz-2020.2/hardware/DomoticzInternal.cpp
In file included from /usr/include/boost/bind.hpp:30,
from /builddir/build/BUILD/domoticz-2020.2/hardware/ASyncSerial.cpp:37:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/bind.hpp:30,
from /builddir/build/BUILD/domoticz-2020.2/hardware/ASyncTCP.cpp:4:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/domoticz-2020.2/hardware/Comm5Serial.cpp: In member function 'virtual bool Comm5Serial::StartHardware()':
/builddir/build/BUILD/domoticz-2020.2/hardware/Comm5Serial.cpp:95:64: error: '_1' was not declared in this scope
95 | setReadCallback(boost::bind(&Comm5Serial::readCallBack, this, _1, _2));
| ^~
Either add -DBOOST_BIND_GLOBAL_PLACEHOLDERS to the compiler flags, or replace <boost/bind.hpp> with <boost/bind/bind.hpp> and bring the placeholders into scope with either:
using boost::placeholders::_1;
using boost::placeholders::_2;
using boost::placeholders::_3;
using boost::placeholders::_4;
using boost::placeholders::_5;
using boost::placeholders::_6;
(not all files need all 6 placeholders, but at least one does)
or:
using namespace boost::placeholders;
|