Description of problem: I am trying to make Fedora available in Esperanto. When I do `locale -a`, the `eo.utf8` locale is not available. It only becomes available when I install `glibc-langpack-eo`, which does not appear to be necessary for other languages. Version-Release number of selected component (if applicable): Fedora 29 How reproducible: Steps to Reproduce: 1. Run `locale -a`. Esperanto is unavailable. 2. Install `glibc-langpack-eo` 3. Run `locale -a`. Esperanto is available. Actual results: Esperanto is unavailable by default. Expected results: Esperanto is available by default. Additional info: This may be because Esperanto is the only locale without region. A normal locale looks like "nl_NL.utf8", whereas Esperanto has "eo.utf8".
This small change to the glibc.spec file fixes the problem: $ git diff diff --git a/glibc.spec b/glibc.spec index f381ba5..08779ee 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1032,7 +1032,7 @@ $olddir/build-%{target}/elf/ld.so \ --library-path $olddir/build-%{target}/ \ $olddir/build-%{target}/locale/localedef \ --prefix %{glibc_sysroot} --add-to-archive \ - *_* + eo *_* # Setup the locale-archive template for use by glibc-all-langpacks. mv locale-archive{,.tmpl} # Create the file lists for the language specific sub-packages: lines 1-13/13 (END)
(In reply to Mike FABIAN from comment #1) > This small change to the glibc.spec file fixes the problem: > > $ git diff > diff --git a/glibc.spec b/glibc.spec > index f381ba5..08779ee 100644 > --- a/glibc.spec > +++ b/glibc.spec > @@ -1032,7 +1032,7 @@ $olddir/build-%{target}/elf/ld.so \ > --library-path $olddir/build-%{target}/ \ > $olddir/build-%{target}/locale/localedef \ > --prefix %{glibc_sysroot} --add-to-archive \ > - *_* > + eo *_* > # Setup the locale-archive template for use by glibc-all-langpacks. > mv locale-archive{,.tmpl} > # Create the file lists for the language specific sub-packages: I agree, this is exactly the change I expected. Please note that Fedora 29 glibc is in freeze indefinitely. I will try to get an exception for this change.
(In reply to Florian Weimer from comment #2) > (In reply to Mike FABIAN from comment #1) > > This small change to the glibc.spec file fixes the problem: > > > > $ git diff > > diff --git a/glibc.spec b/glibc.spec > > index f381ba5..08779ee 100644 > > --- a/glibc.spec > > +++ b/glibc.spec > > @@ -1032,7 +1032,7 @@ $olddir/build-%{target}/elf/ld.so \ > > --library-path $olddir/build-%{target}/ \ > > $olddir/build-%{target}/locale/localedef \ > > --prefix %{glibc_sysroot} --add-to-archive \ > > - *_* > > + eo *_* > > # Setup the locale-archive template for use by glibc-all-langpacks. > > mv locale-archive{,.tmpl} > > # Create the file lists for the language specific sub-packages: > > I agree, this is exactly the change I expected. Please note that Fedora 29 > glibc is in freeze indefinitely. I will try to get an exception for this > change. Should we just wait for F29 to release? I goes out the door today in the next couple of hours. We can release a bodhi update with the new eo locale.
(In reply to Carlos O'Donell from comment #3) > Should we just wait for F29 to release? I goes out the door today in the > next couple of hours. We can release a bodhi update with the new eo locale. Fedora 29 has just been released :-) Happy days!
glibc-2.28-17.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0e5874aba9
glibc-2.28-17.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0e5874aba9
glibc-2.28-17.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
I want to backport this to further Fedora releases.
F28 is going EOL soon, let's close this.