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

CentOS build failure #128

Open
defunctec opened this issue Oct 9, 2020 · 2 comments
Open

CentOS build failure #128

defunctec opened this issue Oct 9, 2020 · 2 comments

Comments

@defunctec
Copy link

defunctec commented Oct 9, 2020

Please answer the following questions.

Which operating system?

CentOS 8

Which version of Crown are you using? (QT or Daemon) Please include the version number.

0.14.2

Please describe the expected behavior.

To build Crown successfully

Please describe the actual behavior.

Running into dependency issues

In file included from platform/governance-vote.cpp:7:0:
platform/specialtx.h: In instantiation of ‘bool Platform::CheckInputsHashAndSig(const CTransaction&,       const SpecialTxPayload&, const CKeyID&, CValidationState&) [with SpecialTxPayload = Platform::VoteTx       ’:
platform/governance-vote.cpp:22:61:   required from here
platform/specialtx.h:126:17: warning: variable ‘inputsHash’ set but not used [-Wunused-but-set-variab      le]
         uint256 inputsHash = CalcTxInputsHash(tx);
                 ^
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
  CXX      platform/libbitcoin_server_a-specialtx.o
In file included from platform/specialtx.cpp:15:0:
platform/nf-token/nf-tokens-manager.h:213:108: error: wrong number of template arguments (2, should b      e 5)
             using NftIndexRange = boost::any_range<const NfTokenIndex &, boost::bidirectional_traver      sal_tag>;
                                                                                                                  ^
In file included from platform/nf-token/nf-tokens-manager.h:10:0,
                 from platform/specialtx.cpp:15:
/usr/include/boost/range/any_range.hpp:82:15: error: provided for ‘template<class Value, class Traver      sal, class Reference, class Difference, class Buffer> class boost::range_detail::any_range’
         class any_range
               ^
In file included from platform/specialtx.cpp:15:0:
platform/nf-token/nf-tokens-manager.h:214:109: error: wrong number of template arguments (2, should b      e 5)
             using NftIndexForwardRange = boost::any_range<const NfTokenIndex &, boost::forward_trave      rsal_tag>;
                                                                                                                   ^
In file included from platform/nf-token/nf-tokens-manager.h:10:0,
                 from platform/specialtx.cpp:15:
/usr/include/boost/range/any_range.hpp:82:15: error: provided for ‘template<class Value, class Traver      sal, class Reference, class Difference, class Buffer> class boost::range_detail::any_range’
         class any_range
               ^
In file included from platform/specialtx.cpp:16:0:
platform/nf-token/nft-protocols-manager.h:105:110: error: wrong number of template arguments (2, shou      ld be 5)
         using NftProtoIndexRange = boost::any_range<const NftProtoIndex &, boost::bidirectional_trav      ersal_tag>;
                                                                                                                    ^
In file included from platform/nf-token/nf-tokens-manager.h:10:0,
                 from platform/specialtx.cpp:15:
/usr/include/boost/range/any_range.hpp:82:15: error: provided for ‘template<class Value, class Traver      sal, class Reference, class Difference, class Buffer> class boost::range_detail::any_range’
         class any_range
               ^
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
make[2]: *** [platform/libbitcoin_server_a-specialtx.o] Error 1
make[2]: Leaving directory `/root/crown-core/src'
make[1]: *** [all-recursive] Error 1

Any steps to reproduce the behavior?

yum update
yum upgrade
git clone https://gitlab.crownplatform.com/crown/crown-core.git
cd crown-core
make -C depends
yum install -y autoconf automake boost-devel gcc-c++ git libdb4-cxx libdb4-cxx-devel libevent-devel libtool libcurl-devel openssl-devel
./autogen.sh
./configure --without-miniupnpc --disable-tests --with-gui=no --disable-shared
make

@nmmmnu
Copy link

nmmmnu commented Feb 25, 2021

Same on CentOS 7

@DutchShadow
Copy link

See https://github.com/Crowndev/crown-core/blob/v0.14.0.4/.gitlab-ci.yml for latest packages and steps

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

No branches or pull requests

3 participants