On 4 February 2010 18:34, Siegfried Gevatter <rai...@ubuntu.com> wrote:
> 2010/2/4 Patric Mueller <bh...@gmx.net>:
>> I downloaded and run the debian-testing-i386-netinst.iso and then
>> [...]
>> Both versions just worked.
>
> I guess that ISO comes with the locales for English then.
>
> (By the way, if you want a build environment more like that of the
> buildds, you can use eg. pbuilder. If you decide to try it out, I
> recommend using the pbuilder-dist wrapper script, which is available
> in package ubuntu-dev-tools)
>
>> But the building of package worked? And compiling it manually with
>> --with-unicode-locale=en_US.utf8 produced a working binary? That
>> sounds strange.
>
> Yeah. Note however that the package was build in a chroot with
> locales-all installed, but I tried it on my local system.
>
>> What does 'locale -a' and 'fakeroot locale -a' show?
>
> On my local system:
> C
> ca_ES.utf8
> POSIX
>
> Inside the chroot, without installing locales-all:
> C
> POSIX
>
> Inside the chroot, after installing locales-all (like it has when it's
> building the package when locales-all is set as a build-dependency):
> C
> POSIX
> aa_DJ
> aa_DJ.iso88591
> aa_DJ.utf8
> [... almost enough lines to crash Iceweasel when copy-pasting more...]
> zu_ZA
> zu_ZA.iso88591
> zu_ZA.utf8
>
>> If only --enable-multibyte is specified, the configure script should
>> select a utf8 locale by itself.
>
> Yep, it picks up a random one though, which is why I set it to English
> explicitly.

If the random one is aa_DJ.utf8 then most people won't have that.

Note also that the buildd has zu_ZA.utf8 while what I get is
en_US.UTF-8 (or zu_ZA.UTF-8 should I build it).

So you will probably want locales-all for build as there is no other
way to ensure that there is at least one UTF-8 locale.

It would be also reasonable to move the check for random (preferably
the one currently in use) UTF-8 locale from build time to run time.
However, this would need patching and I did not get around to looking
at what vilistextum does and how ugly it would be to make that a run
time check instead of a build time check.

Thanks

Michal



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to