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

Bug#214028: localedef, LSB 1.3 conformance, and Debian standard utilities



On Fri, Oct 03, 2003 at 05:33:21PM -0700, Paul Eggert wrote:
> Package: libc6
> Version: 2.3.2-8
[...]
> In the meantime, to conform to LSB 1.3, I propose that we modify the
> "localedef" command to refuse to create user-defined locales with
> multibyte encodings when invoked in a strict POSIX environment.  This
> is a very simple fix that avoids the patch problems mentioned earlier.
> It should not affect ordinary users (who hardly ever use localedef,
> and when they do, don't use it in strict POSIX mode).  And it should
> satisfy the LSB 1.3 conformance testers.
[...]

Disclaimer: I am not involved in maintaining Debian glibc.

In Debian, there are no installed locales by default, they are generated
by localedef when configuring the locales package. So I am not sure what
you mean by "user-defined locales", since your patch does not check UID.

As autobuilders do not have all locales installed, some packages use to
generate them when building.  Will this still work?
Related discussions took place at
 * http://lists.debian.org/debian-gcc/2003/debian-gcc-200301/msg00060.html
   This thread was broken and replies went to
   http://lists.debian.org/debian-gcc/2003/debian-gcc-200301/msg00249.html
 * http://lists.debian.org/debian-i18n/2003/debian-i18n-200309/msg00039.html
 * http://bugs.debian.org/208021

I take this opportunity to tell that a patch has been sent to
http://bugs.debian.org/201998 to provide French translated coreutils man
pages, but their generation can only be performed if the fr_FR locale is
installed, so one could try to generate missing locales at build time.
(Of course fr_FR is not affected by this change, but I feel very
uncomfortable on discrimination against other locales)

Denis



Reply to: