[Bug 227540] comms/gnuradio: fails to build with boost 1.67

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 16 03:48:06 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227540

            Bug ID: 227540
           Summary: comms/gnuradio: fails to build with boost 1.67
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hamradio at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 227427
          Assignee: hamradio at FreeBSD.org
             Flags: maintainer-feedback?(hamradio at FreeBSD.org)

After bug 227427 lands this port will end up BROKEN. Can you help? See ports
r467364 for an example fix.

$ fetch -qo- 'https://reviews.freebsd.org/D15030?download=true' | patch -Efsp0
-d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-jam
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make all deinstall install clean -C/usr/ports/devel/boost-python-libs
$ make -C/usr/ports/comms/gnuradio
[...]
gr-blocks/lib/message_strobe_impl.cc:93:35: error: no matching conversion for
functional-style cast from 'float' to 'boost::posix_time::milliseconds' (aka
'subsecond_duration<boost::posix_time::time_duration, 1000>')
       
boost::this_thread::sleep(boost::posix_time::milliseconds(d_period_ms));
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/date_time/time_duration.hpp:270:30: note: candidate
constructor (the implicit copy constructor) not viable: no known conversion
from 'float' to 'const
boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>'
for 1st argument
  class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
                             ^
/usr/local/include/boost/date_time/time_duration.hpp:286:59: note: candidate
template ignored: disabled by 'enable_if' [with T = float]
                                typename
boost::enable_if<boost::is_integral<T>, void>::type* = 0) :
                                                          ^

http://package22.nyi.freebsd.org/data/103amd64-default-PR227427/2018-04-15_16h39m34s/logs/errors/gnuradio-3.7.11_1.log
http://package23.nyi.freebsd.org/data/111i386-default-PR227427/2018-04-15_19h03m01s/logs/errors/gnuradio-3.7.11_1.log
Regressed by: https://github.com/boostorg/date_time/commit/f9f2aaf5216c


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227427
[Bug 227427] devel/boost-all: Update to 1.67.0
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list