Bug#914061: performous FTBFS with boost 1.67
Adrian Bunk
bunk at debian.org
Sun Nov 18 21:07:29 GMT 2018
Source: performous
Version: 1.1-2
Severity: serious
Tags: ftbfs buster sid
https://buildd.debian.org/status/package.php?p=performous&suite=sid
...
/<<PKGBUILDDIR>>/game/audio.cc: In static member function 'static boost::posix_time::time_duration AudioClock::getDuration(double)':
/<<PKGBUILDDIR>>/game/audio.cc:80:86: error: no matching function for call to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(double)'
static time_duration getDuration(double seconds) { return microseconds(1e6 * seconds); }
^
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from /usr/include/boost/date_time/local_time/local_time.hpp:11,
from /usr/include/boost/date_time.hpp:15,
from /<<PKGBUILDDIR>>/game/audio.hh:3,
from /<<PKGBUILDDIR>>/game/audio.cc:1:
/usr/include/boost/date_time/time_duration.hpp:285:14: note: candidate: 'template<class T> boost::date_time::subsecond_duration<base_duration, frac_of_second>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)'
explicit subsecond_duration(T const& ss,
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:285:14: note: template argument deduction/substitution failed:
/usr/include/boost/date_time/time_duration.hpp: In substitution of 'template<class T> boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T> >::type*) [with T = double]':
/<<PKGBUILDDIR>>/game/audio.cc:80:86: required from here
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type named 'type' in 'struct boost::enable_if<boost::is_integral<double>, void>'
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from /usr/include/boost/date_time/local_time/local_time.hpp:11,
from /usr/include/boost/date_time.hpp:15,
from /<<PKGBUILDDIR>>/game/audio.hh:3,
from /<<PKGBUILDDIR>>/game/audio.cc:1:
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&)'
class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from 'double' to 'const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&'
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&)'
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from 'double' to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&'
/<<PKGBUILDDIR>>/game/audio.cc: In member function 'boost::posix_time::time_duration Music::durationOf(int64_t) const':
/<<PKGBUILDDIR>>/game/audio.cc:152:99: error: no matching function for call to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(double)'
time_duration durationOf(int64_t samples) const { return microseconds(1e6 * samples / srate / 2.0); }
^
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from /usr/include/boost/date_time/local_time/local_time.hpp:11,
from /usr/include/boost/date_time.hpp:15,
from /<<PKGBUILDDIR>>/game/audio.hh:3,
from /<<PKGBUILDDIR>>/game/audio.cc:1:
/usr/include/boost/date_time/time_duration.hpp:285:14: note: candidate: 'template<class T> boost::date_time::subsecond_duration<base_duration, frac_of_second>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)'
explicit subsecond_duration(T const& ss,
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:285:14: note: template argument deduction/substitution failed:
/usr/include/boost/date_time/time_duration.hpp: In substitution of 'template<class T> boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T> >::type*) [with T = double]':
/<<PKGBUILDDIR>>/game/audio.cc:152:99: required from here
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type named 'type' in 'struct boost::enable_if<boost::is_integral<double>, void>'
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from /usr/include/boost/date_time/local_time/local_time.hpp:11,
from /usr/include/boost/date_time.hpp:15,
from /<<PKGBUILDDIR>>/game/audio.hh:3,
from /<<PKGBUILDDIR>>/game/audio.cc:1:
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&)'
class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from 'double' to 'const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&'
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&)'
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from 'double' to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&'
/<<PKGBUILDDIR>>/game/audio.cc: In constructor 'Music::Music(const Files&, unsigned int, bool)':
/<<PKGBUILDDIR>>/game/audio.cc:163:33: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
tracks.insert(tf.first, std::auto_ptr<Track>(new Track(tf.second, sr)));
^~~~~~~~
More information about the Pkg-games-devel
mailing list