Bug 224131 - net-p2p/dogecoin: fails to build with boost 1.66
Summary: net-p2p/dogecoin: fails to build with boost 1.66
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-patch
Depends on:
Blocks: 223922
  Show dependency treegraph
 
Reported: 2017-12-05 21:29 UTC by Jan Beich
Modified: 2018-08-21 18:46 UTC (History)
1 user (show)

See Also:
ehaupt: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2017-12-05 21:29:26 UTC
As part of exp-run in bug 223922 this port was found to break on Boost update. 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=true' | 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,
                                                                                                      ^
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,
                                                                                                        ^
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,
                                                                                               ^
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,
                                                                                                 ^
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));
                                                                                                             ^~
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,
                                                                                                      ^
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,
                                                                                                        ^
rpcserver.cpp: In function 'void RPCAcceptHandler(int, boost::asio::ssl::context&, bool, boost::shared_ptr<AcceptedConnection>, const boost::system::error_code&)':
rpcserver.cpp:547:67: error: base operand of '->' is not a pointer
     if (error != boost::asio::error::operation_aborted && acceptor->is_open())
                                                                   ^~
rpcserver.cpp:548:45: error: no matching function for call to 'RPCListen(int&, 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 failed:
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 = new ssl::context(*rpc_io_service, ssl::context::sslv23);
                                                                             ^
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 failed:
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_11h06m37s/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_09h31m14s/logs/errors/dogecoin-1.10.0.log
Comment 1 Emanuel Haupt freebsd_committer 2017-12-06 07:04:09 UTC
Thanks for the heads-up. I'm currently looking into fixing the port but please don't wait for me with your update. You may mark this one broken for the time being.
Comment 2 Emanuel Haupt freebsd_committer 2018-07-14 11:37:31 UTC
Back to the pool. I no longer maintain this port.
Comment 3 Jan Beich freebsd_committer 2018-07-17 09:22:35 UTC
portmgr@ set EXPIRATION_DATE in ports r474787. Without maintainer to offer a fix or update the port is likely to be removed as scheduled.
Comment 4 Rene Ladan freebsd_committer 2018-08-21 18:46:10 UTC
Expired port removed.