Skip to content

build error #6056

Closed
Closed

Description

@y

can't build latest git master (734f80a).
boost version 1.58
...
CXX wallet/libbitcoin_wallet_a-rpcwallet.o
In file included from wallet/rpcwallet.cpp:7:
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:42: error: implicit instantiation of undefined template 'boost::STATIC_ASSERTION_FAILURE'
typedef ::boost::static_assert_test< sizeof(::boost::STATIC_ASSERTION_FAILURE< (((boost::detail::variant::holds_element<boost::variant< T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 >, U >::value)) == 0 ? false : true) >)> boost_static_assert_typedef_216 ;
^
/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(operand);
^
wallet/rpcwallet.cpp:2333: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 struct STATIC_ASSERTION_FAILURE;
^
1 error generated.
make[2]: *** [wallet/libbitcoin_wallet_a-rpcwallet.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Activity

  1. easye commented on Apr 28, 2015

    @easye

    Note that this failure occurs for the v0.10.1 tag as well.

    Is there a statement somewhere of the versions of dependencies that Bitcoin Core has been tested with?

  2. theuni commented on Apr 28, 2015

    @theuni
    Member

    I've just verified this problem. It's due to the breaking change in boost 1.58 (See the variant notes here: http://www.boost.org/users/history/version_1_58_0.html)

    Fix is coming right up.

  3. locked as resolved and limited conversation to collaborators on Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions