[MacPorts] #47577: bitcoin-0.10.1 compilation problems
#47577: bitcoin-0.10.1 compilation problems ------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: bitcoin ------------------------+------------------------ After patching 'finance/bitcoin' in attached file, one runs into the following compilation error: {{{ In file included from rpcrawtransaction.cpp:6: In file included from ./base58.h:21: In file included from ./script/standard.h:12: In file included from /opt/local/include/boost/variant.hpp:22: /opt/local/include/boost/variant/get.hpp:212:5: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE<false>' BOOST_STATIC_ASSERT_MSG( ^ /opt/local/include/boost/static_assert.hpp:36:48: note: expanded from macro 'BOOST_STATIC_ASSERT_MSG' # define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B ) ^ /opt/local/include/boost/static_assert.hpp:169:13: note: expanded from macro 'BOOST_STATIC_ASSERT' sizeof(::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST( __VA_ARGS__ ) >)>\ ^ /opt/local/include/boost/variant/get.hpp:284:12: note: in instantiation of function template specialization 'boost::strict_get<const CScriptID &, CNoDestination, CKeyID, CScriptID, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>' requested here return strict_get<U>(operand); ^ rpcrawtransaction.cpp:290:48: note: in instantiation of function template specialization 'boost::get<const CScriptID &, CNoDestination, CKeyID, CScriptID, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>' requested here const CScriptID& hash = boost::get<const CScriptID&>(address); ^ /opt/local/include/boost/static_assert.hpp:87:26: note: template is declared here template <bool x> struct STATIC_ASSERTION_FAILURE; ^ 1 error generated. make[2]: *** [libbitcoin_server_a-rpcrawtransaction.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_Users_evenson_dports_finance_bitcoin/bitcoin/work/bitcoin-0.10.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_Users_evenson_dports_finance_bitcoin/bitcoin/work/bitcoin-0.10.1/src' make: *** [all-recursive] Error 1 make: Leaving directory `/opt/local/var/macports/build/_Users_evenson_dports_finance_bitcoin/bitcoin/work/bitcoin-0.10.1' Command failed: cd "/opt/local/var/macports/build/_Users_evenson_dports_finance_bitcoin/bitcoin/work/bitcoin-0.10.1" && /usr/bin/make -w all }}} -- Ticket URL: <https://trac.macports.org/ticket/47577> MacPorts <https://www.macports.org/> Ports system for OS X
#47577: bitcoin-0.10.1 compilation problems -------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: bitcoin | -------------------------+------------------------ Comment (by vergus@…): reported earlier as bitcoin issue, since it's not specific to macports: https://github.com/bitcoin/bitcoin/issues/6056 -- Ticket URL: <https://trac.macports.org/ticket/47577#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47577: bitcoin-0.10.1 compilation problems -------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: bitcoin | -------------------------+------------------------ Comment (by easieste@…): Replying to [comment:1 vergus@…]:
reported earlier as bitcoin issue, since it's not specific to macports: https://github.com/bitcoin/bitcoin/issues/6056
Thanks for the notification: I'll watch that issue for resolution rather than trying to wade through C++/Boost interactions As far as I can determine, Bitcoin Core doesn't declare which versions of its dependencies it should be compiled against. Or is that a mistaken impression? -- Ticket URL: <https://trac.macports.org/ticket/47577#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47577: bitcoin-0.10.1 compilation problems -------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: bitcoin | -------------------------+------------------------ Changes (by easieste@…): * status: new => closed * resolution: => fixed Comment: Source was moved around post v0.10.1 tag, so it took a bit of searching to find the right place to apply a derived patch. Resolved with <http://trac.macports.org/changeset/136010>. -- Ticket URL: <https://trac.macports.org/ticket/47577#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts