Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2016 10:36:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 214469] sysutils/facter: fails to build with boost 1.62
Message-ID:  <bug-214469-21402@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 214469
           Summary: sysutils/facter: fails to build with boost 1.62
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 199601
          Assignee: ruby@FreeBSD.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)

vendor/leatherman/logging/src/logging.cc:75:44: error: no matching construc=
tor
for initialization of 'sink_t' (aka
'synchronous_sink<leatherman::logging::color_writer>')
        boost::shared_ptr<sink_t> sink(new sink_t(&dst));
                                           ^      ~~~~
/usr/local/include/boost/log/sinks/sync_frontend.hpp:72:7: note: candidate
constructor (the implicit copy constructor) not viable: no known conversion
from 'ostream *' (aka 'basic_ostream<char> *') to 'const
boost::log::v2_mt_posix::sinks::synchronous_sink<leatherman::logging::color=
_writer>'
for 1st argument
class synchronous_sink :
      ^
/usr/local/include/boost/log/sinks/sync_frontend.hpp:123:14: note: candidate
constructor not viable: no known conversion from 'ostream *' (aka
'basic_ostream<char> *') to 'const shared_ptr<sink_backend_type>' for 1st
argument
    explicit synchronous_sink(shared_ptr< sink_backend_type > const& backen=
d) :
             ^
/usr/local/include/boost/log/sinks/sync_frontend.hpp:134:45: note: candidate
template ignored: substitution failure [with T0 =3D std::__1::basic_ostream=
<char,
std::__1::char_traits<char> > *]: no type named 'type' in
'boost::log::v2_mt_posix::aux::enable_if_named_parameters<std::__1::basic_o=
stream<char,
std::__1::char_traits<char> > *, boost::log::v2_mt_posix::aux::sfinae_dummy=
>'
=20=20=20
BOOST_LOG_PARAMETRIZED_CONSTRUCTORS_GEN(BOOST_LOG_SINK_CTOR_FORWARD_INTERNA=
L,
~)
                                            ^
/usr/local/include/boost/log/detail/parameter_tools.hpp:44:66: note: expand=
ed
from macro 'BOOST_LOG_PARAMETRIZED_CONSTRUCTORS_GEN'
        BOOST_PP_REPEAT_FROM_TO(1, BOOST_LOG_MAX_PARAMETER_ARGS, macro, arg=
s)
                                                                 ^
/usr/local/include/boost/preprocessor/repetition/repeat_from_to.hpp:36:125:
note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_1'
# define BOOST_PP_REPEAT_FROM_TO_1(f, l, m, dt)
BOOST_PP_REPEAT_FROM_TO_D_1(BOOST_PP_AUTO_REC(BOOST_PP_WHILE_P, 256), f, l,=
 m,
dt)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                            ^
/usr/local/include/boost/preprocessor/repetition/repeat_from_to.hpp:54:136:
note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_D_1'
#    define BOOST_PP_REPEAT_FROM_TO_D_1(d, f, l, m, dt)
BOOST_PP_REPEAT_1(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FROM_TO_M_1, (d,=
 f,
m, dt))
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                                       ^
note: (skipping 25 expansions in backtrace; use -fmacro-backtrace-limit=3D0=
 to
see all)
/usr/local/include/boost/preprocessor/control/iif.hpp:25:60: note: expanded
from macro 'BOOST_PP_IIF_I'
#    define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)
                                                           ^
/usr/local/include/boost/preprocessor/control/iif.hpp:32:31: note: expanded
from macro 'BOOST_PP_IIF_1'
# define BOOST_PP_IIF_1(t, f) t
                              ^
/usr/local/include/boost/log/sinks/sync_frontend.hpp:51:14: note: expanded =
from
macro 'BOOST_LOG_SINK_CTOR_FORWARD_INTERNAL_1'
    explicit synchronous_sink(T0 const& arg0, typename
boost::log::aux::enable_if_named_parameters< T0, boost::log::aux::sfinae_du=
mmy
>::type =3D boost::log::aux::sfinae_dummy()) :\
             ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                                                         ~~~~
/usr/local/include/boost/log/sinks/sync_frontend.hpp:134:45: note: candidate
constructor template not viable: requires 2 arguments, but 1 was provided
/usr/local/include/boost/log/detail/parameter_tools.hpp:44:66: note: expand=
ed
from macro 'BOOST_LOG_PARAMETRIZED_CONSTRUCTORS_GEN'
        BOOST_PP_REPEAT_FROM_TO(1, BOOST_LOG_MAX_PARAMETER_ARGS, macro, arg=
s)
                                                                 ^


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199601
[Bug 199601] devel/boost-all: Upgrade to 1.58, 1.59, or 1.60
--=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-214469-21402>