Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671024

Summary: sys-libs/glibc: consider providing C.UTF-8 locale
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: arfrever.fta, floppym, josef64, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceware.org/PR17318
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 673124    
Bug Blocks:    

Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-12 21:19:47 UTC
Upstream glibc doe not provide it:
    https://sourceware.org/PR17318
but Debian and RHEL do (upstream bug has a link to fedora patch).

systemd relies on presence of this locale in system:
    https://github.com/systemd/systemd/pull/10742

On top of locale presence we will need to make sure locale-gen always picks C.UTF-8.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2018-11-15 00:33:39 UTC
Added to gentoo/2.27, 2.28, 9999 branches.
I used the Fedora patch because codonell is the one working on upstreaming it...
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-15 07:17:18 UTC
(In reply to Andreas K. Hüttel from comment #1)
> Added to gentoo/2.27, 2.28, 9999 branches.
> I used the Fedora patch because codonell is the one working on upstreaming
> it...

Can you post a link as well?
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2018-11-15 23:51:46 UTC
(In reply to Sergei Trofimovich from comment #2)
> (In reply to Andreas K. Hüttel from comment #1)
> > Added to gentoo/2.27, 2.28, 9999 branches.
> > I used the Fedora patch because codonell is the one working on upstreaming
> > it...
> 
> Can you post a link as well?

Sure: 

https://github.com/gentoo/glibc/commit/46b27e2647a8c8fd208279ec3b31d38ba24a3388
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2018-12-11 23:19:28 UTC
It's in 2.28-r3 (patchset 4), with an updated locale-gen that always implicitly adds "C.UTF-8 UTF-8" to the list of locales.
Comment 5 Larry the Git Cow gentoo-dev 2018-12-15 12:28:41 UTC
The bug has been closed via the following commit(s):

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

commit d7719fe914945afeee9c1e055397efeee2cdb27e
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-15 12:28:15 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-15 12:28:34 +0000

    sys-libs/glibc: Re-keyword 2.28-r3
    
    This revision bump adds the locale C.UTF-8, which is always generated.
    
    Closes: https://bugs.gentoo.org/671024
    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-r3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)