Do you have your locale selected in /etc/locale.gen?
Yes:
# grep -v ^# /etc/locale.gen
de_DE.UTF-8 UTF-8
en_US.UTF-8 UTF-8
Did it regenerate after updating to glibc-2.22 (check pacman.log).
Yes:
[2015-08-12 12:37] [ALPM] upgraded glibc (2.21-4 -> 2.22-1)
[2015-08-12 12:37] [ALPM-SCRIPTLET] Generating locales...
[2015-08-12 12:37] [ALPM-SCRIPTLET] de_DE.UTF-8... done
[2015-08-12 12:37] [ALPM-SCRIPTLET] en_US.UTF-8... done
[2015-08-12 12:37] [ALPM-SCRIPTLET] Generation complete.
The same problem is also discussed here, also without solution.
]]># pandoc 134
pandoc: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
zsh: abort (core dumped) pandoc
LANG="de_DE.UTF-8" does not help, either:
LANG="de_DE.UTF-8" pandoc 139
pandoc: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
zsh: abort (core dumped) LANG="de_DE.UTF-8" pandoc
sudo LANG="en_DE.UTF-8" /usr/bin/prelink -amfR
You may replace the string between the quotes (" ") with your desired locale.
P.S.: LANG="en_US.UTF-8" seems to cause the problem and is not working.
]]>Did you solved it? how?
No.
]]>I tried to solve the problem with a downgrade of glibc, gcc, and gcc-libs but this lead to a system that was not bootable anymore! (I had to restore the packages above via chroot...)
]]>$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
]]>$ sudo prelink -amfR
prelink: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
anyone?
]]>