Can we please disable locales in the portage build environment to make the gcc error-messages english only? Also it solves bugs that only happen with a specific locale, like the et_EE ones which are pretty annoying: http://tinyurl.com/jsqzb This is currently a bug because I cannot change LC_ALL in make.conf and thus am not able to have german manpages and english compiler output.
*** Bug 133747 has been marked as a duplicate of this bug. ***
> This is currently a bug because I cannot change LC_ALL in make.conf and thus am > not able to have german manpages and english compiler output. The order is (currently) profile.env - user environment - make.conf. To get what you want, you can just create an entry in /etc/env.d/ with LC_ALL=C, while your .bashrc (or whatever) sets LC_ALL to something else to get your manpages in German.
zmedico has already made a patch for this: http://dev.gentoo.org/~zmedico/tmp/portage_lc_all.patch
I set my LC_ALL=de_DE.utf8 in my /etc/env.d/02locale like advise in the official gentoo documentation[1]. I do not use the bashrc-file and I am not able to set a systemwide default in the .bashrc, but I want to have this systemwide, since all my family that is using the computer speaks the same language that I speak. I would not want to modify every user account and the skeleton for every new user account - it is just wrong. also see the official doc about this [1] http://www.gentoo.org/doc/en/utf-8.xml at "Setting the Locale" just explaining why this solution is not feasible Please consider applying it now to portage rather then later, because when we apply it now it can get a little more testing.
Created attachment 87069 [details, diff] force LC_ALL=C in the ebuild env and allow PORTAGE_LC_ALL to override it (In reply to comment #3) > zmedico has already made a patch for this: > http://dev.gentoo.org/~zmedico/tmp/portage_lc_all.patch Now attached.
(In reply to comment #4) > I would not want to modify every user account and the > skeleton for every new user account - it is just wrong. You can export LC_ALL=C in /etc/portage/bashrc.
There are essentially two ways to look at this type of issue. You can say that portage doesn't protect the build environment adequately, but you can also say that the build is too fragile. I lean toward the latter, because fragile builds can and should be fixed IMO. Historically, that's been the portage team's stance, so I'm duping it... *** This bug has been marked as a duplicate of 57973 ***