[MacPorts] #47577: bitcoin-0.10.1 compilation problems

MacPorts noreply at macports.org
Mon Apr 27 05:08:48 PDT 2015


#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


More information about the macports-tickets mailing list