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

Bug 245910

Summary: sys-libs/glibc does not honour locale.gen after starting from stage1
Product: Gentoo Linux Reporter: Peter S. Mazinger <ps.m>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter S. Mazinger 2008-11-06 23:52:00 UTC
starting from a stage1, modifying the locale.gen, when bootstrap.sh builds glibc
when glibc is installed, it first removes locale.gen, then a sed on the missing
locale.gen fails (but does not bail out) and without the modified locale.gen it
will build all locales

Reproducible: Always

Steps to Reproduce:
1. boot gentoo live, mount partitions to /mnt/gentoo{/boot}, mount --bind
sys/proc/dev, chroot /mnt/gentoo, add resolv.conf, modify locale.gen, bootstrap
2.at the end of glibc install you will see the removal of locale.gen (since it
was part of the installed glibc package but not available in the newly installed)
then comes the failing sed ... locale.gen, after that all locales are generated
3.
Comment 1 SpanKY gentoo-dev 2008-11-07 07:37:07 UTC

*** This bug has been marked as a duplicate of bug 236770 ***