Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812023 - dev-libs/flatbuffers lacks a subslot
Summary: dev-libs/flatbuffers lacks a subslot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-07 15:52 UTC by emaxx
Modified: 2021-09-07 16:57 UTC (History)
2 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 emaxx 2021-09-07 15:52:07 UTC
The subslot is needed to enable rebuilding on major version change.

Currently, flatbuffers-2.0.0.ebuild doesn't specify a subslot:

SLOT="0"

This means that depending packages that were built against flatbuffers-1.* won't be rebuilt after emerging the 2.0.0 version, despite these two having different SONAMEs.
Comment 1 Andreas Sturmlechner gentoo-dev 2021-09-07 16:26:32 UTC
New major version number could have been a hint.
Comment 2 Larry the Git Cow gentoo-dev 2021-09-07 16:56:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78250007f070caaade82599a15f34e9d837350ed

commit 78250007f070caaade82599a15f34e9d837350ed
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-07 16:52:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-07 16:55:59 +0000

    dev-libs/flatbuffers: add subslot for 2.x
    
    Bit of a frustrating one as it appears to be ABI compatible
    modulo the SONAME change, but it is what it is -- it's a good
    thing upstream adopted semver anyway.
    
    Closes: https://bugs.gentoo.org/812023
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{flatbuffers-2.0.0.ebuild => flatbuffers-2.0.0-r1.ebuild}         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=060b7a191dec363d452f2a4abaeffa0eaedd0ebf

commit 060b7a191dec363d452f2a4abaeffa0eaedd0ebf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-07 16:55:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-07 16:56:02 +0000

    dev-libs/sink: add flatbuffers subslot operator
    
    Bug: https://bugs.gentoo.org/812023
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/sink/{sink-0.8.0-r2.ebuild => sink-0.8.0-r3.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecb25cd9f927c900788f2555a19757aeaade01c8

commit ecb25cd9f927c900788f2555a19757aeaade01c8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-07 16:54:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-07 16:56:00 +0000

    media-tv/kodi: add flatbuffers subslot operator
    
    Bug: https://bugs.gentoo.org/812023
    Signed-off-by: Sam James <sam@gentoo.org>

 media-tv/kodi/{kodi-19.0.ebuild => kodi-19.0-r1.ebuild} | 2 +-
 media-tv/kodi/{kodi-19.1.ebuild => kodi-19.1-r1.ebuild} | 2 +-
 media-tv/kodi/kodi-19.9999.ebuild                       | 2 +-
 media-tv/kodi/kodi-9999.ebuild                          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-07 16:57:18 UTC
(In reply to Andreas Sturmlechner from comment #1)
> New major version number could have been a hint.

You are right, I was silly and I forgot about it given it was otherwise compatible (just a version change for semver-adoption). Apologies.