Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933717

Summary: gui-libs/wlroots-9999:0.18 : new Sub-Slot naming breaks existing dependency gui-wm/dwl-9999-r1:0
Product: Gentoo Linux Reporter: Manfred Knick <Manfred.Knick>
Component: Current packagesAssignee: Arthur Zamarin <arthurzam>
Status: RESOLVED FIXED    
Severity: normal CC: leohdz172, Manfred.Knick, prometheanfire, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37089
Whiteboard:
Package list:
Runtime testing required: ---

Description Manfred Knick 2024-06-07 08:50:23 UTC
Former sub-slot was

    SLOT="0/9999"


To me, new sub-slot does not confirm to convention

    SLOT="slot/subslot"

in https://devmanual.gentoo.org/general-concepts/slotting/index.html#sub-slots


dwl-9999-r1 requires

    WLROOTS_SLOT="0/9999"

Reproducible: Always

Steps to Reproduce:
emerge gui-wm/dwl-9999-r1:0
Actual Results:  
emerge: there are no ebuilds to satisfy 
        "gui-libs/wlroots:0/9999[libinput,session,X?]".
        (dependency required by "gui-wm/dwl-9999-r1::gentoo" [ebuild])
Comment 2 Manfred Knick 2024-06-07 09:11:56 UTC
@ Sam: Thanks!

Q: Would SLOT="0.18" be valid ?
Q:              ^
Q:            "0/18"

Kind regards
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-07 09:16:33 UTC
(CCing other maintainers)

I think 0.18 would be fine, yeah.
Comment 4 Larry the Git Cow gentoo-dev 2024-07-04 01:18:08 UTC
The bug has been closed via the following commit(s):

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

commit 3fa0318cd3aabc9fbc7aeeca8300f98c16b57ca2
Author:     Leonardo Hernández Hernández <leohdz172@proton.me>
AuthorDate: 2024-06-09 00:25:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-04 01:16:38 +0000

    gui-wm/dwl: stop using SLOT/SUBSLOT to depend on gui-libs/wlroots
    
    Closes: https://bugs.gentoo.org/933717
    Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
    Signed-off-by: Sam James <sam@gentoo.org>

 gui-wm/dwl/dwl-9999-r1.ebuild | 13 +++++++++----
 gui-wm/dwl/dwl-9999.ebuild    | 13 +++++++++----
 2 files changed, 18 insertions(+), 8 deletions(-)
Comment 5 Manfred Knick 2024-07-04 18:51:11 UTC
HINT:

  dwl-9999-r1.ebuild :

    WLROOTS_DEP="
	>=gui-libs/wlroots-0.18:=[libinput,session,X?]
	<gui-libs/wlroots-0.19:=

AFAICS, neither of these versions exist:

# equery list -p gui-libs/wlroots
...
[-P-] [  ] gui-libs/wlroots-0.17.4:0/17
[IP-] [  ] gui-libs/wlroots-9999:0.18


For 9999-r1 , this receives a new assignment later on,
so emerge still succeedes ;-)