Bug 1624528
Summary: | glibc: glibc-all-langpacks does not provide libc.mo files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rafal Luzynski <digitalfreak> |
Component: | glibc | Assignee: | DJ Delorie <dj> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | arjun.is, codonell, dj, fweimer, law, mfabian, petersen, pfrankli, rth, siddhesh |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glibc-2.30.9000-15.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-25 21:10:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rafal Luzynski
2018-08-31 23:53:37 UTC
s/command line utility is provides/command line utility is provided/ The total size of all libc.mo files is 4 MB. One could put a file like glibc-langpack-de-2.28-26.fc29.x86_64 into a seperate sub-package like glibc-translations-de and make both glibc-all-langpacks and glibc-langpack-de require glibc-translations-de. Personally for now I would probably just move */libc.mo into glibc-common. That's where they still live in RHEL 7 anyway. Though they could be duplicated across and glibc-all-langpacks and glibc-langpack-*. If duplication is technically possible I would support it. As I wrote in comment 1, this would make glibc-all-langpacks grow by 4 MB. Jens, please note that RHEL 7 uses rather old version of glibc, something like 2.18 IIRC. I'm not sure if it supports langpacks at all. (In reply to Jens Petersen from comment #3) > Personally for now I would probably just move */libc.mo into glibc-common. I think that would be also OK, as they are quite small. But in that case I would put them only in glibc-common and take them out of the langpacks to avoid duplication. (In reply to Rafal Luzynski from comment #6) > If duplication is technically possible I would support it. As I wrote in > comment 1, this would make glibc-all-langpacks grow by 4 MB. I asked Florian Festi and he told that duplication of files in rpms is technically possible if the files are really *identical* (identical includes file attributes like permissions, owner, ...) But one should usually avoid this anyway, one reason to avoid it is that the files are moved around several times in that case (Not a big problem for small files probably). But it is possible to do in exceptional cases. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. Duplicating the *.mo files into glibc-all-langpacks looks as simple as a one-line change. Moving them into glibc-common means all will get installed if the user only selects a subset of languages. diff --git a/glibc.spec b/glibc.spec index 11865a4..28441aa 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1975,6 +1975,7 @@ fi %files all-langpacks %{_prefix}/lib/locale/locale-archive %{_prefix}/lib/locale/locale-archive.real +%{_prefix}/share/locale/*/LC_MESSAGES/libc.mo %files locale-source %dir %{_prefix}/share/i18n/locales Pushed to rawhide as glibc-2.30.9000-15.fc32 |