Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934772 - [Tracker] Packages installing to /usr/lib/locale incorrectly
Summary: [Tracker] Packages installing to /usr/lib/locale incorrectly
Status: CONFIRMED
Alias: None
Product: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 934775 27310
Blocks:
  Show dependency tree
 
Reported: 2024-06-23 13:37 UTC by Sam James
Modified: 2024-06-23 15:29 UTC (History)
1 user (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 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.