On Sun, Mar 08, 2009 at 09:27:20PM +0100, Alexis Ballier wrote:
> Moreover this would automagically solve the [a-z] & friends regexp
> failures; though that's still good QA to fix them but we wouldn't
> encounter them anymore.
We would encounter them when using the programs outside of portage, but
not when running the testsuite (if available) from within portage. It
would succeed in working around compile-time only bugs, but it would be
a major pain for locale bugs that can also cause problems at run time.
03-08-2009, 09:50 PM
Ryan Hill
LC_ALL=C Set by default for portage
On Sun, 8 Mar 2009 21:20:14 +0100
Tomáš Chvátal <scarabeus@gentoo.org> wrote:
> Hi,
> lately i see that in our bugzilla most of the build reports are
> reported with localized build logs which we dont understand. This
> leads to us asking the user to run the emerge once more with LC_ALL=C.
>
> Wont it be nice to have this variable set by default in portage so
> users reporting bugs report in English? Since if everything goes fine
> they dont even bother about the warnings/errors and if something goes
> wrong it ends up on us to solve the mess :]
>
> The LC_ALL should be set for all relevant configure/compile/install
> phases at least.
You do realize that many people don't speak any English, and therefore
wouldn't be filing bugs anyways? They just want to use their
computer. I'm not sure they will appreciate you forcing a language they
don't speak on them any more than I would like to suddenly see all my
build errors in Myanmar.
--
gcc-porting, by design, by neglect
treecleaner, for a fact or just for effect
wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
03-08-2009, 09:52 PM
Dawid Węgliński
LC_ALL=C Set by default for portage
On Sunday 08 of March 2009 23:50:08 Ryan Hill wrote:
> You do realize that many people don't speak any English, and therefore
> wouldn't be filing bugs anyways? They just want to use their
> computer. I'm not sure they will appreciate you forcing a language they
> don't speak on them any more than I would like to suddenly see all my
> build errors in Myanmar.
Dawid Węgliński wrote:
> On Sunday 08 of March 2009 23:50:08 Ryan Hill wrote:
>
>> You do realize that many people don't speak any English, and therefore
>> wouldn't be filing bugs anyways? They just want to use their
>> computer. I'm not sure they will appreciate you forcing a language they
>> don't speak on them any more than I would like to suddenly see all my
>> build errors in Myanmar.
>
> Plz fix the bug [1]
>
> [1] - http://bugs.gentoo.org/show_bug.cgi?id=166730
>
Possible solution:
Don't set LC_ALL in general unless you're merging to get specific error
messages. It's a known issue. Try searching for LC_ALL among CLOSED
documentation bugs. Pops up a lot:
* Note the big ol' WARNING before code listing 3.1.
03-08-2009, 11:35 PM
Mike Frysinger
LC_ALL=C Set by default for portage
On Sunday 08 March 2009 16:20:14 Tomáš Chvátal wrote:
> lately i see that in our bugzilla most of the build reports are reported
> with localized build logs which we dont understand. This leads to us asking
> the user to run the emerge once more with LC_ALL=C.
LC_ALL does a lot more than localization of messages. this topic has come up
before on the list, so i'd search the archives for all the reasons why this is
not the thing to do.
-mike
03-08-2009, 11:36 PM
Mike Frysinger
LC_ALL=C Set by default for portage
On Sunday 08 March 2009 18:52:58 Dawid Węgliński wrote:
> On Sunday 08 of March 2009 23:50:08 Ryan Hill wrote:
> > You do realize that many people don't speak any English, and therefore
> > wouldn't be filing bugs anyways? They just want to use their
> > computer. I'm not sure they will appreciate you forcing a language they
> > don't speak on them any more than I would like to suddenly see all my
> > build errors in Myanmar.
>
> Plz fix the bug [1]
>
> [1] - http://bugs.gentoo.org/show_bug.cgi?id=166730
it's not entirely clear this is a locale specific bug considering other people
say they hit it with en_US.UTF8. that's the locale i use and ive never hit
that problem.
-mike
03-08-2009, 11:38 PM
Tomáš Chvátal
LC_ALL=C Set by default for portage
Dne pondÄ›lÃ* 09 BÅ™ezen 2009 01:35:07 Mike Frysinger napsal(a):
> On Sunday 08 March 2009 16:20:14 Tomáš Chvátal wrote:
> > lately i see that in our bugzilla most of the build reports are reported
> > with localized build logs which we dont understand. This leads to us
> > asking the user to run the emerge once more with LC_ALL=C.
>
> LC_ALL does a lot more than localization of messages. this topic has come
> up before on the list, so i'd search the archives for all the reasons why
> this is not the thing to do.
> -mike
Well if complete LC_ALL is not option so how about reseting at least
LC_MESSAGES...
03-08-2009, 11:49 PM
Mike Frysinger
LC_ALL=C Set by default for portage
On Sunday 08 March 2009 20:38:01 Tomáš Chvátal wrote:
> Dne pondÄ›lÃ* 09 BÅ™ezen 2009 01:35:07 Mike Frysinger napsal(a):
> > On Sunday 08 March 2009 16:20:14 Tomáš Chvátal wrote:
> > > lately i see that in our bugzilla most of the build reports are
> > > reported with localized build logs which we dont understand. This leads
> > > to us asking the user to run the emerge once more with LC_ALL=C.
> >
> > LC_ALL does a lot more than localization of messages. this topic has
> > come up before on the list, so i'd search the archives for all the
> > reasons why this is not the thing to do.
>
> Well if complete LC_ALL is not option so how about reseting at least
> LC_MESSAGES...
that would be a lot safer, but i still dont agree it should be done. document
the process in the bugzilla howto and call it a day. see #198077 and #260477.
-mike
03-09-2009, 12:45 AM
Maciej Mrozowski
LC_ALL=C Set by default for portage
On Monday 09 of March 2009 01:36:52 Mike Frysinger wrote:
In my opinion it's nowhere near locale specific bug, unless user sets
PORTAGE_TMPDIR to some path containing UTF-8 character beyond ASCII and having
broken locales in system. The problem is mainly that such build logs are
barely helpful when localized in some funny way.
> it's not entirely clear this is a locale specific bug considering other
> people say they hit it with en_US.UTF8. that's the locale i use and ive
> never hit that problem.
Agreed.
--
regards
MM
03-09-2009, 02:46 AM
Serkan Kaba
LC_ALL=C Set by default for portage
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Harald van Dijk yazmış:
> On Sun, Mar 08, 2009 at 09:27:20PM +0100, Alexis Ballier wrote:
>> Moreover this would automagically solve the [a-z] & friends regexp
>> failures; though that's still good QA to fix them but we wouldn't
>> encounter them anymore.
>
> We would encounter them when using the programs outside of portage, but
> not when running the testsuite (if available) from within portage. It
> would succeed in working around compile-time only bugs, but it would be
> a major pain for locale bugs that can also cause problems at run time.
>
>
I agree. There are quite a number of bugs, either compile time or
runtime, that can be spotted and reported to upstream (and hope that
they get fixed) in Turkish locale and I posted on my dev blog why[1]
this happens. I choose to translate the messages after the build.log if
I reproduce the bug only in Turkish locale. If our bug reporting guide
is not guiding people (yeah people don't read docs and especially ones
that are longer than a paragraph and in a language that they can't read)
portage could say a few words on sending the bug report in English if it
spots another locale with the exception of the bug being a locale
specific issue.
1:
http://blogs.gentoo.org/serkan/2008/11/16/applications_failing_with_turkish_locale
- --
Sincerely,
Serkan KABA
Gentoo Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org