Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520262 - virtual/bitcoin-leveldb should list highest versioned dependencies first
Summary: virtual/bitcoin-leveldb should list highest versioned dependencies first
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 17:26 UTC by Taahir Ahmed
Modified: 2014-08-28 22:06 UTC (History)
4 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 Taahir Ahmed 2014-08-19 17:26:41 UTC
virtual/bitcoin-leveldb uses an || dependency to collect versions of leveldb that are suitable for use with bitcoind:

|| (
    =dev-libs/leveldb-1.9.0-r6[-snappy]
    =dev-libs/leveldb-1.10.0-r1[-snappy]
    =dev-libs/leveldb-1.11.0-r1[-snappy]
    =dev-libs/leveldb-1.12.0-r1[-snappy]
    =dev-libs/leveldb-1.13.0-r1[-snappy]
    =dev-libs/leveldb-1.14.0-r1[-snappy]
    =dev-libs/leveldb-1.15.0-r1[-snappy]
)

Is it really the case that the lower version numbers are the most preferable?  If not, the atoms inside the || block should be listed in descending order of version.

This is causing some minor problems with a system-wide update using cave --- cave is wanting to hang on to the older version of leveldb and is asking for an override to do so.

It's not a big deal, but I thought I would check to be sure that this really is the desired behavior.

Reproducible: Always
Comment 1 Luke-Jr 2014-08-19 18:28:02 UTC
The whole point of the virtual is that they are bug-for-bug compatible, so none should be preferred over the other really. We can reorder this...
Comment 2 Taahir Ahmed 2014-08-19 18:32:49 UTC
Okay, sounds good.  Thanks!
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-28 09:56:48 UTC
Portage just installed 1.9.0* for me, for no apparent reason. Care to finally reorder this?
Comment 4 Anthony Basile gentoo-dev 2014-08-28 22:06:42 UTC
Reordered.