/var/tmp/portage/dev-lang/solidity-0.4.2/work/solidity-0.4.2/libsolidity/interface/InterfaceHandler.cpp: In static member function ‘static std::__cxx11::string dev::solidity::InterfaceHandler::abiInterface(const dev::solidity::ContractDefinition&)’: /var/tmp/portage/dev-lang/solidity-0.4.2/work/solidity-0.4.2/libsolidity/interface/InterfaceHandler.cpp:106:26: error: ‘FastWriter’ is deprecated: Use StreamWriterBuilder instead [-Werror=deprecated-declarations] return Json::FastWriter().write(abi); ^ In file included from /usr/include/jsoncpp/json/json.h:12:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-systemd_libressl_20170902-185407 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * emerge -qpv dev-lang/solidity [ebuild N ] dev-lang/solidity-0.4.2
Created attachment 492596 [details] emerge-info.txt
Created attachment 492598 [details] dev-lang:solidity-0.4.2:20170905-144535.log
Created attachment 492600 [details] emerge-history.txt
Created attachment 492602 [details] environment
Created attachment 492604 [details] etc.portage.tbz2
Created attachment 492606 [details] logs.tbz2
Created attachment 492608 [details] temp.tbz2
The build breaks with jsoncpp-1.8.3, I'll add a dependency on 1.8.1, which works fine. Upstream actually uses version 1.7.7 hardcoded in the CMake files but that isn't in the tree.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6632bce8e713fab5f91ca75798ba9ae546f58c16 commit 6632bce8e713fab5f91ca75798ba9ae546f58c16 Author: Mathy Vanvoorden <mathy@vanvoorden.be> AuthorDate: 2017-11-07 22:35:49 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2017-12-20 19:47:16 +0000 dev-lang/solidity: version bump to 0.4.18 The previous patch needed to build valid releases is no longer needed since upstream now provides valid release tarballs. A new patch is added to remove the download and static compile of jsoncpp during the build. The dependency has been fixed on 1.8.1 since the code does not compile with a newer version. Upstream actually fixes to 1.7.7 but that version isn't in the tree and 1.8.1 works. Closes: https://bugs.gentoo.org/629998 Closes: https://bugs.gentoo.org/627940 Package-Manager: Portage-2.3.8, Repoman-2.3.4 dev-lang/solidity/Manifest | 1 + ...solidity-0.4.18-fix-cmake-external-jsoncpp.diff | 15 +++++++++ dev-lang/solidity/solidity-0.4.18.ebuild | 37 ++++++++++++++++++++++ 3 files changed, 53 insertions(+)