FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 03-08-2009, 07:36 PM
Harald van Dijk
 
Default LC_ALL=C Set by default for portage

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.
 
Old 03-08-2009, 09:50 PM
Ryan Hill
 
Default 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
 
Old 03-08-2009, 09:52 PM
Dawid Węgliński
 
Default 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.

Plz fix the bug [1]

[1] - http://bugs.gentoo.org/show_bug.cgi?id=166730
 
Old 03-08-2009, 11:15 PM
Josh Saddler
 
Default LC_ALL=C Set by default for portage

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:

[1] http://tinyurl.com/d3df5y (bug search list)
[2] http://bugs.gentoo.org/show_bug.cgi?id=260477
[3] http://www.gentoo.org/doc/en/bugzilla-howto.xml
[4] http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 *

* Note the big ol' WARNING before code listing 3.1.
 
Old 03-08-2009, 11:35 PM
Mike Frysinger
 
Default 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
 
Old 03-08-2009, 11:36 PM
Mike Frysinger
 
Default 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
 
Old 03-08-2009, 11:38 PM
Tomáš Chvátal
 
Default 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...
 
Old 03-08-2009, 11:49 PM
Mike Frysinger
 
Default 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
 
Old 03-09-2009, 12:45 AM
Maciej Mrozowski
 
Default LC_ALL=C Set by default for portage

On Monday 09 of March 2009 01:36:52 Mike Frysinger wrote:

> > Plz fix the bug [1]
> >
> > [1] - http://bugs.gentoo.org/show_bug.cgi?id=166730

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
 
Old 03-09-2009, 02:46 AM
Serkan Kaba
 
Default 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

iEYEARECAAYFAkm0kPgACgkQRh6X64ivZaKsKgCfYPtokmwM6G 1jyBM1tbBZOrc5
RVwAnAwkHu+nIN4Khtj0lZYgSRnjKiMC
=9n5G
-----END PGP SIGNATURE-----
 

Thread Tools




All times are GMT. The time now is 08:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org