Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2017 21:29:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224131] net-p2p/dogecoin: fails to build with boost 1.66
Message-ID:  <bug-224131-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 224131
           Summary: net-p2p/dogecoin: fails to build with boost 1.66
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 223922
             Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
          Assignee: ehaupt@FreeBSD.org

As part of exp-run in bug 223922 this port was found to break on Boost upda=
te.
If the issue won't disappear on its own by Boost release I plan to mark the
port as BROKEN. Can you check with upstream maintainer or help with a fix?

$ fetch -qo- 'https://reviews.freebsd.org/D13279?download=3Dtrue' | patch -=
Efsp0
-d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make -C/usr/ports/net-p2p/dogecoin
[...]
rpcserver.cpp:507:102: error: wrong number of template arguments (2, should=
 be
1)
 static void RPCAcceptHandler(boost::shared_ptr<
basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
=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
                      ^
In file included from /usr/local/include/boost/asio.hpp:30:0,
                 from rpcprotocol.h:15,
                 from rpcserver.h:10,
                 from rpcserver.cpp:6:
/usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided
for 'template<class Protocol> class boost::asio::basic_socket_acceptor'
 class basic_socket_acceptor
       ^~~~~~~~~~~~~~~~~~~~~
rpcserver.cpp:507:104: error: template argument 1 is invalid
 static void RPCAcceptHandler(boost::shared_ptr<
basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
=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
                        ^
rpcserver.cpp:517:95: error: wrong number of template arguments (2, should =
be
1)
 static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol,
SocketAcceptorService> > acceptor,
=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
               ^
In file included from /usr/local/include/boost/asio.hpp:30:0,
                 from rpcprotocol.h:15,
                 from rpcserver.h:10,
                 from rpcserver.cpp:6:
/usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided
for 'template<class Protocol> class boost::asio::basic_socket_acceptor'
 class basic_socket_acceptor
       ^~~~~~~~~~~~~~~~~~~~~
rpcserver.cpp:517:97: error: template argument 1 is invalid
 static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol,
SocketAcceptorService> > acceptor,
=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
                 ^
rpcserver.cpp: In function 'void RPCListen(int, boost::asio::ssl::context&,
bool)':
rpcserver.cpp:522:109: error: base operand of '->' is not a pointer
     boost::shared_ptr< AcceptedConnectionImpl<Protocol> > conn(new
AcceptedConnectionImpl<Protocol>(acceptor->get_io_service(), context,
fUseSSL));
=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
                             ^~
rpcserver.cpp:524:13: error: base operand of '->' is not a pointer
     acceptor->async_accept(
             ^~
rpcserver.cpp: At global scope:
rpcserver.cpp:540:102: error: wrong number of template arguments (2, should=
 be
1)
 static void RPCAcceptHandler(boost::shared_ptr<
basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
=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
                      ^
In file included from /usr/local/include/boost/asio.hpp:30:0,
                 from rpcprotocol.h:15,
                 from rpcserver.h:10,
                 from rpcserver.cpp:6:
/usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided
for 'template<class Protocol> class boost::asio::basic_socket_acceptor'
 class basic_socket_acceptor
       ^~~~~~~~~~~~~~~~~~~~~
rpcserver.cpp:540:104: error: template argument 1 is invalid
 static void RPCAcceptHandler(boost::shared_ptr<
basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
=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
                        ^
rpcserver.cpp: In function 'void RPCAcceptHandler(int,
boost::asio::ssl::context&, bool, boost::shared_ptr<AcceptedConnection>, co=
nst
boost::system::error_code&)':
rpcserver.cpp:547:67: error: base operand of '->' is not a pointer
     if (error !=3D boost::asio::error::operation_aborted && acceptor->is_o=
pen())
                                                                   ^~
rpcserver.cpp:548:45: error: no matching function for call to 'RPCListen(in=
t&,
boost::asio::ssl::context&, const bool&)'
         RPCListen(acceptor, context, fUseSSL);
                                             ^
rpcserver.cpp:517:13: note: candidate: template<class Protocol, class
SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)
 static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol,
SocketAcceptorService> > acceptor,
             ^~~~~~~~~
rpcserver.cpp:517:13: note:   template argument deduction/substitution fail=
ed:
rpcserver.cpp:548:45: note:   couldn't deduce template parameter 'Protocol'
         RPCListen(acceptor, context, fUseSSL);
                                             ^
rpcserver.cpp: In function 'void StartRPCThreads()':
rpcserver.cpp:634:77: error: no matching function for call to
'boost::asio::ssl::context::context(boost::asio::io_service&,
boost::asio::ssl::context_base::method)'
     rpc_ssl_context =3D new ssl::context(*rpc_io_service, ssl::context::ss=
lv23);
                                                                           =
  ^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:757:0,
                 from /usr/local/include/boost/asio/ssl.hpp:18,
                 from rpcprotocol.h:16,
                 from rpcserver.h:10,
                 from rpcserver.cpp:6:
/usr/local/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate:
boost::asio::ssl::context::context(boost::asio::ssl::context&&)
 context::context(context&& other)
 ^~~~~~~
/usr/local/include/boost/asio/ssl/impl/context.ipp:326:1: note:   candidate
expects 1 argument, 2 provided
/usr/local/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate:
boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)
 context::context(context::method m)
 ^~~~~~~
/usr/local/include/boost/asio/ssl/impl/context.ipp:63:1: note:   candidate
expects 1 argument, 2 provided
rpcserver.cpp:653:50: error: 'class boost::asio::ssl::context' has no member
named 'impl'
         SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str(=
));
                                                  ^~~~
rpcserver.cpp:713:58: error: no matching function for call to
'RPCListen(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio=
::ip::tcp>
>&, boost::asio::ssl::context&, const bool&)'
             RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
                                                          ^
rpcserver.cpp:517:13: note: candidate: template<class Protocol, class
SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)
 static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol,
SocketAcceptorService> > acceptor,
             ^~~~~~~~~
rpcserver.cpp:517:13: note:   template argument deduction/substitution fail=
ed:
rpcserver.cpp:713:58: note:   couldn't deduce template parameter 'Protocol'
             RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
                                                          ^

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_1=
1h06m37s/logs/errors/dogecoin-1.10.0.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_=
11h06m39s/logs/errors/dogecoin-1.10.0.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_=
09h31m05s/logs/errors/dogecoin-1.10.0.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_0=
9h31m14s/logs/errors/dogecoin-1.10.0.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223922
[Bug 223922] devel/boost-all: Update to 1.66.0 (currently beta)
--=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-224131-13>