Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629998 - dev-lang/solidity-0.4.2 : /.../InterfaceHandler.cpp:106:26: error: FastWriter is deprecated: Use StreamWriterBuilder instead [-Werror=deprecated-declarations]
Summary: dev-lang/solidity-0.4.2 : /.../InterfaceHandler.cpp:106:26: error: FastWriter...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mathy Vanvoorden
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-05 17:08 UTC by Toralf Förster
Modified: 2017-12-20 19:47 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.36 KB, text/plain)
2017-09-05 17:08 UTC, Toralf Förster
Details
dev-lang:solidity-0.4.2:20170905-144535.log (dev-lang:solidity-0.4.2:20170905-144535.log,54.79 KB, text/plain)
2017-09-05 17:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.37 KB, text/plain)
2017-09-05 17:08 UTC, Toralf Förster
Details
environment (environment,117.73 KB, text/plain)
2017-09-05 17:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.69 KB, application/x-bzip)
2017-09-05 17:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.13 KB, application/x-bzip)
2017-09-05 17:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.58 KB, application/x-bzip)
2017-09-05 17:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-05 17:08:04 UTC
/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
Comment 1 Toralf Förster gentoo-dev 2017-09-05 17:08:08 UTC
Created attachment 492596 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-05 17:08:11 UTC
Created attachment 492598 [details]
dev-lang:solidity-0.4.2:20170905-144535.log
Comment 3 Toralf Förster gentoo-dev 2017-09-05 17:08:15 UTC
Created attachment 492600 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-05 17:08:18 UTC
Created attachment 492602 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-05 17:08:22 UTC
Created attachment 492604 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-05 17:08:25 UTC
Created attachment 492606 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-09-05 17:08:28 UTC
Created attachment 492608 [details]
temp.tbz2
Comment 8 Mathy Vanvoorden 2017-11-07 22:26:30 UTC
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.
Comment 9 Larry the Git Cow gentoo-dev 2017-12-20 19:47:31 UTC
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(+)