Bug#914640: supercollider FTBFS on amd64/i386 with boost 1.67

2019-01-03 Thread Philip Chung
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=sid
> 
> ...
> In file included from 
> /<>/server/supernova/sc/../server/synth.hpp:29,
>  from /<>/server/supernova/sc/sc_synth.hpp:31,
>  from 
> /<>/server/supernova/sc/sc_synth_definition.cpp:25:
> /<>/server/supernova/./utilities/time_tag.hpp: In member 
> function 'boost::posix_time::ptime nova::time_tag::to_ptime() const':
> /<>/server/supernova/./utilities/time_tag.hpp:233:102: error: no 
> matching function for call to 
> 'boost::date_time::subsecond_duration 100>::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" to the result of the division.
Interestingly enough, it is not in any released version (up to 3.10.0).

Philip Chung

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Processed: Re: Bug#914640: supercollider FTBFS on amd64/i386 with boost 1.67

2019-01-03 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + fixed-upstream patch
Bug #914640 [src:supercollider] supercollider FTBFS on amd64/i386 with boost 
1.67
Added tag(s) patch and fixed-upstream.

-- 
914640: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914640
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#914640: supercollider FTBFS on amd64/i386 with boost 1.67

2018-11-25 Thread Adrian Bunk
Source: supercollider
Version: 1:3.8.0~repack-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=supercollider=sid

...
In file included from 
/<>/server/supernova/sc/../server/synth.hpp:29,
 from /<>/server/supernova/sc/sc_synth.hpp:31,
 from 
/<>/server/supernova/sc/sc_synth_definition.cpp:25:
/<>/server/supernova/./utilities/time_tag.hpp: In member function 
'boost::posix_time::ptime nova::time_tag::to_ptime() const':
/<>/server/supernova/./utilities/time_tag.hpp:233:102: error: no 
matching function for call to 
'boost::date_time::subsecond_duration::subsecond_duration(double)'
 time_duration offset = seconds(get_secs() - ntp_offset) + 
microseconds(get_nanoseconds()/1000);

  ^
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_types.hpp:12,
 from /usr/include/boost/thread/thread_time.hpp:11,
 from /usr/include/boost/thread/lock_types.hpp:18,
 from /usr/include/boost/thread/pthread/mutex.hpp:16,
 from /usr/include/boost/thread/mutex.hpp:16,
 from /usr/include/boost/thread/pthread/shared_mutex.hpp:14,
 from /usr/include/boost/thread/shared_mutex.hpp:28,
 from 
/<>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:27,
 from 
/<>/server/supernova/./utilities/named_hash_entry.hpp:27,
 from /<>/server/supernova/sc/sc_synthdef.hpp:30,
 from 
/<>/server/supernova/sc/sc_synth_definition.hpp:24,
 from /<>/server/supernova/sc/sc_synth.hpp:29,
 from 
/<>/server/supernova/sc/sc_synth_definition.cpp:25:
/usr/include/boost/date_time/time_duration.hpp:285:14: note: candidate: 
'template boost::date_time::subsecond_duration::subsecond_duration(const T&, typename 
boost::enable_if, 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 
boost::date_time::subsecond_duration::subsecond_duration(const T&, typename 
boost::enable_if, void>::type*) [with T = double]':
/<>/server/supernova/./utilities/time_tag.hpp:233:102:   required 
from here
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type named 
'type' in 'struct boost::enable_if, 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_types.hpp:12,
 from /usr/include/boost/thread/thread_time.hpp:11,
 from /usr/include/boost/thread/lock_types.hpp:18,
 from /usr/include/boost/thread/pthread/mutex.hpp:16,
 from /usr/include/boost/thread/mutex.hpp:16,
 from /usr/include/boost/thread/pthread/shared_mutex.hpp:14,
 from /usr/include/boost/thread/shared_mutex.hpp:28,
 from 
/<>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:27,
 from 
/<>/server/supernova/./utilities/named_hash_entry.hpp:27,
 from /<>/server/supernova/sc/sc_synthdef.hpp:30,
 from 
/<>/server/supernova/sc/sc_synth_definition.hpp:24,
 from /<>/server/supernova/sc/sc_synth.hpp:29,
 from 
/<>/server/supernova/sc/sc_synth_definition.cpp:25:
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: 
'boost::date_time::subsecond_duration::subsecond_duration(const 
boost::date_time::subsecond_duration&)'
   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&'
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: 
'boost::date_time::subsecond_duration::subsecond_duration(boost::date_time::subsecond_duration&&)'
/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&&'
make[3]: *** [server/supernova/CMakeFiles/libsupernova.dir/build.make:66: 
server/supernova/CMakeFiles/libsupernova.dir/sc/sc_synth_definition.cpp.o] 
Error 1