Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506184 - dev-libs/leveldb - Forward compatibility with 1.14.0+
Summary: dev-libs/leveldb - Forward compatibility with 1.14.0+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 505096
  Show dependency tree
 
Reported: 2014-03-29 20:11 UTC by Luke-Jr
Modified: 2014-06-30 01:14 UTC (History)
2 users (show)

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


Attachments
leveldb-1.9.0-forwardcompat.patch (leveldb-1.9.0-forwardcompat.patch,3.38 KB, patch)
2014-03-29 20:11 UTC, Luke-Jr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2014-03-29 20:11:07 UTC
Created attachment 373842 [details, diff]
leveldb-1.9.0-forwardcompat.patch

This patch makes 1.9.0 through 1.13.0 compatible with data from 1.14.0 and 1.15.0. Without it, downgrading may cause corruption to databases.
Comment 1 Anthony Basile gentoo-dev 2014-03-29 20:54:51 UTC
Hi Johan and Patrick.  This is needed for bitcoin.  See bug #505530.  There's a couple of issues in that bug so to make a long story short, we want forwards compat for bitcoin's file format.
Comment 2 Anthony Basile gentoo-dev 2014-04-03 23:30:59 UTC
(In reply to Anthony Basile from comment #1)
> Hi Johan and Patrick.  This is needed for bitcoin.  See bug #505530. 
> There's a couple of issues in that bug so to make a long story short, we
> want forwards compat for bitcoin's file format.

ping.
Comment 3 Anthony Basile gentoo-dev 2014-05-15 12:11:19 UTC
ping
Comment 4 Joe Kappus 2014-06-20 17:54:51 UTC
pong?
Comment 5 Anthony Basile gentoo-dev 2014-06-20 17:59:55 UTC
(In reply to Joe Kappus from comment #4)
> pong?

um?  why are you pong-ing.  We would like the maintainer, Johan, to consider adding the patch in comment 0.

I think we've waited long enough.  If there are no objections in about 1 week, I'll add it with a flag, so there will be minimal intrusion.
Comment 6 Johan Bergström 2014-06-21 00:47:21 UTC
Hey,
awfully sorry for my late reply. I've had a chat on IRC but never updated this bug. I'm ok with the patch in question, Patrick - any open questions?
Comment 7 Anthony Basile gentoo-dev 2014-06-30 01:11:00 UTC
+*leveldb-1.11.0-r1 (30 Jun 2014)
+*leveldb-1.12.0-r1 (30 Jun 2014)
+*leveldb-1.10.0-r1 (30 Jun 2014)
+*leveldb-1.9.0-r6 (30 Jun 2014)
+*leveldb-1.13.0-r1 (30 Jun 2014)
+
+  30 Jun 2014; Anthony G. Basile <blueness@gentoo.org>
+  +files/leveldb-1.9.0-forwardcompat.patch, +leveldb-1.10.0-r1.ebuild,
+  +leveldb-1.11.0-r1.ebuild, +leveldb-1.12.0-r1.ebuild,
+  +leveldb-1.13.0-r1.ebuild, +leveldb-1.9.0-r6.ebuild, leveldb-1.10.0.ebuild,
+  leveldb-1.11.0.ebuild, leveldb-1.12.0.ebuild, leveldb-1.13.0.ebuild:
+  Add forward compat patch, bug #506184


Basically I added this to 1.9.0, 1.10.0, 1.11.0, 1.12.0 and 1.13.0 and rev bumped each *without* removing the earlier version without the patch (just in case).

Obvious 1.14.0 and 1.15.0 don't need it.

Please test and let me know if anything lese needs done.  Reopen this bug if there's still an issue.
Comment 8 Anthony Basile gentoo-dev 2014-06-30 01:14:52 UTC
Actually after thinking about this, I realized that leaving the ~arch versions that don't have the patch on the tree is not a good idea.  I've removed them.