Closed kaykurokawa closed 6 years ago
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 toCTxMemPool::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'
IsRBFOptIn(CTransaction const&, CTxMemPool&)': /home/treantprotector/Documents/lbrycrd/src/policy/rbf.cpp:39: undefined reference to
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..
fixed in https://github.com/lbryio/lbrycrd/pull/118
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 > > > > > > >, 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'
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::allocatorreproducible_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..