Bug 2336901 - plasma-workspace is not build with cmake option GLIBC_LOCALE_PREGENERATED enabled
Summary: plasma-workspace is not build with cmake option GLIBC_LOCALE_PREGENERATED ena...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: plasma-workspace
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Troy Dawson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-10 10:30 UTC by Neal Gompa
Modified: 2025-11-14 08:48 UTC (History)
5 users (show)

Fixed In Version: plasma-workspace-5.27.12-2.el9
Clone Of:
Environment:
Last Closed: 2025-11-14 08:47:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Neal Gompa 2025-01-10 10:30:40 UTC
(This bug was initially created as a copy of Bug #2300192)

For systemsettings' "Region and Language" KCM to work properly on systems that pre-generate locales like Fedora, plasma-workspace should be built with GLIBC_LOCALE_PREGENERATED enabled.

https://invent.kde.org/plasma/plasma-workspace/-/blob/Plasma/5.27/CMakeLists.txt?ref_type=heads#L259

Otherwise the KCM will complain "Could not find the system's available locales using the localectl tool. Please file a bug report about this at https://bugs.kde.org" as metioned in this bug repot: https://bugs.kde.org/show_bug.cgi?id=479213

Reproducible: Always

Steps to Reproduce:
1. Open Region and Language in system settings, change language and click "apply"

Actual Results:  
complains "can't find localectl..."

Expected Results:  
Locale configured properly

Comment 1 Troy Dawson 2025-01-17 18:11:24 UTC
Is this for EPEL 8 or 9 or 10? (RHEL 8, 9 or 10)
I am assuming EPEL/RHEL 9, but I am not in a position to test.

Comment 2 Neal Gompa 2025-01-17 19:01:19 UTC
Only for EPEL 9. 

EPEL 10 already has this flag set since we turned it on in Fedora with Plasma 6.1.4: https://src.fedoraproject.org/rpms/plasma-workspace/c/e29cc51f1e7570fc0c050a7ee53d0b1c7bc7c30f

Comment 3 Neal Gompa 2025-01-17 19:01:38 UTC
It doesn't seem like this flag exists for Plasma 5.24 in EPEL 8, either.

Comment 4 Troy Dawson 2025-01-21 17:18:19 UTC
I don't think I'm going to be touching epel8's plasma-workspace.
But epel9 I am planning on doing an update next month, so it will be good to get the flag in there.

Comment 5 Neal Gompa 2025-11-14 08:47:50 UTC
This is fixed now in epel 9: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c80605ef99


Note You need to log in before you can comment on or make changes to this bug.