Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576890 - x11-libs/libxcb-1.11.1: Please verify subslot definition
Summary: x11-libs/libxcb-1.11.1: Please verify subslot definition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 17:18 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2018-03-05 19:47 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 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-03-09 17:18:12 UTC
The subslot in libxcb-1.11.1 is defined as ${PV}, however I strongly doubt that the ABI changed between 1.11 and 1.11.1 so this definition just cause annoying blockers and rebuilds over the place.
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-03-09 17:20:49 UTC
Example:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/libxcb:0

  (x11-libs/libxcb-1.11.1:0/1.11.1::gentoo, ebuild scheduled for merge) pulled in by
    x11-libs/libxcb (Argument)

  (x11-libs/libxcb-1.11-r1:0/1.11::gentoo, installed) pulled in by
    >=x11-libs/libxcb-1.9.3:0/1.11=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/mesa-10.3.7-r1:0/0::gentoo, installed)
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-06-19 12:33:42 UTC
It appears that it was introduced here:

https://gitweb.gentoo.org/proj/x11.git/commit/?id=b5780ff818efc06a5d6861f29905aab064550182

Could we please either get some information about the purpose of this subslot or remove it?
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-06-19 17:24:51 UTC
CC'ing committer so he can explain
Comment 4 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-07-13 19:27:05 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #3)
> CC'ing committer so he can explain

Any update on this?
Comment 5 Coacher 2016-08-30 09:58:13 UTC
Can we please finally fix this? libxcb-1.12 becoming a new stable and still has this problem.
Comment 6 Mart Raudsepp gentoo-dev 2016-10-01 18:03:21 UTC
with 1.12 already stable by now, I've now hardcoded 0/1.12 subslot to avoid further damage until we see it actually needs a subslot bump upon e.g 1.13 release.
This is a revbump because I reverted -r1 and didn't wan't ~arch users to see a downgrade from -r1 to -r0, plus -r0 was already stable, even though the resulting metadata should be the same as $PV is 1.12.

Leaving bug open for further discussions on whether we should have a subslot at all anymore (and so subslot operator deps on libxcb at higher levels), if we should maybe make it 0/$(get_version_component_range 1-2) already, etc.
Comment 7 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-10-01 18:10:23 UTC
(In reply to Mart Raudsepp from comment #6)
> with 1.12 already stable by now, I've now hardcoded 0/1.12 subslot to avoid
> further damage until we see it actually needs a subslot bump upon e.g 1.13
> release.
> This is a revbump because I reverted -r1 and didn't wan't ~arch users to see
> a downgrade from -r1 to -r0, plus -r0 was already stable, even though the
> resulting metadata should be the same as $PV is 1.12.
> 
> Leaving bug open for further discussions on whether we should have a subslot
> at all anymore (and so subslot operator deps on libxcb at higher levels), if
> we should maybe make it 0/$(get_version_component_range 1-2) already, etc.

If ABI breaks and it requires rebuild it should have a specific subslot, thats fine. But subslot should only be updated when ABI is not compatible, so unless it is documented to break on specific parts of the version tuple (e.g major version bump), it should be updated manually
Comment 8 Matt Turner gentoo-dev 2018-03-05 19:47:40 UTC
libxcb-1.13 was released with the same ABI as 1.12, so leaving this as SLOT="0/1.12" is the right thing to do.