Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #6056

Closed
y opened this issue Apr 24, 2015 · 2 comments · Fixed by #6076
Closed

build error #6056

y opened this issue Apr 24, 2015 · 2 comments · Fixed by #6076

Comments

@y
Copy link

y commented Apr 24, 2015

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

@easye
Copy link

easye commented Apr 28, 2015

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?

@theuni
Copy link
Member

theuni commented Apr 28, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants