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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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 NHO
Modified: 2024-05-27 22:23 UTC (History)
11 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 NHO 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 Nowa 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 Nowa 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.
Comment 13 Larry the Git Cow gentoo-dev 2024-05-27 22:23:43 UTC
The bug has been closed via the following commit(s):

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

commit 8e38dfc25fd9f07b845e167a3b4da426ce4d6a00
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-05-27 22:00:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-05-27 22:23:28 +0000

    x11-misc/sddm: add 0.21.0_p20240302, Qt6-only
    
    Closes: https://bugs.gentoo.org/925866
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/package.mask                              |   1 +
 x11-misc/sddm/Manifest                             |   1 +
 .../files/sddm-0.20.0-respect-user-flags.patch     |  16 ++-
 x11-misc/sddm/sddm-0.21.0_p20240302.ebuild         | 148 +++++++++++++++++++++
 4 files changed, 165 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit e9a06f29b016dc906fd210c831917c689b5be839
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-05-27 22:06:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-05-27 22:23:29 +0000

    kde-plasma/plasma-meta: Depend on first Qt6-based x11-misc/sddm version
    
    Bug: https://bugs.gentoo.org/925866
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../{plasma-meta-6.0.90.ebuild => plasma-meta-6.0.90-r1.ebuild}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

commit a8757d208518c75ed2841b7002d6d8384be7a897
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-05-27 22:04:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-05-27 22:23:29 +0000

    kde-plasma/plasma-meta: Limit :5 to <x11-misc/sddm-0.21.0_p20240302
    
    Bug: https://bugs.gentoo.org/925866
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../{plasma-meta-5.27.11.ebuild => plasma-meta-5.27.11-r1.ebuild}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)