[vbox-dev] Compilation failure with LC_COLLATE=et_EE
Jens.Schweikhardt at Sun.COM
Fri Mar 20 01:37:45 PDT 2009
Jaak Ristioja wrote:
> VirtualBox 2.1.4 fails to compile when using et_EE as the system locale setting.
> Basically it's src/VBox/VMM/testcase/tstAsmStructsAsm-lst.sed that fails. I
> think it's because it uses character sequences like [A-Za-z], but under the
> Estonian locale, the letter 'Z' is not the last character of the alphabet
> "abcdefghijklmnopqrsšzžtuvwõäöüxy". Therefore such character sequences only
> match part of the alphabet and fail to match what was expected. I recommend to
> use POSIX character classes like [:alpha:], [:alnum:] and [:digit:] instead (see
> "man 1 perlre").
Good catch. Other ways to handle this would be to run such commands
(or even the whole build, kmk?) in the "C" locale, overriding any user
localization settings. I've seen other projects do just that.
Our build maintainer will certainly have a look at this.
Sun Microsystems GmbH Jens Schweikhardt
Werkstrasse 24 VirtualBox Engineering
71384 Weinstadt Phone: +49 (0)7151 60405213
mailto:Jens.Schweikhardt at Sun.COM Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
More information about the vbox-dev