* [gentoo-dev] [RFC] default bashrc value suggestion
@ 2013-07-27 12:09 Vadim A. Misbakh-Soloviov
2013-07-27 14:13 ` Alex Xu
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2013-07-27 12:09 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
Hi, list!
Many times somebody post buildlogs — they're translated to user's native
language due to system's /etc/env.d/02locale.
What about adding "export LC_ALL=POSIX" (or, at least, LC_MESSAGES) to
/etc/portage/bashrc by default (out-of-the-box)? That'll 1) fix
buildlogs issue, 2) fix some python-related compilation breakages, like
in xen-tools-4.3.0, for example.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 12:09 [gentoo-dev] [RFC] default bashrc value suggestion Vadim A. Misbakh-Soloviov
@ 2013-07-27 14:13 ` Alex Xu
2013-07-27 14:31 ` Jeroen Roovers
2013-07-27 17:22 ` Alexis Ballier
2 siblings, 0 replies; 10+ messages in thread
From: Alex Xu @ 2013-07-27 14:13 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
On 27/07/13 08:09 AM, Vadim A. Misbakh-Soloviov wrote:
> Hi, list!
>
> Many times somebody post buildlogs — they're translated to user's native
> language due to system's /etc/env.d/02locale.
>
> What about adding "export LC_ALL=POSIX" (or, at least, LC_MESSAGES) to
> /etc/portage/bashrc by default (out-of-the-box)? That'll 1) fix
> buildlogs issue
This doesn't seem like a major problem. Most errors can be easily
deciphered, and if they can't, the user can be asked to run
"LC_MESSAGES=C emerge".
This also introduces a usability problem, in that a user's preference is
being overridden. Presumably the user knows that they want their system
in a particular language more than we do.
> 2) fix some python-related compilation breakages, like
> in xen-tools-4.3.0, for example.
This is just papering over the actual issue that needs to be fixed.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 12:09 [gentoo-dev] [RFC] default bashrc value suggestion Vadim A. Misbakh-Soloviov
2013-07-27 14:13 ` Alex Xu
@ 2013-07-27 14:31 ` Jeroen Roovers
2013-07-27 14:36 ` Vadim A. Misbakh-Soloviov
2013-07-27 16:07 ` Andreas K. Huettel
2013-07-27 17:22 ` Alexis Ballier
2 siblings, 2 replies; 10+ messages in thread
From: Jeroen Roovers @ 2013-07-27 14:31 UTC (permalink / raw
To: gentoo-dev
On Sat, 27 Jul 2013 16:09:20 +0400
"Vadim A. Misbakh-Soloviov" <mva@mva.name> wrote:
> What about adding "export LC_ALL=POSIX" (or, at least, LC_MESSAGES)
> [...]
We've been over this plenty of times in the past. Notably in March 2009,
July 2010 (about python specific build issues), April 2011, December
2011 and July 2012 on this mailing list alone, at a glance.
jer
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 14:31 ` Jeroen Roovers
@ 2013-07-27 14:36 ` Vadim A. Misbakh-Soloviov
2013-07-27 14:42 ` Jeroen Roovers
2013-07-27 14:42 ` [gentoo-dev] " Alex Xu
2013-07-27 16:07 ` Andreas K. Huettel
1 sibling, 2 replies; 10+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2013-07-27 14:36 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
Unfortunately, gentoo.org's archive seems to be broken/frozen, while it
is a bit hard to grep 3party archives to find already discussed topics :-/
27.07.2013 18:31, Jeroen Roovers пишет:
> We've been over this plenty of times in the past.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 14:36 ` Vadim A. Misbakh-Soloviov
@ 2013-07-27 14:42 ` Jeroen Roovers
2013-07-27 19:08 ` Chí-Thanh Christopher Nguyễn
2013-07-27 14:42 ` [gentoo-dev] " Alex Xu
1 sibling, 1 reply; 10+ messages in thread
From: Jeroen Roovers @ 2013-07-27 14:42 UTC (permalink / raw
To: gentoo-dev
On Sat, 27 Jul 2013 18:36:26 +0400
"Vadim A. Misbakh-Soloviov" <mva@mva.name> wrote:
> Unfortunately, gentoo.org's archive seems to be broken/frozen, while
> it is a bit hard to grep 3party archives to find already discussed
> topics :-/
Please reply below the quoted text.
> 27.07.2013 18:31, Jeroen Roovers пишет:
> > We've been over this plenty of times in the past.
To summarise:
1) locale related ebuild problems should be fixed in the
relevant ebuilds/eclasses, because:
2) globally forcing a locale to fix one ebuild will expose build issues
in other ebuilds (there is no generic solution)
3) several people have been adamant that locale settings should not be
forced upon Gentoo users.
4) use the translation service of your choice to find out what the
(usually generic) messages mean.
jer
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 14:36 ` Vadim A. Misbakh-Soloviov
2013-07-27 14:42 ` Jeroen Roovers
@ 2013-07-27 14:42 ` Alex Xu
1 sibling, 0 replies; 10+ messages in thread
From: Alex Xu @ 2013-07-27 14:42 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
On 27/07/13 10:36 AM, Vadim A. Misbakh-Soloviov wrote:
> Unfortunately, gentoo.org's archive seems to be broken/frozen, while it
> is a bit hard to grep 3party archives to find already discussed topics :-/
>
> 27.07.2013 18:31, Jeroen Roovers пишет:
>> We've been over this plenty of times in the past.
>
http://search.gmane.org/?query=lc_all+lc_messages&group=gmane.linux.gentoo.devel&DEFAULTOP=or
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 14:31 ` Jeroen Roovers
2013-07-27 14:36 ` Vadim A. Misbakh-Soloviov
@ 2013-07-27 16:07 ` Andreas K. Huettel
1 sibling, 0 replies; 10+ messages in thread
From: Andreas K. Huettel @ 2013-07-27 16:07 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: Text/Plain, Size: 637 bytes --]
Am Samstag, 27. Juli 2013, 16:31:52 schrieb Jeroen Roovers:
> On Sat, 27 Jul 2013 16:09:20 +0400
>
> "Vadim A. Misbakh-Soloviov" <mva@mva.name> wrote:
> > What about adding "export LC_ALL=POSIX" (or, at least, LC_MESSAGES)
> > [...]
>
> We've been over this plenty of times in the past. Notably in March 2009,
> July 2010 (about python specific build issues), April 2011, December
> 2011 and July 2012 on this mailing list alone, at a glance.
>
Yep. Should probably go on the Council agenda sometime.
(rolls eyes)
--
Andreas K. Huettel
Gentoo Linux developer
dilfridge@gentoo.org
http://www.akhuettel.de/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 966 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 12:09 [gentoo-dev] [RFC] default bashrc value suggestion Vadim A. Misbakh-Soloviov
2013-07-27 14:13 ` Alex Xu
2013-07-27 14:31 ` Jeroen Roovers
@ 2013-07-27 17:22 ` Alexis Ballier
2 siblings, 0 replies; 10+ messages in thread
From: Alexis Ballier @ 2013-07-27 17:22 UTC (permalink / raw
To: gentoo-dev
The only sane default is likely a POSIX UTF-8 locale, certainly not C;
some package will even fail with LC_ALL=C I think.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [RFC] default bashrc value suggestion
2013-07-27 14:42 ` Jeroen Roovers
@ 2013-07-27 19:08 ` Chí-Thanh Christopher Nguyễn
2013-07-28 7:33 ` [gentoo-dev] " Ryan Hill
0 siblings, 1 reply; 10+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2013-07-27 19:08 UTC (permalink / raw
To: gentoo-dev
Jeroen Roovers schrieb:
>> Unfortunately, gentoo.org's archive seems to be broken/frozen, while
>> it is a bit hard to grep 3party archives to find already discussed
>> topics :-/
http://archives.gentoo.org/gentoo-dev/msg_0ea6864e30d3a4d5319694afc18162df.xml
>> 27.07.2013 18:31, Jeroen Roovers пишет:
>>> We've been over this plenty of times in the past.
>
> To summarise:
>
> 1) locale related ebuild problems should be fixed in the
> relevant ebuilds/eclasses, because:
> 2) globally forcing a locale to fix one ebuild will expose build issues
> in other ebuilds (there is no generic solution)
> 3) several people have been adamant that locale settings should not be
> forced upon Gentoo users.
> 4) use the translation service of your choice to find out what the
> (usually generic) messages mean.
Nobody seemed to be against setting LC_MESSAGES in make.conf.
I reported a bug now.
https://bugs.gentoo.org/478382
Best regards,
Chí-Thanh Christopher Nguyễn
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-dev] Re: [RFC] default bashrc value suggestion
2013-07-27 19:08 ` Chí-Thanh Christopher Nguyễn
@ 2013-07-28 7:33 ` Ryan Hill
0 siblings, 0 replies; 10+ messages in thread
From: Ryan Hill @ 2013-07-28 7:33 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]
On Sat, 27 Jul 2013 21:08:39 +0200
Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> wrote:
> Jeroen Roovers schrieb:
> > To summarise:
> >
> > 1) locale related ebuild problems should be fixed in the
> > relevant ebuilds/eclasses, because:
> > 2) globally forcing a locale to fix one ebuild will expose build issues
> > in other ebuilds (there is no generic solution)
> > 3) several people have been adamant that locale settings should not be
> > forced upon Gentoo users.
> > 4) use the translation service of your choice to find out what the
> > (usually generic) messages mean.
>
> Nobody seemed to be against setting LC_MESSAGES in make.conf.
> I reported a bug now.
> https://bugs.gentoo.org/478382
I've been pretty vocal against this in the past so I just wanted to say I
have no problem setting a default in make.conf.
--
Ryan Hill psn: dirtyepic_sk
gcc-porting/toolchain/wxwidgets @ gentoo.org
47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-07-28 7:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-27 12:09 [gentoo-dev] [RFC] default bashrc value suggestion Vadim A. Misbakh-Soloviov
2013-07-27 14:13 ` Alex Xu
2013-07-27 14:31 ` Jeroen Roovers
2013-07-27 14:36 ` Vadim A. Misbakh-Soloviov
2013-07-27 14:42 ` Jeroen Roovers
2013-07-27 19:08 ` Chí-Thanh Christopher Nguyễn
2013-07-28 7:33 ` [gentoo-dev] " Ryan Hill
2013-07-27 14:42 ` [gentoo-dev] " Alex Xu
2013-07-27 16:07 ` Andreas K. Huettel
2013-07-27 17:22 ` Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox