Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132736 - Generation of locales fails for glibc-2.4-r2
Summary: Generation of locales fails for glibc-2.4-r2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 15:17 UTC by Andrei F.
Modified: 2006-05-08 19:16 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 Andrei F. 2006-05-08 15:17:42 UTC
There's a typo in the glibc-2.4-r2 ebuild which causes the locales not to be generated.
Line 578:
local locale_list="${ROOT}etc/locale.gen"
                if [[ -z $(locale-gen --list --config "${locale_list}") ]] ; then
                        ewarn "Generating all locales; edit /etc/locale.gen to save time/space"
                        locale_list="${ROOT}usr/share/i18n/SUPPORTED"
                fi
                locale-gen --config "${locale_list}"
        fi
Note that there should be a '/' after ${ROOT}. please fix it accordingly and submit it to the main tree. thanks.
Comment 1 SpanKY gentoo-dev 2006-05-08 19:16:36 UTC
uhh, why ?  ROOT is set to / at the top of the script