Bug 237017 - net-p2p/zetacoin: fails to build with boost 1.70
Summary: net-p2p/zetacoin: fails to build with boost 1.70
Status: New
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
Keywords: needs-patch, regression
Depends on:
Blocks: 235956
  Show dependency treegraph
Reported: 2019-04-04 15:50 UTC by Jan Beich
Modified: 2019-07-28 21:12 UTC (History)
1 user (show)

See Also:
daniel: maintainer-feedback+

Unified diff containing the described changes (28.38 KB, patch)
2019-07-18 01:20 UTC, Daniel Morante
daniel: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-04-04 15:50:04 UTC
While preparing for Boost upgrade this port failed to build. Can you help to avoid marking it as BROKEN?

$ fetch -qo- 'https://reviews.freebsd.org/D19303?download=true' |
  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 -C/usr/ports/net-p2p/zetacoin
rpcserver.cpp:511:111: error: no member named 'get_io_service' in 'boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::executor>'
    boost::shared_ptr< AcceptedConnectionImpl<Protocol> > conn(new AcceptedConnectionImpl<Protocol>(acceptor->get_io_service(), context, fUseSSL));
                                                                                                    ~~~~~~~~  ^
rpcserver.cpp:702:13: note: in instantiation of function template specialization 'RPCListen<boost::asio::ip::tcp>' requested here
            RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
1 error generated.
Comment 1 Daniel Morante 2019-04-07 21:37:12 UTC
I'll update this to the latest upstream to see if that solves the problem.
Comment 2 Jan Beich freebsd_committer 2019-04-12 09:44:14 UTC
The port has been marked BROKEN in ports r498698.
Comment 3 Daniel Morante 2019-07-17 16:01:24 UTC
Currently running build tests on the updated port.  I'll post the patch once those pass.
Comment 4 Daniel Morante 2019-07-18 01:20:54 UTC
Created attachment 205856 [details]
Unified diff containing the described changes

Updated Zetacoin to and refactored the port to align with the style used in net-p2p/bitcoin.  

Summary of changes:

- Renamed slave port net-p2p/netacoin-nox11 to net-p2p/zetacoin-daemon.
- The zetacoin-cli and zetacoin-tx utilities have been re-packaged into
  a separate port: net-p2p/zetacoin-utils

Build tests passed on 11.2 and 12.0 (amd63 and i386) using poudriere.

SVN commands that were used:

svnlite remove net-p2p/zetacoin/files/patch-src_bitcoin-cli.cpp 
svnlite remove net-p2p/zetacoin/files/patch-src_rpcserver.cpp 
svnlite remove net-p2p/zetacoin/pkg-plist 
svnlite move net-p2p/zetacoin/files/zetacoin.conf.sample files/zetacoin.conf
svnlite add net-p2p/zetacoin/files/patch-src_Makefile.bench.include 
svnlite add net-p2p/zetacoin/files/patch-src_miner.h 
svnlite add net-p2p/zetacoin/files/patch-src_txmempool.h
svnlite add net-p2p/zetacoin/files/zetacoin-qt.desktop 
svnlite add net-p2p/zetacoin/pkg-help 
svnlite add net-p2p/zetacoin-daemon
svnlite add net-p2p/zetacoin-utils