Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504874 - net-p2p/bitcoin{d,-qt}-0.9.2.1 should RDEPEND on >=leveldb-1.15.0-r1
Summary: net-p2p/bitcoin{d,-qt}-0.9.2.1 should RDEPEND on >=leveldb-1.15.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
: 518662 521354 (view as bug list)
Depends on: 502716 505320
Blocks:
  Show dependency tree
 
Reported: 2014-03-17 10:21 UTC by Michael Hampicke
Modified: 2015-02-23 23:08 UTC (History)
6 users (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 Michael Hampicke 2014-03-17 10:21:52 UTC
Is there any special reason why bitcoin-qt depends on dev-libs/leveldb <= 1.12.0? If I manually change the ebuild on my machine, upgrade leveldb to 1.15.0 and then reinstall bitcoin-qt, it compiles just fine.

If there is no special reason to depend on dev-libs/leveldb <= 1.12.0, I'd suggest to remove the version number from RDEPEND.
Comment 1 Luke-Jr 2014-03-22 04:43:14 UTC
There is more to dependencies than just a successful build.

Consensus systems are a very new field of computer science with very non-traditional requirements which projects like LevelDB do *not* aim to achieve. For example, an innocent bug fix may cause a critical consensus divergence.

Because of this, new versions of LevelDB need to be audited to ensure their changes do not break the consensus of the Bitcoin protocol.

1.15.0 has now been vetted for safety, but it is not clear whether upgrading is a good idea: it is not backward-compatible.
Comment 2 Michael Hampicke 2014-03-22 11:38:03 UTC
Well, I think the solution just presented itself :-) There has been a new release of bitcoin-qt (which now is called bitcoin-core).

There's a line in the release notes: https://bitcoin.org/bin/0.9.0/README.txt:
- Update leveldb to 1.15

There's already a ebuild on the bitcoin overlay, but this sill depends on leveldb <= 1.12. So this needs to be fixed.
Comment 3 Luke-Jr 2014-03-22 20:05:34 UTC
If only it was that simple. We still need to address how to deal with the break in backward compatibility, as well as linking problems for 0.9.0 on some platforms. :(
Comment 4 Luke-Jr 2014-03-22 20:05:51 UTC
Can someone set depends on 505320 and 502716?
Comment 5 Anthony Basile gentoo-dev 2014-08-28 23:56:38 UTC
*** Bug 518662 has been marked as a duplicate of this bug. ***
Comment 6 Anthony Basile gentoo-dev 2014-08-28 23:57:10 UTC
*** Bug 521354 has been marked as a duplicate of this bug. ***
Comment 7 Luke-Jr 2015-02-23 23:05:26 UTC
This can be closed now. We're using a virtual/bitcoin-leveldb to track audited LevelDB ebuilds, and this lists the latest versions to 1.18 now.