From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#33678: Locale problems Date: Sat, 8 Dec 2018 23:59:06 +0100 Message-ID: <20181208225906.bqlagnuzxnrgqqlq@pelzflorian.localdomain> References: <20181208223551.2ad9c226@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVlZv-0007Yq-Ip for bug-guix@gnu.org; Sat, 08 Dec 2018 18:00:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVlZr-0008W6-81 for bug-guix@gnu.org; Sat, 08 Dec 2018 18:00:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVlZq-0008V3-Vk for bug-guix@gnu.org; Sat, 08 Dec 2018 18:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gVlZq-0007ft-TY for bug-guix@gnu.org; Sat, 08 Dec 2018 18:00:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20181208223551.2ad9c226@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 33678@debbugs.gnu.org On Sat, Dec 08, 2018 at 10:35:51PM +0100, Danny Milosavljevic wrote: > Can we do something against the locale problems that keep showing up > when updating? > > Right now, after a half-finished update from guix master (half-finished because > once any package build breaks, the entire update will stop), I cannot use any > Umlauts because "xterm -u8" stops working as it should: > $ xterm -u8 > Warning: locale not supported by C library, locale unchanged > $ > > Why does this keep happening? Shouldn't the functional nature and modularity > of Guix keep using the old locales where those make sense and the new locales > where those make sense? > > Environment: > > $ locale -a > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > locale: Cannot set LC_COLLATE to default locale: No such file or directory Is this only on foreign distros? I cannot reproduce this in a Guix VM. These errors occurred for me on the foreign distro Debian also for Debian commands like localectl because the locale command was taken from a glibc in root’s guix profile. I uninstalled the glibc package and now Debian’s locale commands work again. `strace locale` made it seem like the directory for the de_DE.UTF-8 locale was never checked by the locale program, only de_DE.utf8 and others, which apparently are not what Debian uses. Regards, Florian