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

Bug 132736

Summary: Generation of locales fails for glibc-2.4-r2
Product: Gentoo Linux Reporter: Andrei F. <frunzales>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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