Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62081 - glibc '-nls' use flag is used to enable building a subset of the locales
Summary: glibc '-nls' use flag is used to enable building a subset of the locales
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-29 01:23 UTC by Andreas Pokorny
Modified: 2004-09-06 10:48 UTC (History)
0 users

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 Andreas Pokorny 2004-08-29 01:23:36 UTC
The glibc ebuilds glibc-2.3.4.20040808 and glibc-2.3.4.20040619-r1 allow selecting a certain subset of all locales to be built and installed by adding these locales to the list in /etc/locales.build. To make the ebuild use that file, one has to build with USE="-nls". 

That sounds incorrect since having nls in your USE-flags enables things like gettext support in packages.

Imagine the following scenario:
A User installs system with -nls because of the new glibc-ebuild feature.
Then he installs gnome still with -nls turned of. 
After a few weeks he decides to install gnu-cash, and since he wants to have local facets like Euro instead of $, he build with USE="nls". 
After the build failure he reports a bug like #60822 #35769 or #24931 ...

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-08-31 00:29:41 UTC
*pokes at the rest of toolchain* good ideas for a replacement USE flag name?
Comment 2 Andreas Pokorny 2004-09-01 05:55:55 UTC
Maybe 'localeselect' 'localesubset' 'fastlocales' 
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-09-06 10:48:30 UTC
USE=userlocales

fixed in CVS for 2.3.4.20040808