Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 03:48:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227540] comms/gnuradio: fails to build with boost 1.67
Message-ID:  <bug-227540-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227540

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 227427
          Assignee: hamradio@FreeBSD.org
             Flags: maintainer-feedback?(hamradio@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=3Dtrue' | 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 f=
or
functional-style cast from 'float' to 'boost::posix_time::milliseconds' (aka
'subsecond_duration<boost::posix_time::time_duration, 1000>')
=20=20=20=20=20=20=20
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 =3D float]
                                typename
boost::enable_if<boost::is_integral<T>, void>::type* =3D 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_1=
9h03m01s/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=3D227427
[Bug 227427] devel/boost-all: Update to 1.67.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227540-7788>