Bug#914640: supercollider FTBFS on amd64/i386 with boost 1.67
Philip Chung
philipchung1995 at yahoo.com
Fri Jan 4 06:27:00 GMT 2019
Control: tags -1 + fixed-upstream patch
On 11/25/18 12:45 PM, Adrian Bunk wrote:
> Source: supercollider
> Version: 1:3.8.0~repack-2
> Severity: serious
> Tags: ftbfs
>
> https://buildd.debian.org/status/package.php?p=supercollider&suite=sid
>
> ...
> In file included from /<<PKGBUILDDIR>>/server/supernova/sc/../server/synth.hpp:29,
> from /<<PKGBUILDDIR>>/server/supernova/sc/sc_synth.hpp:31,
> from /<<PKGBUILDDIR>>/server/supernova/sc/sc_synth_definition.cpp:25:
> /<<PKGBUILDDIR>>/server/supernova/./utilities/time_tag.hpp: In member function 'boost::posix_time::ptime nova::time_tag::to_ptime() const':
> /<<PKGBUILDDIR>>/server/supernova/./utilities/time_tag.hpp:233:102: error: no matching function for call to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(double)'
> time_duration offset = seconds(get_secs() - ntp_offset) + microseconds(get_nanoseconds()/1000);
> ^
> [snip]
This is fixed in an upstream commit at:
https://github.com/supercollider/supercollider/commit/bbcd068659ced596402dedc78f49fabfab6470bd.patch
It simply applies "static_cast<long>" to the result of the division.
Interestingly enough, it is not in any released version (up to 3.10.0).
Philip Chung
More information about the pkg-multimedia-maintainers
mailing list