Bug 1843104

Summary: F33FailsToInstall: domoticz
Product: [Fedora] Fedora Reporter: Igor Raits <igor.raits>
Component: domoticzAssignee: Michael Cronenworth <mike>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: 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
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

Your package (domoticz) Fails To Install in Fedora 33:

can't install domoticz:
  - nothing provides libboost_thread.so.1.69.0()(64bit) needed by domoticz-2020.2-3.fc33.x86_64
  
If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Jonathan Wakely 2020-06-03 10:56:01 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;