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

Bug#724456: locales: regeneration of locales by locale-gen breaks programs; should be done in a temporary file



Control: found -1 2.13-38+deb7u7

On 2013-09-24 02:07:39 +0200, Vincent Lefevre wrote:
> The regeneration of all the locales by /usr/sbin/locale-gen is slow,
> so that it sometimes breaks programs. It currently removes the
> /usr/lib/locale/locale-archive file to rebuild it, and until the
> used locales are available, various programs (e.g. executed by cron)
> break.
[...]

This still occurs: on a computation server, glibc was upgraded
yesterday, and one of my programs failed with the following error.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "en_US.UTF-8",
        LC_TIME = "en_DK",
        LC_COLLATE = "POSIX",
        LC_CHARMAP = "UTF-8",
        LANG = "POSIX"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

and "locale: Cannot set LC_CTYPE to default locale: Too many levels of
symbolic links" in a program started by the Perl script.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: