qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Patch 0/2] Fix QEMU configure / make with Turkish (and


From: Peter Maydell
Subject: Re: [Qemu-devel] [Patch 0/2] Fix QEMU configure / make with Turkish (and maybe other) locale
Date: Sun, 25 Mar 2012 20:52:57 +0100

On 25 March 2012 20:27, Andreas Färber <address@hidden> wrote:
> Am 25.03.2012 21:11, schrieb Stefan Weil:
>> These two patches override the user specific locale settings which
>> can break QEMU builds. They set the default locale C for configure
>> and make:
>>
>> [PATCH v2 1/2] Makefile: Set default locale C
>> [PATCH 2/2] configure: Set default locale C (fix build for Turkish
>>
>> A side effect is that all messages which are produced during configure
>> and make also use the default locale, so for example compiler messages
>> are no longer localized.
>
> Reading the patches I thought of that issue, too, and don't think a
> sledge hammer is the best solution here. The issue reported was tr (a
> user-invisible invokation) misbehaving so why not fix just that? That
> way user-directed output would still be in the language of the user's
> choice.

Well, configure should just set the locale to C, I think. This is how
autoconf-generated configure scripts behave, for example. The rationale
here is that configure shouldn't be outputting anything except (a) output
to log files etc and (b) messages we control [and which we don't localise
anyway!]. So we should favour not making it easy to accidentally
introduce obscure bugs in some locales.

For make itself the argument is less clear-cut because as you say
compiler messages go to the user.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]