Bug ID | 1089808 |
---|---|
Summary | incinga2: Fails to build with Boost 1.67.0 |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | thardeck@suse.com |
Reporter | amajer@suse.com |
QA Contact | qa-bugs@suse.de |
CC | ecsos@schirra.net, thardeck@suse.com |
Blocks | 1089801 |
Found By | --- |
Blocker | --- |
New Boost library has been released and unfortunately this package fails to build with it. The new boost library is already submitted to devel:libraries:c_c++/boost and will be submitted to openSUSE:Factory shortly. https://build.opensuse.org/package/live_build_log/home:adamm:boost_test/icinga2/openSUSE_Tumbleweed/x86_64 > [ 95s] /home/abuild/rpmbuild/BUILD/icinga2-2.8.2/lib/base/timer.cpp: In static member function 'static void icinga::Timer::TimerThreadProc()': > [ 95s] /home/abuild/rpmbuild/BUILD/icinga2-2.8.2/lib/base/timer.cpp:269:74: error: no matching function for call to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>::subsecond_duration(double)' > [ 95s] l_TimerCV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000)); > [ 95s] ^ The cause of this is change in Boost:DateTime that no longer accepts non-integer types. In the past, these types were implicitly cast down to integer values. Now this requires explicit cast. https://svn.boost.org/trac10/ticket/11168