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

Bug 934772

Summary: [Tracker] Packages installing to /usr/lib/locale incorrectly
Product: Quality Assurance Reporter: Sam James <sam>
Component: TrackersAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal CC: kfm
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 934775, 27310    
Bug Blocks:    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-23 13:37:49 UTC
/usr/lib/locale is not for general translations - those should be installed at /usr/share/locale.

To make matters worse, Kerin notes that sys-apps/locale-gen currently destroys the non-glibc locales stored in /usr/lib/locale, which means:
a) obviously the functionality if it could ever work is broken upon locale-gen being run;
b) files installed by a package suddenly disappear which is impure.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-23 15:27:53 UTC
https://www.portagefilelist.de/index.php?fs=%2Fusr%2Flib%2Flocale%2F*&unique=1 lists some infringers.