[Bug 214470] dns/powerdns-recursor: fails to build with boost 1.62

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 13 10:47:28 UTC 2016


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

            Bug ID: 214470
           Summary: dns/powerdns-recursor: 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: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: tremere at cainites.net
            Blocks: 199601
             Flags: maintainer-feedback?(tremere at cainites.net)
                CC: tremere at cainites.net

In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:33:7: error: no member named 'make_fcontext' in namespace
'boost::context'; did you mean 'boost::context::detail::make_fcontext'?
using boost::context::make_fcontext;
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      boost::context::detail::make_fcontext
/usr/local/include/boost/context/detail/fcontext.hpp:33:35: note:
'boost::context::detail::make_fcontext' declared here
fcontext_t BOOST_CONTEXT_CALLDECL make_fcontext( void * sp, std::size_t size,
void (* fn)( transfer_t) );
                                  ^
In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:64:7: error: no member named 'fcontext_t' in namespace
'boost::context'; did you mean 'boost::context::detail::fcontext_t'?
using boost::context::fcontext_t;
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
      boost::context::detail::fcontext_t
/usr/local/include/boost/context/detail/fcontext.hpp:23:17: note:
'boost::context::detail::fcontext_t' declared here
typedef void*   fcontext_t;
                ^
In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:65:7: error: no member named 'jump_fcontext' in namespace
'boost::context'; did you mean 'boost::context::detail::jump_fcontext'?
using boost::context::jump_fcontext;
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      boost::context::detail::jump_fcontext
/usr/local/include/boost/context/detail/fcontext.hpp:31:35: note:
'boost::context::detail::jump_fcontext' declared here
transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, void *
vp);
                                  ^
In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:96:5: error: no matching function for call to
'jump_fcontext'
    jump_fcontext (reinterpret_cast<fcontext_t*>(&ctx->uc_mcontext),
    ^~~~~~~~~~~~~
/usr/local/include/boost/context/detail/fcontext.hpp:31:35: note: candidate
function not viable: requires 2 arguments, but 3 were provided
transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, void *
vp);
                                  ^
In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:109:5: error: no matching function for call to
'jump_fcontext'
    jump_fcontext (reinterpret_cast<fcontext_t*>(&ctx->uc_mcontext),
    ^~~~~~~~~~~~~
/usr/local/include/boost/context/detail/fcontext.hpp:31:35: note: candidate
function not viable: requires 2 arguments, but 3 were provided
transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, void *
vp);
                                  ^
In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:132:9: error: no matching function for call to
'jump_fcontext'
    if (jump_fcontext (reinterpret_cast<fcontext_t*>(&octx.uc_mcontext),
        ^~~~~~~~~~~~~
/usr/local/include/boost/context/detail/fcontext.hpp:31:35: note: candidate
function not viable: requires 2 arguments, but 3 were provided
transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, void *
vp);
                                  ^
In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:144:23: error: no matching function for call to
'make_fcontext'
    ctx.uc_mcontext = make_fcontext (&ctx.uc_stack[ctx.uc_stack.size()],
                      ^~~~~~~~~~~~~
/usr/local/include/boost/context/detail/fcontext.hpp:33:35: note: candidate
function not viable: no known conversion from 'void (*)(const intptr_t)' (aka
'void (*)(const int)') to 'void (*)(boost::context::detail::transfer_t)' for
3rd argument
fcontext_t BOOST_CONTEXT_CALLDECL make_fcontext( void * sp, std::size_t size,
void (* fn)( transfer_t) );
                                  ^
In file included from mtasker_context.cc:27:
./mtasker_fcontext.cc:149:5: error: no matching function for call to
'jump_fcontext'
    jump_fcontext (reinterpret_cast<fcontext_t*>(&args.prev_ctx),
    ^~~~~~~~~~~~~
/usr/local/include/boost/context/detail/fcontext.hpp:31:35: note: candidate
function not viable: requires 2 arguments, but 3 were provided
transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, void *
vp);
                                  ^
8 errors generated.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199601
[Bug 199601] devel/boost-all: Upgrade to 1.58, 1.59, or 1.60
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list