Bug#949151: Translation not loaded?

Laurent Bigonville bigon at debian.org
Fri Jan 17 14:11:26 GMT 2020

Source: gnutls28
Severity: minor


Running strace in some application displayed the following line:

[pid 76272] openat(AT_FDCWD, "/usr/share/locale/fr/LC_MESSAGES/gnutls.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)

Apparently something is trying to load the gnutls.mo file, but the files
are installed as gnutls30.mo

Quickly looking at the code, I see the following line in lib/global.c:

        bindtextdomain(PACKAGE, LOCALEDIR);

Shouldn't either "PACKAGE" be overriden globally, or it should be
changed to PACKAGE30 as it's already the case in
debian/patches/14_version_gettextcat.diff for some other bits in the

Kind regards,

Laurent Bigonville

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

Kernel: Linux 5.4.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

More information about the Pkg-gnutls-maint mailing list