Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660546 - gnome-base/gdm: requires x11-base/xorg-server[-minimal]
Summary: gnome-base/gdm: requires x11-base/xorg-server[-minimal]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-06 19:10 UTC by Dragan Kašler
Modified: 2021-04-30 16:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
journalctl -b | egrep -i "gdm|gnome" (journalctl_b_egrep_i_gdm_gnome.log,321.53 KB, text/x-log)
2018-07-08 19:47 UTC, Dragan Kašler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dragan Kašler 2018-07-06 19:10:32 UTC
GDM doesn't start when x11-base/xorg-server is built with USE=minimal.

Reproducible: Always

Steps to Reproduce:
1. USE=minimal emerge x11-base/xorg-server
2. (re)start GDM
Actual Results:  
GDM doesn't start

Expected Results:  
GDM starts
Comment 1 Mart Raudsepp gentoo-dev 2018-07-08 18:50:21 UTC
Show some logs of the failure please...
Comment 2 Dragan Kašler 2018-07-08 19:47:40 UTC
Created attachment 538856 [details]
journalctl -b | egrep -i "gdm|gnome"

Rebuilt xorg-server with USE=minimal, rebooted and waited ~15 minutes on vt7 before grabbing logs.
Comment 3 Mart Raudsepp gentoo-dev 2018-07-08 20:40:47 UTC
The logs don't show any clear errors, other than systemd failing to set some env vars, but USE=minimal means that you aren't building GLX support for xorg-server, nor DRI2/DRI3. Given that gdm uses gnome-shell, which is 3D, that's kind of a no-go for xorg; might work with gdm[wayland] though.

We don't really add xorg-server as a dep though, things could be ran over the network, etc. Though in case of gdm, it's already there for other reasons, so maybe we should consider it.


This in log is questionable though:

Jul 08 21:04:10 /usr/libexec/gdm-x-session[285]: dbus-daemon[294]: [session uid=113 pid=294] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Jul 08 21:04:10 gdm-x-session[285]: could not fetch environment: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1

Jul 08 21:04:10 /usr/libexec/gdm-x-session[285]: gnome-session-binary[298]: DEBUG(+): Could not make systemd aware of XDG_MENU_PREFIX=gnome- environment variable: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Jul 08 21:04:10 gnome-session-binary[298]: DEBUG(+): Could not make systemd aware of XDG_MENU_PREFIX=gnome- environment variable: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Comment 4 Larry the Git Cow gentoo-dev 2021-04-30 16:08:43 UTC
The bug has been closed via the following commit(s):

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

commit b7cbef6cf8bcca85cbb0594e62226c8a6a262b69
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-30 02:27:41 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-30 16:08:16 +0000

    gnome-base/gdm: Version bump to 40.0
    
    * Drop 49-keychain and 50-ssh-agent files (bugs #549102, #692648)
    * Switch to Meson (resolves bug #585976)
    ** Remove unnecessary fontconfig, libXext, iso-codes, libgudev,
       libXinerama dependencies
    * Remove unused introspection, smartcard, xinerama USE flags
    * Depend on xorg-server[-minimal] (bug #660546)
    * Resolve bug #613222, resolved upstream in v40.0
    * Resolve bug #733708, resolved upstream in v3.38
    
    Bug: https://bugs.gentoo.org/762460
    Closes: https://bugs.gentoo.org/549102
    Closes: https://bugs.gentoo.org/585976
    Closes: https://bugs.gentoo.org/613222
    Closes: https://bugs.gentoo.org/660546
    Closes: https://bugs.gentoo.org/692648
    Closes: https://bugs.gentoo.org/733708
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 gnome-base/gdm/Manifest                            |   1 +
 ...dm-40.0-meson-allow-building-with-elogind.patch | 211 +++++++++++++++++++++
 gnome-base/gdm/gdm-40.0.ebuild                     | 207 ++++++++++++++++++++
 3 files changed, 419 insertions(+)