Bug#914145: liborigin2 FTBFS with boost 1.67
Adrian Bunk
bunk at debian.org
Mon Nov 19 22:00:36 GMT 2018
Source: liborigin2
Version: 2:20110117-2
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=liborigin2&suite=sid
...
In file included from Origin800Parser.h:32,
from Origin610Parser.h:32,
from Origin600Parser.h:32,
from Origin600Parser.cpp:29:
Origin750Parser.h: In member function 'boost::posix_time::ptime Origin750Parser::doubleToPosixTime(double)':
Origin750Parser.h:74:175: error: no matching function for call to 'boost::posix_time::seconds::seconds(double)'
return boost::posix_time::ptime(boost::gregorian::date(boost::gregorian::gregorian_calendar::from_julian_day_number(jdt+1)), boost::posix_time::seconds((jdt-(int)jdt)*86400));
^
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 Origin750Parser.h:36,
from Origin800Parser.h:32,
from Origin610Parser.h:32,
from Origin600Parser.h:32,
from Origin600Parser.cpp:29:
/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]':
Origin750Parser.h:74:175: 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 '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 'double' to 'boost::posix_time::seconds&&'
More information about the debian-science-maintainers
mailing list