public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
@ 2011-12-04  3:50 Jeroen Roovers
  2011-12-04  4:09 ` Alec Warner
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Jeroen Roovers @ 2011-12-04  3:50 UTC (permalink / raw
  To: gentoo-dev

Subject says it all. More and more bug attachments appear that have
been generated with non-English locales, and it's a nuisance for both
bug reporters and bug wranglers to request/provide the sane alternative
that every developer should be able to read.


     jer



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  3:50 [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Jeroen Roovers
@ 2011-12-04  4:09 ` Alec Warner
  2011-12-04  5:21 ` Mike Frysinger
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 25+ messages in thread
From: Alec Warner @ 2011-12-04  4:09 UTC (permalink / raw
  To: gentoo-dev

On Sat, Dec 3, 2011 at 7:50 PM, Jeroen Roovers <jer@gentoo.org> wrote:
> Subject says it all. More and more bug attachments appear that have
> been generated with non-English locales, and it's a nuisance for both
> bug reporters and bug wranglers to request/provide the sane alternative
> that every developer should be able to read.

I think forcing LC_ALL=C is crazy.

-A

>
>
>     jer
>



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  3:50 [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Jeroen Roovers
  2011-12-04  4:09 ` Alec Warner
@ 2011-12-04  5:21 ` Mike Frysinger
  2011-12-04  6:03   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again? Jeroen Roovers
  2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
  2011-12-04  6:51 ` [gentoo-dev] " Ryan Hill
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 25+ messages in thread
From: Mike Frysinger @ 2011-12-04  5:21 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 507 bytes --]

On Saturday 03 December 2011 22:50:00 Jeroen Roovers wrote:
> Subject says it all. More and more bug attachments appear that have
> been generated with non-English locales, and it's a nuisance for both
> bug reporters and bug wranglers to request/provide the sane alternative
> that every developer should be able to read.

non C locales triggers real bugs i think we should be fixing

and in reality, you're complaining only about LC_MESSAGES, not LC_ALL or any 
other locale category ...
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again?
  2011-12-04  5:21 ` Mike Frysinger
@ 2011-12-04  6:03   ` Jeroen Roovers
  2011-12-04  6:14     ` Alec Warner
  2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
  1 sibling, 1 reply; 25+ messages in thread
From: Jeroen Roovers @ 2011-12-04  6:03 UTC (permalink / raw
  To: gentoo-dev

On Sun, 4 Dec 2011 00:21:42 -0500
Mike Frysinger <vapier@gentoo.org> wrote:

> and in reality, you're complaining only about LC_MESSAGES, not LC_ALL
> or any other locale category ...

Fine.


     jer



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again?
  2011-12-04  6:03   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again? Jeroen Roovers
@ 2011-12-04  6:14     ` Alec Warner
  2011-12-04  6:29       ` Jeroen Roovers
  2011-12-04 12:10       ` Rich Freeman
  0 siblings, 2 replies; 25+ messages in thread
From: Alec Warner @ 2011-12-04  6:14 UTC (permalink / raw
  To: gentoo-dev

On Sat, Dec 3, 2011 at 10:03 PM, Jeroen Roovers <jer@gentoo.org> wrote:
> On Sun, 4 Dec 2011 00:21:42 -0500
> Mike Frysinger <vapier@gentoo.org> wrote:
>
>> and in reality, you're complaining only about LC_MESSAGES, not LC_ALL
>> or any other locale category ...
>
> Fine.

Can we  just translate the error messages?

-A

>
>
>     jer
>



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again?
  2011-12-04  6:14     ` Alec Warner
@ 2011-12-04  6:29       ` Jeroen Roovers
  2011-12-04 12:10       ` Rich Freeman
  1 sibling, 0 replies; 25+ messages in thread
From: Jeroen Roovers @ 2011-12-04  6:29 UTC (permalink / raw
  To: gentoo-dev

On Sat, 3 Dec 2011 22:14:16 -0800
Alec Warner <antarus@gentoo.org> wrote:

> Can we  just translate the error messages?

*I* sure can but it takes time and effort, and for ever developer who
looks at this, the process is repeated unless bug wranglers or other
handy users happen to provide the translation.

Just think of looking into a large build log, checking that the
"error:" should now be "Fehler:" or something in an altogether
different script you can't even read, and then searching backwards
through the log to find the first occurrence. Do the same for "No such
file or directory", "undefined reference" and so on - the things that
most commonly get translated.

Or do you mean automate translation whenever something is attached to a
bug report? I think we'd be doing things the wrong way round then, but
feel free to donate the machine translation server farm to do it. Also,
make sure the result uses the same (original) strings and that you don't
get funny "google translate" surprises.


     jer



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  6:51 ` [gentoo-dev] " Ryan Hill
@ 2011-12-04  6:51   ` Jeroen Roovers
  2011-12-04  8:14     ` Ryan Hill
  2011-12-04  7:39   ` [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Alexandre Rostovtsev
  2011-12-04 14:09   ` James Broadhead
  2 siblings, 1 reply; 25+ messages in thread
From: Jeroen Roovers @ 2011-12-04  6:51 UTC (permalink / raw
  To: gentoo-dev

On Sun, 4 Dec 2011 00:51:17 -0600
Ryan Hill <dirtyepic@gentoo.org> wrote:

> How many times have you needed to request build logs in english since
> the last time you brought this up?  How many times have you had to
> request emerge --info or build logs in general?

Many dozens of times, and a magnitude more dozens of times,
respectively, which also indicates quite clearly that this:

> I think adding a note to bugzilla reminding reporters that logs need
> to be in english would be a better solution

isn't going to work, and that this:

> than forcing it on everyone.

is what we're effectively already doing, only that we require human
intervention and a lot of time and effort to establish that.


     jer



^ permalink raw reply	[flat|nested] 25+ messages in thread

* [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  3:50 [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Jeroen Roovers
  2011-12-04  4:09 ` Alec Warner
  2011-12-04  5:21 ` Mike Frysinger
@ 2011-12-04  6:51 ` Ryan Hill
  2011-12-04  6:51   ` Jeroen Roovers
                     ` (2 more replies)
  2011-12-04  8:29 ` [gentoo-dev] " Michał Górny
  2011-12-04 17:37 ` James Cloos
  4 siblings, 3 replies; 25+ messages in thread
From: Ryan Hill @ 2011-12-04  6:51 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 922 bytes --]

On Sun, 4 Dec 2011 04:50:00 +0100
Jeroen Roovers <jer@gentoo.org> wrote:

> Subject says it all. More and more bug attachments appear that have
> been generated with non-English locales, and it's a nuisance for both
> bug reporters and bug wranglers to request/provide the sane alternative
> that every developer should be able to read.

How many times have you needed to request build logs in english since the last
time you brought this up?  How many times have you had to request emerge
--info or build logs in general?

I think adding a note to bugzilla reminding reporters that logs need to be in
english would be a better solution than forcing it on everyone.

-- 
fonts, gcc-porting,                  it makes no sense how it makes no sense
toolchain, wxwidgets                           but i'll take it free anytime
@ gentoo.org                EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  6:51 ` [gentoo-dev] " Ryan Hill
  2011-12-04  6:51   ` Jeroen Roovers
@ 2011-12-04  7:39   ` Alexandre Rostovtsev
  2011-12-04 14:09   ` James Broadhead
  2 siblings, 0 replies; 25+ messages in thread
From: Alexandre Rostovtsev @ 2011-12-04  7:39 UTC (permalink / raw
  To: gentoo-dev

On Sun, Dec 4, 2011 at 1:51 AM, Ryan Hill <dirtyepic@gentoo.org> wrote:
> On Sun, 4 Dec 2011 04:50:00 +0100
> Jeroen Roovers <jer@gentoo.org> wrote:
>
>> Subject says it all. More and more bug attachments appear that have
>> been generated with non-English locales, and it's a nuisance for both
>> bug reporters and bug wranglers to request/provide the sane alternative
>> that every developer should be able to read.
>
> How many times have you needed to request build logs in english since the last
> time you brought this up?  How many times have you had to request emerge
> --info or build logs in general?

I suspect that being able to read logs is much more important for
general bug wranglers like Jeroen than for the developers who only
deal with bugs for a small set of packages. Although I find
non-English logs annoying, they are usually good enough for me to find
the problem when dealing with bugs in a package with which I am
already familiar. However, I would likely be lost if I needed to help
a user who had posted a log in a language that I did not understand
for a package that I knew little about.

-Alexandre.



^ permalink raw reply	[flat|nested] 25+ messages in thread

* [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  6:51   ` Jeroen Roovers
@ 2011-12-04  8:14     ` Ryan Hill
  2011-12-07 16:57       ` [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again? Jeroen Roovers
  0 siblings, 1 reply; 25+ messages in thread
From: Ryan Hill @ 2011-12-04  8:14 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]

On Sun, 4 Dec 2011 07:51:09 +0100
Jeroen Roovers <jer@gentoo.org> wrote:

> On Sun, 4 Dec 2011 00:51:17 -0600
> Ryan Hill <dirtyepic@gentoo.org> wrote:
> 
> > How many times have you needed to request build logs in english since
> > the last time you brought this up?  How many times have you had to
> > request emerge --info or build logs in general?
> 
> Many dozens of times, and a magnitude more dozens of times,

So a comparatively small number then.

> respectively, which also indicates quite clearly that this:
> 
> > I think adding a note to bugzilla reminding reporters that logs need
> > to be in english would be a better solution
> 
> isn't going to work, and that this:

It sure wouldn't hurt (and has the advantage of not being insane).

> > than forcing it on everyone.
> 
> is what we're effectively already doing, only that we require human
> intervention and a lot of time and effort to establish that.

You still seem to believe that the only thing people do with error messages
is paste them into bugzilla for you to look at.  You realize that you
aren't required to know English to use Gentoo, right?


-- 
fonts, gcc-porting,                  it makes no sense how it makes no sense
toolchain, wxwidgets                           but i'll take it free anytime
@ gentoo.org                EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  3:50 [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Jeroen Roovers
                   ` (2 preceding siblings ...)
  2011-12-04  6:51 ` [gentoo-dev] " Ryan Hill
@ 2011-12-04  8:29 ` Michał Górny
  2011-12-04 17:37 ` James Cloos
  4 siblings, 0 replies; 25+ messages in thread
From: Michał Górny @ 2011-12-04  8:29 UTC (permalink / raw
  To: gentoo-dev; +Cc: jer

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

On Sun, 4 Dec 2011 04:50:00 +0100
Jeroen Roovers <jer@gentoo.org> wrote:

> Subject says it all. More and more bug attachments appear that have
> been generated with non-English locales, and it's a nuisance for both
> bug reporters and bug wranglers to request/provide the sane
> alternative that every developer should be able to read.

Will break random packages with stable Python 3.1, and current testing
Python 3.x versions.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  5:21 ` Mike Frysinger
  2011-12-04  6:03   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again? Jeroen Roovers
@ 2011-12-04 11:58   ` Chí-Thanh Christopher Nguyễn
  2011-12-04 12:07     ` Rich Freeman
                       ` (4 more replies)
  1 sibling, 5 replies; 25+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2011-12-04 11:58 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger schrieb:
> and in reality, you're complaining only about LC_MESSAGES, not LC_ALL or any 
> other locale category ...

I too think it is sufficient to have
LC_MESSAGES=C
in the default make.conf (or somewhere else where the user can easily
change it), with a comment to leave it like this for build.log when
reporting bugs.


Best regards,
Chí-Thanh Christopher Nguyễn



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
@ 2011-12-04 12:07     ` Rich Freeman
  2011-12-04 12:09     ` "Paweł Hajdan, Jr."
                       ` (3 subsequent siblings)
  4 siblings, 0 replies; 25+ messages in thread
From: Rich Freeman @ 2011-12-04 12:07 UTC (permalink / raw
  To: gentoo-dev

2011/12/4 Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>:
> I too think it is sufficient to have
> LC_MESSAGES=C
> in the default make.conf (or somewhere else where the user can easily
> change it), with a comment to leave it like this for build.log when
> reporting bugs.

++

Or if that goes too far have it commented out but still in the file -
so that users can just remove one character to implement it.  This
would need to be accompanied by instructions in Bugzilla so that the
wranglers don't need to post them over and over again.

Users should be able to work in their native languages on their own
PCs (Gentoo is about choice) - the key is just to try to prevent these
kinds of issues in the first place.  We already have notes about
attaching build.log - all we need to do is include the words "with
LC_MESSAGES=C to ensure logs are in English" in the note.

Rich



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
  2011-12-04 12:07     ` Rich Freeman
@ 2011-12-04 12:09     ` "Paweł Hajdan, Jr."
  2011-12-04 12:34     ` [gentoo-dev] " Ryan Hill
                       ` (2 subsequent siblings)
  4 siblings, 0 replies; 25+ messages in thread
From: "Paweł Hajdan, Jr." @ 2011-12-04 12:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

On 12/4/11 12:58 PM, Chí-Thanh Christopher Nguyễn wrote:
> Mike Frysinger schrieb:
>> and in reality, you're complaining only about LC_MESSAGES, not LC_ALL or any 
>> other locale category ...
> 
> I too think it is sufficient to have
> LC_MESSAGES=C
> in the default make.conf (or somewhere else where the user can easily
> change it), with a comment to leave it like this for build.log when
> reporting bugs.

Sounds like a good idea - it's a good default,  allows the user to
change it, and to easily use a different locale for non-portage
interactions.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again?
  2011-12-04  6:14     ` Alec Warner
  2011-12-04  6:29       ` Jeroen Roovers
@ 2011-12-04 12:10       ` Rich Freeman
  2011-12-05 22:12         ` Chí-Thanh Christopher Nguyễn
  1 sibling, 1 reply; 25+ messages in thread
From: Rich Freeman @ 2011-12-04 12:10 UTC (permalink / raw
  To: gentoo-dev

On Sun, Dec 4, 2011 at 1:14 AM, Alec Warner <antarus@gentoo.org> wrote:
> Can we  just translate the error messages?
>

That seems pretty impractical to me.  Google Translate is about your
only option here, and somehow I doubt it is up to parsing build logs.
Hand translation could work if we increases the understaffed bug
wrangling team to the size of the UN...  :)

Rich



^ permalink raw reply	[flat|nested] 25+ messages in thread

* [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
  2011-12-04 12:07     ` Rich Freeman
  2011-12-04 12:09     ` "Paweł Hajdan, Jr."
@ 2011-12-04 12:34     ` Ryan Hill
  2011-12-07 18:12     ` [gentoo-dev] " Zac Medico
  2011-12-07 18:42     ` Mike Frysinger
  4 siblings, 0 replies; 25+ messages in thread
From: Ryan Hill @ 2011-12-04 12:34 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

On Sun, 04 Dec 2011 12:58:06 +0100
Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> wrote:

> I too think it is sufficient to have
> LC_MESSAGES=C
> in the default make.conf (or somewhere else where the user can easily
> change it), with a comment to leave it like this for build.log when
> reporting bugs.

Now that I wouldn't mind.


-- 
fonts, gcc-porting,                  it makes no sense how it makes no sense
toolchain, wxwidgets                           but i'll take it free anytime
@ gentoo.org                EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  6:51 ` [gentoo-dev] " Ryan Hill
  2011-12-04  6:51   ` Jeroen Roovers
  2011-12-04  7:39   ` [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Alexandre Rostovtsev
@ 2011-12-04 14:09   ` James Broadhead
  2011-12-04 14:26     ` Michał Górny
  2 siblings, 1 reply; 25+ messages in thread
From: James Broadhead @ 2011-12-04 14:09 UTC (permalink / raw
  To: gentoo-dev

On 4 December 2011 06:51, Ryan Hill <dirtyepic@gentoo.org> wrote:
> On Sun, 4 Dec 2011 04:50:00 +0100
> Jeroen Roovers <jer@gentoo.org> wrote:
>
>> Subject says it all. More and more bug attachments appear that have
>> been generated with non-English locales, and it's a nuisance for both
>> bug reporters and bug wranglers to request/provide the sane alternative
>> that every developer should be able to read.
>
> How many times have you needed to request build logs in english since the last
> time you brought this up?  How many times have you had to request emerge
> --info or build logs in general?

Surely this can be automated?

"Error - Bug not filed!
No emerge --info attachment detected. Either tag one of your
attachments as `emerge --info`, or upload one"

> I think adding a note to bugzilla reminding reporters that logs need to be in
> english would be a better solution than forcing it on everyone.

Again, automation should be moderately easy to achieve. Having bugzie
grep for "Error" / "Warning" in the top ten non-English languages
should be enough. On a positive, reject the output with a popup
explaining how to get an English version.


Am I wrong, or is LC_MESSAGES=C a non-UTF-8 locale? Why is this
considered a good idea? Why not en-UTF-8?



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04 14:09   ` James Broadhead
@ 2011-12-04 14:26     ` Michał Górny
  0 siblings, 0 replies; 25+ messages in thread
From: Michał Górny @ 2011-12-04 14:26 UTC (permalink / raw
  To: gentoo-dev; +Cc: jamesbroadhead

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

On Sun, 4 Dec 2011 14:09:03 +0000
James Broadhead <jamesbroadhead@gmail.com> wrote:

> On 4 December 2011 06:51, Ryan Hill <dirtyepic@gentoo.org> wrote:
> > On Sun, 4 Dec 2011 04:50:00 +0100
> > Jeroen Roovers <jer@gentoo.org> wrote:
> >
> >> Subject says it all. More and more bug attachments appear that have
> >> been generated with non-English locales, and it's a nuisance for
> >> both bug reporters and bug wranglers to request/provide the sane
> >> alternative that every developer should be able to read.
> >
> > How many times have you needed to request build logs in english
> > since the last time you brought this up?  How many times have you
> > had to request emerge --info or build logs in general?
> 
> Surely this can be automated?
> 
> "Error - Bug not filed!
> No emerge --info attachment detected. Either tag one of your
> attachments as `emerge --info`, or upload one"

It can't. Not all bugs are build failures. Not in all cases 'emerge
--info' is relevant at all.

> > I think adding a note to bugzilla reminding reporters that logs
> > need to be in english would be a better solution than forcing it on
> > everyone.
> 
> Am I wrong, or is LC_MESSAGES=C a non-UTF-8 locale? Why is this
> considered a good idea? Why not en-UTF-8?

Because not all systems are required to be built with utf8 locale.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04  3:50 [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Jeroen Roovers
                   ` (3 preceding siblings ...)
  2011-12-04  8:29 ` [gentoo-dev] " Michał Górny
@ 2011-12-04 17:37 ` James Cloos
  2011-12-04 18:54   ` Mike Frysinger
  4 siblings, 1 reply; 25+ messages in thread
From: James Cloos @ 2011-12-04 17:37 UTC (permalink / raw
  To: gentoo-dev

As someone who leaves root w/o LANG, I would note that there are a few
packages which cannot build unless LANG is set to a UTF-8 locale.

What we really need is C.UTF-8 and/or POSIX.UTF-8, and to force *that* 
in emerge(1), ebuild(1), etc.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04 17:37 ` James Cloos
@ 2011-12-04 18:54   ` Mike Frysinger
  0 siblings, 0 replies; 25+ messages in thread
From: Mike Frysinger @ 2011-12-04 18:54 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 381 bytes --]

On Sunday 04 December 2011 12:37:15 James Cloos wrote:
> As someone who leaves root w/o LANG, I would note that there are a few
> packages which cannot build unless LANG is set to a UTF-8 locale.

file a bug then

> What we really need is C.UTF-8 and/or POSIX.UTF-8, and to force *that*
> in emerge(1), ebuild(1), etc.

no.  it'll break systems that don't have UTF8 support.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again?
  2011-12-04 12:10       ` Rich Freeman
@ 2011-12-05 22:12         ` Chí-Thanh Christopher Nguyễn
  2011-12-07 18:40           ` Mike Frysinger
  0 siblings, 1 reply; 25+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2011-12-05 22:12 UTC (permalink / raw
  To: gentoo-dev

Rich Freeman schrieb:
>> Can we  just translate the error messages?
> That seems pretty impractical to me.  Google Translate is about your
> only option here,

Actually the translation already exists in /usr/share/locale/ and just
needs to be looked up, so it appears not entirely impractical. Still,
probably not worth the effort.


Best regards,
Chí-Thanh Christopher Nguyễn



^ permalink raw reply	[flat|nested] 25+ messages in thread

* [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again?
  2011-12-04  8:14     ` Ryan Hill
@ 2011-12-07 16:57       ` Jeroen Roovers
  0 siblings, 0 replies; 25+ messages in thread
From: Jeroen Roovers @ 2011-12-07 16:57 UTC (permalink / raw
  To: gentoo-dev

On Sun, 4 Dec 2011 02:14:15 -0600
Ryan Hill <dirtyepic@gentoo.org> wrote:

> > Many dozens of times, and a magnitude more dozens of times,
> 
> So a comparatively small number then.

You seem to argue that the time I spend on getting bug reports
right isn't essential or beneficial to your bugzilla work. Let's
actually act on that.

The alternative action I am now putting in place is to just allow the
foreign language build logs. One side effect is that the Summary, which
I tend to make more specific to the reported bug (replacing "refuses to
build", "failes[sic] on[sic] compile" and so on) by appending the
actual error, will now start seeing a multitude of untranslated output
messages. This makes bugs harder to find by searching, but by then
they're assigned anyway, so that's not my problem any longer.


     jer



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
                       ` (2 preceding siblings ...)
  2011-12-04 12:34     ` [gentoo-dev] " Ryan Hill
@ 2011-12-07 18:12     ` Zac Medico
  2011-12-07 18:42     ` Mike Frysinger
  4 siblings, 0 replies; 25+ messages in thread
From: Zac Medico @ 2011-12-07 18:12 UTC (permalink / raw
  To: gentoo-dev

On 12/04/2011 03:58 AM, Chí-Thanh Christopher Nguyễn wrote:
> Mike Frysinger schrieb:
>> and in reality, you're complaining only about LC_MESSAGES, not LC_ALL or any 
>> other locale category ...
> 
> I too think it is sufficient to have
> LC_MESSAGES=C
> in the default make.conf (or somewhere else where the user can easily
> change it), with a comment to leave it like this for build.log when
> reporting bugs.

If we want it to go in the default make.conf, it would go in catalyst,
since that's what generates the default make.conf for stage builds.

We can get an equivalent result by putting it in make.defaults of the
base profile, and adding a note to the handbook and/or localization guide.
-- 
Thanks,
Zac



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again?
  2011-12-05 22:12         ` Chí-Thanh Christopher Nguyễn
@ 2011-12-07 18:40           ` Mike Frysinger
  0 siblings, 0 replies; 25+ messages in thread
From: Mike Frysinger @ 2011-12-07 18:40 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 643 bytes --]

On Monday 05 December 2011 17:12:44 Chí-Thanh Christopher Nguyễn wrote:
> Rich Freeman schrieb:
> >> Can we  just translate the error messages?
> > 
> > That seems pretty impractical to me.  Google Translate is about your
> > only option here,
> 
> Actually the translation already exists in /usr/share/locale/ and just
> needs to be looked up, so it appears not entirely impractical. Still,
> probably not worth the effort.

assuming you have the same version of the package issuing the error message 
installed locally, and you haven't restricted your LINGUAS in anyway (so you 
have them all installed), then yes ;)
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again?
  2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
                       ` (3 preceding siblings ...)
  2011-12-07 18:12     ` [gentoo-dev] " Zac Medico
@ 2011-12-07 18:42     ` Mike Frysinger
  4 siblings, 0 replies; 25+ messages in thread
From: Mike Frysinger @ 2011-12-07 18:42 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 866 bytes --]

On Sunday 04 December 2011 06:58:06 Chí-Thanh Christopher Nguyễn wrote:
> Mike Frysinger schrieb:
> > and in reality, you're complaining only about LC_MESSAGES, not LC_ALL or
> > any other locale category ...
> 
> I too think it is sufficient to have
> LC_MESSAGES=C
> in the default make.conf (or somewhere else where the user can easily
> change it), with a comment to leave it like this for build.log when
> reporting bugs.

this would allow a small # of bugs to creep into our system (some packages run 
programs and then grep the output for english strings and miss setting 
LC_{MESSAGES,ALL} to C first), but that might easily be smaller than the burden 
placed on bug-wranglers ...

i'm indifferent to setting LC_MESSAGES=C in the default make.conf (i.e. via 
catalyst).  i don't think it should be in the profile's make.defaults.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2011-12-07 18:43 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-04  3:50 [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Jeroen Roovers
2011-12-04  4:09 ` Alec Warner
2011-12-04  5:21 ` Mike Frysinger
2011-12-04  6:03   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again? Jeroen Roovers
2011-12-04  6:14     ` Alec Warner
2011-12-04  6:29       ` Jeroen Roovers
2011-12-04 12:10       ` Rich Freeman
2011-12-05 22:12         ` Chí-Thanh Christopher Nguyễn
2011-12-07 18:40           ` Mike Frysinger
2011-12-04 11:58   ` [gentoo-dev] So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Chí-Thanh Christopher Nguyễn
2011-12-04 12:07     ` Rich Freeman
2011-12-04 12:09     ` "Paweł Hajdan, Jr."
2011-12-04 12:34     ` [gentoo-dev] " Ryan Hill
2011-12-07 18:12     ` [gentoo-dev] " Zac Medico
2011-12-07 18:42     ` Mike Frysinger
2011-12-04  6:51 ` [gentoo-dev] " Ryan Hill
2011-12-04  6:51   ` Jeroen Roovers
2011-12-04  8:14     ` Ryan Hill
2011-12-07 16:57       ` [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_MESSAGES=C again? Jeroen Roovers
2011-12-04  7:39   ` [gentoo-dev] Re: So now that we have --quiet-build as default, can we talk about a forced LC_ALL=C again? Alexandre Rostovtsev
2011-12-04 14:09   ` James Broadhead
2011-12-04 14:26     ` Michał Górny
2011-12-04  8:29 ` [gentoo-dev] " Michał Górny
2011-12-04 17:37 ` James Cloos
2011-12-04 18:54   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox