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

Bug 85675

Summary: bootstrap.sh overwrites my /etc/locales.build
Product: Gentoo Release Media Reporter: Peter Humphrey <peter>
Component: EverythingAssignee: Gentoo LiveCD Package Maintainers <livecd>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Humphrey 2005-03-17 13:03:22 UTC
I follow the instructions in the amd64 installation handbook to build my en_GB 
locale plus its variants, but I don't get those locales. By the end of the 
bootstrap, /etc/locales.build has been overwritten with the default version.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




My /etc/locales.build has five entries:
en
en_GB
en_GB/ISO-8859-1
en_GB/ISO-8859-15
en_GB.UTF-8/UTF-8

As a next step, I think I'll chattr +i /etc/locales.build and see where the
installation fails.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-17 13:21:21 UTC
Ehh... you are running the script from within the chroot, right?
Comment 2 Peter Humphrey 2005-03-19 04:45:59 UTC
Yes, I'm running in the chroot environment - is there any other way to run it?
Oh, and I've removed the plain "en" entry from /etc/locales.build since there
isn't any such locale.
Since raising the bug I've been trying to get en_GB locales by remerging glibc
and friends, in various orders. Searching /var/log/portage/*glibc* shows several
entries implying that the en_GB locales have been created, yet when I run 
"locale -a" the ISO-8859 variants aren't there - only C, POSIX, en_GB and en_GB.utf8.
During the bootstrap glibc is compiled twice, and the overwriting of /etc/locales.build
occurs at the end of the first one, so that whatever locales are built in that stage
are lost when the second one is run.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-19 08:37:32 UTC
That's alright.  The 2005.0 bootstrap won't honor userlocales anyway.  The new bootstrap method is a proper bootstrap.  Your USE flags aren't honored until the "emerge system" stage, which rebuilds everything.

Basically, this will become "INVALID" once 2005.0 is released anyway, as the bootstrap script is going to change dramatically.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-19 08:57:02 UTC
Also, which version of glibc was it that is causing this?
Comment 5 Peter Humphrey 2005-03-20 02:47:32 UTC
It seems to have been 2.3.4.20050125-r1, the latest for amd64 and ~amd64 I think.
As I still can't get en_GB should I raise another bug against glibc rather than 
the bootstrap process?
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-20 10:25:43 UTC
Yes, please.
Comment 7 SpanKY gentoo-dev 2005-05-16 15:18:51 UTC

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