Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673124 - =sys-libs/glibc-2.28-r3: locale-gen generates only C.UTF-8 locale on default install
Summary: =sys-libs/glibc-2.28-r3: locale-gen generates only C.UTF-8 locale on default ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 671024
  Show dependency tree
 
Reported: 2018-12-14 11:03 UTC by Sergei Trofimovich (RETIRED)
Modified: 2018-12-21 23:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-14 11:03:53 UTC
# locale-gen 
 * Generating 1 locales (this might take a while) with 8 jobs
 *  (1/1) Generating C.UTF-8 ...                                                                                                                                                         [ ok ]
 * Generation complete
 * Adding locales to archive ...

Probably related to https://bugs.gentoo.org/671024 changes
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2018-12-14 11:27:50 UTC
(In reply to Sergei Trofimovich from comment #0)
> # locale-gen 
>  * Generating 1 locales (this might take a while) with 8 jobs
>  *  (1/1) Generating C.UTF-8 ...                                            
> [ ok ]
>  * Generation complete
>  * Adding locales to archive ...
> 
> Probably related to https://bugs.gentoo.org/671024 changes

Yes it is... it's pretty simple to fix, but the fix uncovers an unrelated bug.

Work in progress.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-14 19:10:39 UTC
The bug has been closed via the following commit(s):

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

commit debb1353a27e58619b9580afe685599b1682edbe
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-14 19:10:14 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-14 19:10:32 +0000

    sys-libs/glibc: Fix to locale-gen (patchlv) and ebuild for bug 673124
    
    The -l (--list) option of locale-gen wasn't properly working.
    And we needed that...
    
    Closes: https://bugs.gentoo.org/673124
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/Manifest             | 2 +-
 sys-libs/glibc/glibc-2.28-r3.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2018-12-14 21:23:30 UTC
The bug has been referenced in the following commit(s):

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

commit afb45e0556eee1da8923610b7be9f2fa0985fc0c
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-14 21:22:43 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-14 21:22:43 +0000

    sys-libs/glibc: Rebase patchset, add C.UTF-8, fix bug 673124
    
    Bug: https://bugs.gentoo.org/673124
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/Manifest          | 2 +-
 sys-libs/glibc/glibc-9999.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-14 22:57:02 UTC
I don't think it's fixed.

Manual run of 'locale-gen' on default config is supposed to generate all locales. It still generates single locale:

# locale-gen 
 * Generating 1 locales (this might take a while) with 8 jobs
 *  (1/1) Generating C.UTF-8 ...                                                                                                                   [ ok ]
 * Generation complete
 * Adding locales to archive ...
Comment 5 Tomáš Mózes 2018-12-17 05:35:26 UTC
With latest 2.28-r3 it seems ok:

# locale-gen 
 * Generating 3 locales (this might take a while) with 4 jobs
 *  (1/3) Generating en_US.ISO-8859-1 ...                                                                                                                                                                      [ ok ]
 *  (3/3) Generating C.UTF-8 ...                                                                                                                                                                               [ ok ]
 *  (2/3) Generating en_US.UTF-8 ...                                                                                                                                                                           [ ok ]
 * Generation complete
 * Adding locales to archive ...
Comment 6 Larry the Git Cow gentoo-dev 2018-12-21 15:37:32 UTC
The bug has been referenced in the following commit(s):

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

commit fb5ac083cc33d3061f6bf86e484da6231d566981
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-21 15:36:41 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-21 15:37:16 +0000

    sys-libs/glibc: Revision bump, 2.28 patchlevel 6
    
    * More upstream patches from release branch
    * locale-gen: precisely replicate previous (2.27) behaviour
      (no locales defined in config file -> ebuild builds all locales,
       manual call stops with warning and keeps locale archive)
    
    Bug: https://bugs.gentoo.org/673124
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/Manifest             |    1 +
 sys-libs/glibc/glibc-2.28-r4.ebuild | 1412 +++++++++++++++++++++++++++++++++++
 2 files changed, 1413 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2018-12-21 23:55:12 UTC
The bug has been referenced in the following commit(s):

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

commit e727adc20643f14e3b4a5003d036f092068f2e06
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-21 23:53:45 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-21 23:53:45 +0000

    sys-libs/glibc: Re-keyword 2.28-r4
    
    Two test failures on ~amd64:
    FAIL: nptl/tst-tss-basic
    FAIL: resolv/tst-resolv-ai_idn-nolibidn2
    
    Bug: https://bugs.gentoo.org/673124
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/glibc-2.28-r4.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)