Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557080 - net-p2p/cpp-ethereum: ebuild request
Summary: net-p2p/cpp-ethereum: ebuild request
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 21:38 UTC by A. Person
Modified: 2015-08-10 21:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2015-08-08 21:38:47 UTC
Ethereum was just released (it's a big deal):

https://ethereum.org

This bug is a request for an ebuild for ccp-ethereum:

https://github.com/ethereum/cpp-ethereum

I followed the build instructions here:

https://github.com/ethereum/cpp-ethereum/wiki/Building-on-Ubuntu#choose-your-source

I was able to get through cmake successfully:

cmake .. -DCMAKE_BUILD_TYPE=Release -DBUNDLE=minimal -DETHASHCL=0 -DEVMJIT=0 -DMINER=0

By installing the following:

leveldb
rocksdb
v8
libjson-rpc-cpp

But make fails:

In file included from /root/cpp-ethereum/libdevcore/CommonIO.h:39:0,
                 from /root/cpp-ethereum/libdevcore/CommonIO.cpp:22:
/root/cpp-ethereum/libdevcore/Common.h:87:2: error: unused parameter '_c' [-Werror=unused-parameter]
  secure_vector(secure_vector<T> const& _c) = default;
  ^
/root/cpp-ethereum/libdevcore/CommonIO.cpp: In function 'dev::bytesSec dev::contentsSec(const string&)':
/root/cpp-ethereum/libdevcore/CommonIO.cpp:99:9: note: synthesized method 'dev::secure_vector<T>::secure_vector(const dev::secure_vector<T>&) [with T = unsigned char]' first required here 
  return ret;
         ^
Comment 1 A. Person 2015-08-08 21:40:24 UTC
Oh and the cpp-ethereum ebuild in an overlay fails for me.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2015-08-10 19:24:43 UTC
You referred to http://gpo.zugaina.org/net-p2p/cpp-ethereum?
Comment 3 A. Person 2015-08-10 21:07:23 UTC
Yes, that one won't build for me.  I was able to build cpp-ethereum myself by removing -Werror from cmake/EthCompilerSettings.cmake and invoking cmake like this:

cmake .. -DCMAKE_BUILD_TYPE=Release -DBUNDLE=minimal -DETHASHCL=0 -DEVMJIT=0 -DJSCONSOLE=0

The only extra dependencies I had to install were leveldb, v8, and libjson-rpc-cpp.