Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796989 - gnome-base/gnome-light-40.0 allowed USE -gnome-shell and yet gdm broke
Summary: gnome-base/gnome-light-40.0 allowed USE -gnome-shell and yet gdm broke
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-20 18:49 UTC by Ulenrich
Modified: 2024-01-10 13:49 UTC (History)
1 user (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 Ulenrich 2021-06-20 18:49:03 UTC
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"
Comment 1 Ulenrich 2021-06-20 18:54:13 UTC
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]
Comment 2 Ulenrich 2021-06-21 09:17:16 UTC
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."
Comment 3 Pacho Ramos gentoo-dev 2023-11-15 15:42:39 UTC
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