Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933717 - gui-libs/wlroots-9999:0.18 : new Sub-Slot naming breaks existing dependency gui-wm/dwl-9999-r1:0
Summary: gui-libs/wlroots-9999:0.18 : new Sub-Slot naming breaks existing dependency g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arthur Zamarin
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-06-07 08:50 UTC by Manfred Knick
Modified: 2024-07-04 18:51 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 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 ;-)