According to the comments in /etc/locale.gen the format for the file is (and I quote): "The format is <locale>/<charmap>, where <locale> is a locale from the /usr/share/i18n/locales directory, and <charmap> is name of one of the files in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are ignored. Here is an example: en_US/ISO-8859-1" When, according to the document: http://www.gentoo.org/doc/en/guide-localization.xml The correct format is (for example): en_US ISO-8859-1 Note the space instead of the '/'. Someone should change the comments or just point to the localization document. Reproducible: Always
Created attachment 115391 [details, diff] corrects problem with comments The comments in the file are wrong. This patch fixes that.
Documentation is correct, file comments are wrong (tried slash, didn't work).
# The format of each line: # <locale> <charmap> here... glibc-2.5-r0
/etc/locale.gen has never read that way ... my guess is you copied the old locales.build file over top of locale.gen