Source: cclive
Version: 0.9.3-0.1
Severity: serious
Tags: ftbfs buster sid
https://buildd.debian.org/status/package.php?p=cclive&suite=sid
...
In file included from ./ccprogressbar:1,
from cc/file.cpp:41:
./cc/progressbar.h: In static member function 'static std::__cxx11::string
cc::progressbar::eta_from_seconds(double)':
./cc/progressbar.h:319:48: error: no matching function for call to
'boost::posix_time::seconds::seconds(const double&)'
const pt::time_duration& td = pt::seconds(s);
^
In file included from
/usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
from
/usr/include/boost/date_time/posix_time/time_formatters.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
from ./cc/progressbar.h:26,
from ./ccprogressbar:1,
from cc/file.cpp:41:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:
candidate: 'template<class T> boost::posix_time::seconds::seconds(const T&,
typename boost::enable_if<boost::is_integral<T> >::type*)'
explicit seconds(T const& s,
^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:
template argument deduction/substitution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In
substitution of 'template<class T> boost::posix_time::seconds::seconds(const
T&, typename boost::enable_if<boost::is_integral<T> >::type*) [with T =
double]':
./cc/progressbar.h:319:48: required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error:
no type named 'type' in 'struct boost::enable_if<boost::is_integral<double>,
void>'
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:
candidate: 'boost::posix_time::seconds::seconds(const
boost::posix_time::seconds&)'
class BOOST_SYMBOL_VISIBLE seconds : public time_duration
^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:
no known conversion for argument 1 from 'const double' to 'const
boost::posix_time::seconds&'
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:
candidate: 'boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)'
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:
no known conversion for argument 1 from 'const double' to
'boost::posix_time::seconds&&'
make[3]: *** [Makefile:593: cc/file.o] Error 1