If having gdm but not having gnome-shell Reproducible: Always Steps to Reproduce: 1. gnome-base/gnome-light -gnome-shell 2. x11-terms/gnome-terminal -gnome-shell 3. remerge both above: gnome-light gnome-terminal 4. emerge -c gnome-shell 5. portage warns at end: "You have to look for an WindowManager yourself" 6. I think: "All fine I have mutter and a mate-session at hand with marco" 7. restarting ... Actual Results: gdm cries while breaking: "OUTCH, something horrible has happened"
Wow, if remerging gdm: How did portage allow it in the first place to depclean gnome-shell? --- # emerge -1 gdm These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] gnome-base/gnome-shell-40.2::gentoo USE="-bluetooth -browser-extension (-elogind) -gtk-doc -ibus -networkmanager systemd -telepathy -test" PYTHON_SINGLE_TARGET="-python3_8 python3_9" 0 KiB [ebuild R ] gnome-base/gdm-40.0-r1::gentoo USE="-accessibility -audit -bluetooth-sound -branding (-elogind) -fprint -ipv6 -plymouth (-selinux) systemd -tcpd -test wayland" 0 KiB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No]
My bug is about how to correctly give it a warning but also a way to customize Gnome: If we had a USE gnome-shell and a dependency in the ebuild of gnome-base/gdm, then a clear warning: "You won't be able to use gdm any more if USE gnome-shell is deactivated and gdm doesn't find this dependency."
I see that >=gnome-base/gnome-shell-3.1.90 is pulled in as an unconditional runtime dependency of gdm (In reply to Ulenrich from comment #1) > Wow, if remerging gdm: > How did portage allow it in the first place to depclean gnome-shell? > --- Getting it depcleaned (emerge --depclean) should not be possible with the current RDEPEND... but if you did emerge -C, that is expected, as -C allows to remove everything without taking care of the deps