reproducible_build.sh problems Ubuntu 16.04 #117

Closed
opened 2018-04-09 21:40:49 +02:00 by kaykurokawa · 1 comment
kaykurokawa commented 2018-04-09 21:40:49 +02:00 (Migrated from github.com)

Seems to be issues using reproducible_build.sh on Ubuntu 16.04 , I get below problems on a fresh 16.04 install running "reproducible_build.sh -c -t"

libbitcoin_wallet.a(libbitcoin_wallet_a-rbf.o): In function IsRBFOptIn(CTransaction const&, CTxMemPool&)': /home/treantprotector/Documents/lbrycrd/src/policy/rbf.cpp:39: undefined reference to CTxMemPool::CalculateMemPoolAncestors(CTxMemPoolEntry const&, std::set<boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator > > > > > > >, CTxMemPool::CompareIteratorByHash, std::allocator<boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator > > > > > > > > >&, unsigned long, unsigned long, unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, bool) const'

reproducible_build.sh worked after running..

sudo apt-get install libevent-dev
sudo apt-get install libssl-dev

I believe it is actually a libevent problem , seems that https://github.com/lbryio/lbrycrd/blob/master/reproducible_build.sh#L300 does not checkout a specific version .. libvevent-dev is version 2.0.21-stable: https://packages.ubuntu.com/search?keywords=libevent-dev

And the version under depends https://github.com/lbryio/lbrycrd/blob/master/depends/packages/libevent.mk is libevent 2.0.22-stable

Tying to verify this..

Seems to be issues using reproducible_build.sh on Ubuntu 16.04 , I get below problems on a fresh 16.04 install running "reproducible_build.sh -c -t" libbitcoin_wallet.a(libbitcoin_wallet_a-rbf.o): In function `IsRBFOptIn(CTransaction const&, CTxMemPool&)': /home/treantprotector/Documents/lbrycrd/src/policy/rbf.cpp:39: undefined reference to `CTxMemPool::CalculateMemPoolAncestors(CTxMemPoolEntry const&, std::set<boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator<CTxMemPoolEntry> > > > > > > >, CTxMemPool::CompareIteratorByHash, std::allocator<boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator<CTxMemPoolEntry> > > > > > > > > >&, unsigned long, unsigned long, unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) const' reproducible_build.sh worked after running.. sudo apt-get install libevent-dev sudo apt-get install libssl-dev I believe it is actually a libevent problem , seems that https://github.com/lbryio/lbrycrd/blob/master/reproducible_build.sh#L300 does not checkout a specific version .. libvevent-dev is version 2.0.21-stable: https://packages.ubuntu.com/search?keywords=libevent-dev And the version under depends https://github.com/lbryio/lbrycrd/blob/master/depends/packages/libevent.mk is libevent 2.0.22-stable Tying to verify this..
kaykurokawa commented 2018-04-18 22:55:13 +02:00 (Migrated from github.com)
fixed in https://github.com/lbryio/lbrycrd/pull/118
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrycrd#117
No description provided.