Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603824 - dev-libs/re2: Please bump SONAME when introducing ABI-incompatible bumps
Summary: dev-libs/re2: Please bump SONAME when introducing ABI-incompatible bumps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-27 10:52 UTC by Michał Górny
Modified: 2016-12-28 03:55 UTC (History)
1 user (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-12-27 10:52:41 UTC
Since upstream clearly doesn't care about binary compatibility at all, I don't see a reason to keep SONAME in sync with them. Therefore, please bump SONAME whenever the version bump introduces ABI-incompatible changes. Otherwise, our users end up with broken Chromium for a few hours after re2 upgrade.

In order to avoid potential collisions in case upstream got some sanity one day, you can go for branded sonames like .so.1g or so.
Comment 1 Mike Gilbert gentoo-dev 2016-12-27 15:39:53 UTC
Hmm... I guess that's a reasonable compromise.

I'll revbump it, unless there is some objection to that?
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2016-12-27 18:42:10 UTC
SGTM, please go ahead.
Comment 3 Mike Gilbert gentoo-dev 2016-12-28 03:55:15 UTC
commit bac5b508817eba3b6f91c7340cc1db777ff6ee84
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Tue Dec 27 22:53:52 2016 -0500

    dev-libs/re2: override SONAME
    
    Upstream does not seem to maintain any sort of binary compatibility, so
    implement our own naming scheme.
    
    Bug: https://bugs.gentoo.org/603824
    Package-Manager: Portage-2.3.3_p9, Repoman-2.3.1_p2

 .../{re2-0.2016.11.01.ebuild => re2-0.2016.11.01-r1.ebuild}    | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)