Bug#37850: locales: setlocale() returns NULL on i386
Package: locales
Version: 2.1.1-5.1
The last upload of locales seems to not work on i386; I have
LANG=fr_FR
and
LC_ALL=fr_FR
set in the envronment, and these settings seem not to be taken
into account anymore (2.1.1-5.1 is the first version where I
notice this problem).
ltrace shows that setlocale(LC_ALL, "") returns NULL.
strace indicates that the locale files are correctly open:
$ strace -e open =date
[...]
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/i18n/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr_FR/LC_MESSAGES", O_RDONLY) = 3
open("/usr/share/locale/fr_FR/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
open("/usr/share/i18n/fr_FR/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES", O_RDONLY) = 3
open("/usr/share/locale/fr/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/fr/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr_FR/LC_MESSAGES/sh-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES/sh-utils.mo", O_RDONLY) = 3
open("/etc/localtime", O_RDONLY) = 3
This is right after an apt-get dist-upgrade this morning.
The problem does not show up on Sparc, with the same package
versions.
-- System Information
Debian Release: potato
Kernel Version: Linux melusine 2.2.7 #1 ven mai 7 16:53:59 CEST 1999 i686 unknown
Reply to: