Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85675 - bootstrap.sh overwrites my /etc/locales.build
Summary: bootstrap.sh overwrites my /etc/locales.build
Status: RESOLVED DUPLICATE of bug 72596
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 13:03 UTC by Peter Humphrey
Modified: 2005-07-17 13:06 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 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 ***