Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925866 - x11-misc/sddm-0.21.0: missing sddm-greeter-qt6 on system build with USE=qt6
Summary: x11-misc/sddm-0.21.0: missing sddm-greeter-qt6 on system build with USE=qt6
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords: InOverlay
: 925942 (view as bug list)
Depends on:
Blocks: 926828
  Show dependency tree
 
Reported: 2024-02-29 16:54 UTC by jy6x2b32pie9
Modified: 2024-04-24 18:44 UTC (History)
10 users (show)

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


Attachments
sddm-0.21.0-r1.ebuild (sddm-0.21.0-r1.ebuild,3.79 KB, text/plain)
2024-03-02 18:37 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jy6x2b32pie9 2024-02-29 16:54:29 UTC
After upgrading to KDE 6, my SDDM theme stopped working.
Error message is:
(II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
(WW) DAEMON: The theme at "/usr/share/sddm/themes/breeze" requires missing "/usr/bin/sddm-greeter-qt6" . Using fallback theme.
This binary is build if SDDM gets Qt6 enabled: https://github.com/sddm/sddm/blob/cc03fabf2f3025842cee30b5f05d20f56b6a2270/CMakeLists.txt#L21

System build with USE=qt6. SDDM ebuild doesn't support this useflag.


Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2024-02-29 16:57:21 UTC
SDDM should use the its default theme in that case. It certainly does in my case.
Comment 2 Andreas Sturmlechner gentoo-dev 2024-03-02 08:07:44 UTC
*** Bug 925942 has been marked as a duplicate of this bug. ***
Comment 3 Paolo Pedroni 2024-03-02 17:43:44 UTC
(In reply to Andreas Sturmlechner from comment #1)
> SDDM should use the its default theme in that case. It certainly does in my
> case.

It does, but I think the OP is asking to have the option of building sddm with qt6, so that it can use Plasma 6 themes.
Comment 4 Andreas Sturmlechner gentoo-dev 2024-03-02 17:45:21 UTC
This was established via IRC.

But when the OP is talking about an error we must first establish that the software does keep working to assess the severity of a bug.
Comment 5 Paolo Pedroni 2024-03-02 18:37:01 UTC
Created attachment 886547 [details]
sddm-0.21.0-r1.ebuild

For what it's worth this is a quick and dirty ebuild I made with qt6 support for sddm. I'm not 100% sure qt6 dependencies are right and qt5 and qt6 support are mutually exclusive (which is against some Gentoo policy, I think), but it builds, tests, installs and works fine on my system.

Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it>

If anyone thinks it's PR worthy, let me know and I'll try to wip up one.
Comment 6 Andreas Sturmlechner gentoo-dev 2024-03-02 21:38:27 UTC
@Paolo: See "InOverlay" KEYWORD, => qt overlay

Remember that there are revdeps not prepared at all for a non-Qt5 SDDM in ::gentoo.
Comment 7 Paolo Pedroni 2024-03-04 11:00:53 UTC
(In reply to Andreas Sturmlechner from comment #6)
> @Paolo: See "InOverlay" KEYWORD, => qt overlay
> 
> Remember that there are revdeps not prepared at all for a non-Qt5 SDDM in
> ::gentoo.

Thanks for the explanation.
Comment 8 Andrew Ammerlaan gentoo-dev 2024-03-22 11:35:36 UTC
To add, if the experimental wayland mode for sddm is enabled it will fail to show any greeter at all after upgrading to Plasma 6 (though as already noted reverting to X mode makes sddm usable again, albeit with the wrong theme). This issue is resolved by the live ebuild in the Qt overlay.
Comment 9 Matthew 2024-04-24 12:26:34 UTC
I've replicated this bug in my own migration to KDE6. 

Initially reported to the KDE team but was stated by them to be a Gentoo packaging issue:
https://bugs.kde.org/show_bug.cgi?id=482059

Observed behavior is that on first boot after KDE6 migration, SDDM is using fallback default greeter theme. Applying the "Breeze" SDDM theme in KDE System Settings does not affect SDDM appearance, SDDM continues presenting fallback default theme greeter.

Expected behavior: SDDM utilizes "Breeze" themed greeter.

The problem:

journalctl --unit=sddm presents the following lines:

Apr 23 08:08:25 integrity sddm[874]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Apr 23 08:08:25 integrity sddm[874]: The theme at "/usr/share/sddm/themes/breeze" requires missing "/usr/bin/sddm-greeter-qt6" . Using fallback theme.
Apr 23 08:08:25 integrity sddm[874]: Loaded empty theme configuration


ls /usr/bin | grep sddm presents the following output:

sddm
sddm-greeter
sddmthemeinstaller

Specifically, the problem is a missing /usr/bin/sddm-greeter-qt6 executable in the SDDM package.

From emerge -av sddm:

[ebuild   R    ] x11-misc/sddm-0.21.0::gentoo  USE="systemd (-elogind) -test"

Shows my installed SDDM package and associated flags.
Comment 10 Andreas Sturmlechner gentoo-dev 2024-04-24 16:05:11 UTC
Matthew, we know that it is missing, since we keep it disabled, as is documented here.

I, personally, can not ship SDDM with Qt6 enabled since it is utterly broken on my system, while the fallback theme at least works.

Another maintainer would have to decide that it is in acceptable shape and do it on their responsibility.
Comment 11 Chiitoo gentoo-dev 2024-04-24 18:36:59 UTC
I personally don't use a display manager, and as such, have unfortunately been neglecting this one quite a bit (it was LXQt-maintained before my time).

I will try to at least give this a go soon, and see how it fares, although I completely trust Andreas's judgement here, and will likely go with that in the end as well.
Comment 12 Andrew Ammerlaan gentoo-dev 2024-04-24 18:44:42 UTC
FWIW the live sddm ebuild with USE=-qt5 works quite well on my end with the breeze theme and kwin_wayland as the compositor (but n=1). I have not yet tried porting the changes from the live ebuild to v0.21.0 locally.