Bug#963513: Please restore LC_TIME symlinks

2020-06-22 Thread Michael Stone

On Mon, Jun 22, 2020 at 09:41:20PM +0200, Jordi Mallach wrote:

In #584837, it was requested that the symlinks from
  ...//LC_MESSAGES/coreutils.mo
to
  ../LC_TIME/coreutils.mo

were removed due to being pointless and unused.

I'm unsure if that was the case at that point (it's been 10 years), but
current implementations of some of the commands in coreutils do need and
expect LC_TIME to operate correctly:

openat(AT_FDCWD, "/usr/share/locale/ca/LC_TIME/coreutils.mo", O_RDONLY) = 3

In particular, at least ls and date will try to use it to represent date
formats correctly on verbose outputs. This affects at least Catalan,
which shows time incorrectly unless you force a date format string by
hand.


Can you give examples of expected and current output?



Bug#963513: Please restore LC_TIME symlinks

2020-06-22 Thread Jordi Mallach
Package: coreutils
Version: 8.30-3+b1
Severity: normal
Tags: l10n

Hi,

In #584837, it was requested that the symlinks from
   ...//LC_MESSAGES/coreutils.mo
to
   ../LC_TIME/coreutils.mo

were removed due to being pointless and unused.

I'm unsure if that was the case at that point (it's been 10 years), but
current implementations of some of the commands in coreutils do need and
expect LC_TIME to operate correctly:

openat(AT_FDCWD, "/usr/share/locale/ca/LC_TIME/coreutils.mo", O_RDONLY) = 3

In particular, at least ls and date will try to use it to represent date
formats correctly on verbose outputs. This affects at least Catalan,
which shows time incorrectly unless you force a date format string by
hand.

See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33211 for some
related issue.

Thanks,
Jordi

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=ca_ES:ca (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages coreutils depends on:
ii  libacl1  2.2.53-8
ii  libattr1 1:2.4.48-5
ii  libc62.30-8
ii  libselinux1  3.0-1+b3

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information