From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 59004@debbugs.gnu.org
Subject: bug#59004: hyperledger-iroha is broken
Date: Thu, 03 Nov 2022 15:57:01 -0400 [thread overview]
Message-ID: <87fsezak1e.fsf@gmail.com> (raw)
Hi,
I've tried fixing hyperledger-iroha without success. Updating it to
latest would require prometheus-cpp, not yet packaged. Anything I've
tried always end up with C++ compilation errors, such as this one
(protobuf 3.14):
--8<---------------cut here---------------start------------->8---
c++14 -Wall -fdiagnostics-color=always -O2 -g -DNDEBUG -fPIC -MD -MT shared_model/backend/protobuf/CMakeFiles/shared_model_proto_backend.dir/queries/impl/proto_get_signatories.o -MF CMakeFiles/shared_model_proto_backend.dir/queries/impl/proto_get_signatories.o.d -o CMakeFiles/shared_model_proto_backend.dir/queries/impl/proto_get_signatories.o -c /tmp/guix-build-hyperledger-iroha-1.1.1.drv-0/source/shared_model/backend/protobuf/queries/impl/proto_get_signatories.cpp
/tmp/guix-build-hyperledger-iroha-1.1.1.drv-0/source/irohad/consensus/yac/impl/peer_orderer_impl.cpp: In member function ‘virtual boost::optional<iroha::consensus::yac::ClusterOrdering> iroha::consensus::yac::PeerOrdererImpl::getOrdering(const iroha::consensus::yac::YacHash&, std::vector<std::shared_ptr<shared_model::interface::Peer> >)’:
/tmp/guix-build-hyperledger-iroha-1.1.1.drv-0/source/irohad/consensus/yac/impl/peer_orderer_impl.cpp:28:14: error: ‘shuffle’ is not a member of ‘std’
28 | std::shuffle(peers.begin(), peers.end(), gen);
| ^~~~~~~
make[2]: *** [irohad/consensus/yac/CMakeFiles/yac.dir/build.make:121: irohad/consensus/yac/CMakeFiles/yac.dir/impl/peer_orderer_impl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
--8<---------------cut here---------------end--------------->8---
--
Thanks,
Maxim
next reply other threads:[~2022-11-03 19:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-03 19:57 Maxim Cournoyer [this message]
2022-11-04 11:01 ` bug#59004: hyperledger-iroha is broken Csepp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fsezak1e.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=59004@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).