Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47901 - Wrong collation with locale cs_CZ

Attached to Project: Arch Linux
Opened by Fedor Piecka (piecka) - Tuesday, 26 January 2016, 11:49 GMT
Last edited by Allan McRae (Allan) - Saturday, 20 February 2016, 01:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When using LC_COLLATE="cs_CZ.UTF-8", sort produces wrong output.

On Linux Mint, the output is correct when using cs_CZ.UTF-8.


Additional info:
* glibc 2.22-3
* The bug is not present on Linux Mint 17.3 Rosa / locales 2.13+git20120306-12.1) => looks like a problem with patch applied in Arch

Steps to reproduce:

$ cat randomorder
kukucka
kubisd
kucharik
kuciak
kubisd
kudelova
kukucka
kucharik
kudelova
kuciak
$ locale
LANG=sk_SK.UTF-8
LC_CTYPE="sk_SK.UTF-8"
LC_NUMERIC="sk_SK.UTF-8"
LC_TIME=sk_SK.UTF-8
LC_COLLATE="sk_SK.UTF-8"
LC_MONETARY="sk_SK.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="sk_SK.UTF-8"
LC_NAME="sk_SK.UTF-8"
LC_ADDRESS="sk_SK.UTF-8"
LC_TELEPHONE="sk_SK.UTF-8"
LC_MEASUREMENT="sk_SK.UTF-8"
LC_IDENTIFICATION="sk_SK.UTF-8"
LC_ALL=
$ cat randomorder | sort
kubisd
kubisd
kudelova
kucharik
kucharik
kuciak
kuciak
kudelova
kukucka
kukucka
$ export LC_COLLATE="en_US.UTF-8"
$ cat randomorder | sort
kubisd
kubisd
kucharik
kucharik
kuciak
kuciak
kudelova
kudelova
kukucka
kukucka
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 20 February 2016, 01:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed with glibc update
Comment by Allan McRae (Allan) - Tuesday, 26 January 2016, 13:07 GMT
Arch applies not patch to glibc (apart from the upstream fixes to the release branch).

I suspect this is fixed in the upcoming glibc release.
Comment by Allan McRae (Allan) - Saturday, 20 February 2016, 01:23 GMT
Adding seblu -> coreutils.

Loading...