From unknown Sat Aug 09 20:52:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40899 <40899@debbugs.gnu.org> To: bug#40899 <40899@debbugs.gnu.org> Subject: Status: Locales not set up correctly Reply-To: bug#40899 <40899@debbugs.gnu.org> Date: Sun, 10 Aug 2025 03:52:10 +0000 retitle 40899 Locales not set up correctly reassign 40899 guix submitter 40899 Matthew Kraai severity 40899 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 08:29:51 2020 Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 12:29:51 +0000 Received: from localhost ([127.0.0.1]:35853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT2tT-0000A6-8v for submit@debbugs.gnu.org; Mon, 27 Apr 2020 08:29:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:35997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT2tS-00009z-8p for submit@debbugs.gnu.org; Mon, 27 Apr 2020 08:29:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36992) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT2tR-0003Gp-Mp for bug-guix@gnu.org; Mon, 27 Apr 2020 08:29:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT2tQ-0005Si-RQ for bug-guix@gnu.org; Mon, 27 Apr 2020 08:29:49 -0400 Received: from mail.ftbfs.org ([52.8.68.13]:18800 helo=aws.ftbfs.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jT2tQ-0005Na-EK for bug-guix@gnu.org; Mon, 27 Apr 2020 08:29:48 -0400 Received: from ip68-5-94-190.oc.oc.cox.net ([68.5.94.190] helo=inspiron-3147) by aws.ftbfs.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jT2tN-0006Pr-8m for bug-guix@gnu.org; Mon, 27 Apr 2020 12:29:45 +0000 Date: Mon, 27 Apr 2020 05:29:43 -0700 From: Matthew Kraai To: bug-guix@gnu.org Subject: Locales not set up correctly Message-ID: <20200427122943.GA25049@inspiron-3147> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline Received-SPF: pass client-ip=52.8.68.13; envelope-from=kraai@ftbfs.org; helo=aws.ftbfs.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 08:29:45 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 52.8.68.13 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, After I launch an EC2 instance using the official Debian 10 Buster AMI and run the attached script, which should match the installation instructions in the manual, the locales don't seem to be set up properly. For example, ``` $ guix package -i nss-certs guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' packa= ge and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. guix package: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following package will be installed: nss-certs 3.50 substitute: /gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/= bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) 0.1 MB will be downloaded: /gnu/store/0y63pfqi2626nwsjbksrci1jyd62cxx8-=1B[0mnss-certs-3.50 /gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash: wa= rning: setlocale: LC_ALL: cannot change locale (en_US.utf8) downloading from https://ci.guix.gnu.org/nar/lzip/0y63pfqi2626nwsjbksrci1jy= d62cxx8-nss-certs-3.50...=1B[0m nss-certs-3.50 133KiB 189KiB/s 00:00 [######## ] = 48.3%Backtrace: In ice-9/boot-9.scm: 1736:10 4 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 3 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 2 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 1 (_ #(#(#))) In guix/ui.scm: 1936:12 0 (run-guix-command _ . _) guix/ui.scm:1936:12: In procedure run-guix-command: Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert = wide string to output locale" 84 #f #f)'. substitution of /gnu/store/0y63pfqi2626nwsjbksrci1jyd62cxx8-nss-certs-3.50 = failed guix package: error: some substitutes for the outputs of derivation `/gnu/s= tore/mxp55201zl6wm2d82xdjnc8qa7qwgr85-nss-certs-3.50.drv' failed (usually h= appens due to networking issues); try `--fallback' to build derivation from= source=20 ``` --=20 Matthew Kraai --+HP7ph2BbKc20aGI Content-Type: application/x-sh Content-Disposition: attachment; filename="install_guix.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A=0Aset -e=0Asudo apt update=0Asudo apt install -y gnupg=0Awget = https://ftp.gnu.org/gnu/guix/guix-binary-1.1.0.x86_64-linux.tar.xz=0Awget h= ttps://ftp.gnu.org/gnu/guix/guix-binary-1.1.0.x86_64-linux.tar.xz.sig=0Awge= t https://sv.gnu.org/people/viewgpg.php?user_id=3D15145 -qO - | gpg --impor= t -=0Agpg --verify guix-binary-1.1.0.x86_64-linux.tar.xz.sig=0Asudo -s <<'E= OF'=0Acd /tmp=0Atar -xf ~admin/guix-binary-1.1.0.x86_64-linux.tar.xz=0Amv v= ar/guix /var && mv gnu /=0Amkdir -p ~root/.config/guix=0Aln -sf /var/guix/p= rofiles/per-user/root/current-guix ~root/.config/guix/current=0AGUIX_PROFIL= E=3D"`echo ~root`/.config/guix/current"=0Asource $GUIX_PROFILE/etc/profile= =0Agroupadd --system guixbuild=0Afor i in `seq -w 1 10`; do=0A useradd -= g guixbuild -G guixbuild \=0A -d /var/empty -s `which = nologin` \=0A -c "Guix build user $i" --system \=0A = guixbuilder$i;=0Adone=0Acp ~root/.config/guix/current/lib/systemd/syst= em/guix-daemon.service /etc/systemd/system=0Asystemctl start guix-daemon &&= systemctl enable guix-daemon=0Acd /usr/local/bin=0Aln -s /var/guix/profile= s/per-user/root/current-guix/bin/guix=0Acd /usr/local/share/info=0Afor i in= /var/guix/profiles/per-user/root/current-guix/share/info/*; do=0A ln -s= $i=0Adone=0Aguix archive --authorize <~root/.config/guix/current/share/gui= x/ci.guix.gnu.org.pub=0AEOF=0Aguix install glibc-utf8-locales=0Acat >>.prof= ile <<'EOF'=0A=0Aexport GUIX_LOCPATH=3D$HOME/.guix-profile/lib/locale=0AEOF= =0A --+HP7ph2BbKc20aGI-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 08:53:38 2020 Received: (at 40899) by debbugs.gnu.org; 27 Apr 2020 12:53:39 +0000 Received: from localhost ([127.0.0.1]:35905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT3GU-0002sz-Ol for submit@debbugs.gnu.org; Mon, 27 Apr 2020 08:53:38 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:43732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT3GT-0002sn-H5 for 40899@debbugs.gnu.org; Mon, 27 Apr 2020 08:53:37 -0400 Received: by mail-qt1-f176.google.com with SMTP id z90so14043839qtd.10 for <40899@debbugs.gnu.org>; Mon, 27 Apr 2020 05:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R1XFOaFnfWXgRkm6Rn63u1xAVWajGgSFF6aIc/Fqxmo=; b=ulJ9GpM2aw1CMw1Lf980qLIBdDjJhId9vAl3YxbhfrXyMr+k9QYkSSW7jo9ipirLzy XUL4gi28JoME3kVgxt+/1ThtJyO5KQdiu3DnzEFtQdPaswEPT8YfEuR1L7BldxHGUaDP p9b0iZKrpPjdyNAkHMZsaG+Ceumz4idagoDKmglp/K8xR5xhd+1mzrffCTKyRq7vVMTb /e4fLunhcpS5RJwZS/Gkj8PTlXeUfsEytmNnbBM/Vu5oD9ceKuhv3i/nSh9YHhx21g93 dOSIhIxNCkIxwQdZJaur9ig9ETnkxmKrpyKeH4xiAOPGNKNNYF5p8i4m87ybaMJfdO6K P2Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R1XFOaFnfWXgRkm6Rn63u1xAVWajGgSFF6aIc/Fqxmo=; b=D7XuNd7Ebp83qOAnGxu7R1Po4sRtOW4ubkol6E7zx1GOirULP06EcBO7e6Hgg18SSr q0P3GQhuxvRnzPbnCBdKuvGRieTg7aArqBd+H9Cr38J9kxb4i1ZfKhfAkBzsacRvh6XB atVwRFiIpbbdyz/nwxHne9Wu9HNdF5C1ZTBGuff6zCsZtldRyCJfPgynk2RcSVEwjfsW MaJc92I+kMrfIRfahkuYxJd7o5n1oq2MlOr4evH9XaS7fITP0aQbnyAmnkAL7ewzGZJO HJrt7UtoalzhCy6dclbd6HChz173EQFHQsDJOTVEJ1wWvQvBuyrvUoOUwkk8V4k4YjMk L2qQ== X-Gm-Message-State: AGi0PuZP+FQ3JuBGGZK/dHom6QkgQrq8Z05iVIcp+sZq7iVVh64Ev0We J1XdRRjkI6S9YaYrGv+XJt9mQAIdLxeh0y8Qgx4Www== X-Google-Smtp-Source: APiQypIBSIaj3KxzHGY9VkFYDSFvxjL2pnXg1m8Z5AZ5lSOLg+Ertn6Ax/pVoX9R18gQHjqUQeWXxbx3Py2VL/wRQGU= X-Received: by 2002:ac8:19fd:: with SMTP id s58mr23134753qtk.354.1587992011133; Mon, 27 Apr 2020 05:53:31 -0700 (PDT) MIME-Version: 1.0 References: <20200427122943.GA25049@inspiron-3147> In-Reply-To: <20200427122943.GA25049@inspiron-3147> From: zimoun Date: Mon, 27 Apr 2020 14:53:17 +0200 Message-ID: Subject: Re: bug#40899: Locales not set up correctly To: Matthew Kraai Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40899 Cc: 40899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear, On Mon, 27 Apr 2020 at 14:30, Matthew Kraai wrote: > $ guix package -i nss-certs > guile: warning: failed to install locale There 3 points: a) "guix install glibc-utf8-locales" as root because of the daemon and restart it. (depending on your system init, an extra config should be required) b) "guix install glibc-utf8-locales" as regular user This should fix the locales issues. Note that depending on your locale, glibc-utf8-locles should not provide it. (The term utf8 could be misleading). But en_US is provided by it. > guix package: error: some substitutes for the outputs of derivation `/gnu/store/mxp55201zl6wm2d82xdjnc8qa7qwgr85-nss-certs-3.50.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source c) Try: guix install nss-certs --fallback Hope that helps, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 03:56:42 2020 Received: (at 40899) by debbugs.gnu.org; 28 Apr 2020 07:56:42 +0000 Received: from localhost ([127.0.0.1]:38758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTL6g-00074N-FB for submit@debbugs.gnu.org; Tue, 28 Apr 2020 03:56:42 -0400 Received: from mail.ftbfs.org ([52.8.68.13]:27030 helo=aws.ftbfs.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTL6e-00074A-Qr for 40899@debbugs.gnu.org; Tue, 28 Apr 2020 03:56:41 -0400 Received: from ip68-5-94-190.oc.oc.cox.net ([68.5.94.190] helo=inspiron-3147) by aws.ftbfs.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTL6Y-00062O-8U; Tue, 28 Apr 2020 07:56:34 +0000 Date: Tue, 28 Apr 2020 00:56:32 -0700 From: Matthew Kraai To: zimoun Subject: Re: bug#40899: Locales not set up correctly Message-ID: <20200428075632.GA4166@inspiron-3147> References: <20200427122943.GA25049@inspiron-3147> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No (score -1.0): ALL_TRUSTED=-1, URIBL_BLOCKED=0.001 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40899 Cc: 40899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi simon, On Mon, Apr 27, 2020 at 02:53:17PM +0200, zimoun wrote: > On Mon, 27 Apr 2020 at 14:30, Matthew Kraai wrote: > > > $ guix package -i nss-certs > > guile: warning: failed to install locale > > There 3 points: > > a) "guix install glibc-utf8-locales" as root because of the daemon > and restart it. (depending on your system init, an extra config should > be required) I modified the script to run the following commands as root: ``` guix package -i glibc-utf8-locales systemctl restart guix-daemon ``` > b) "guix install glibc-utf8-locales" as regular user The script was already doing this. > This should fix the locales issues. > > Note that depending on your locale, glibc-utf8-locles should not > provide it. (The term utf8 could be misleading). But en_US is provided > by it. When I run guix, it still produces the same locale messages: ``` $ guix package -I guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. glibc-utf8-locales 2.29 out /gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29 ``` > > guix package: error: some substitutes for the outputs of derivation `/gnu/store/mxp55201zl6wm2d82xdjnc8qa7qwgr85-nss-certs-3.50.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source > > c) Try: > guix install nss-certs --fallback The --fallback option works. Thank you for the suggestion. -- Matthew Kraai From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 04:14:33 2020 Received: (at 40899) by debbugs.gnu.org; 28 Apr 2020 08:14:33 +0000 Received: from localhost ([127.0.0.1]:38791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTLNx-0007Vj-8A for submit@debbugs.gnu.org; Tue, 28 Apr 2020 04:14:33 -0400 Received: from mail-qv1-f51.google.com ([209.85.219.51]:33990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTLNu-0007VV-D1 for 40899@debbugs.gnu.org; Tue, 28 Apr 2020 04:14:31 -0400 Received: by mail-qv1-f51.google.com with SMTP id q2so9972218qvd.1 for <40899@debbugs.gnu.org>; Tue, 28 Apr 2020 01:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=m7FwmzdO1TqXvNtAC+14QMERl3+9Yin4ew/VlXLeexY=; b=T6YLrJmtSOyB6Tv83kR2FtMFW3XS2UkJGOph83LoGEfopHRNnVmVSRiz/KvSDSi7Zj Y8+VeGwQ8FJXC7/22sU982kzIhnWiXc216NKlVSN3KCfs1Wo2aUFYUlpiiT/fodJrZkp N7HxylouEprVtIhQrCrl8M8ok5lhVYJJHagG+PG+FIS+ZvU8ZU9dKO806qZGcsQkyVsk FjnWZr5XC9PYOGsnggCNo1fw5GSWder2H5y1OoXIe2H7YfR46/+ARbGnmAvwr7IX4HhH cikCMQXYcTqMUr/0yzEhAWj4LpViXYFj7M0dwXpQ5SqtbX5iyqOIs55mg2CWjHTgBLmA JISA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=m7FwmzdO1TqXvNtAC+14QMERl3+9Yin4ew/VlXLeexY=; b=cpDV6fMcAioE/4rgMSVBfj4tPL3WhD7rE0+jHX/jkbhXx+ztPT9eBQlByKP7HIxUBA /fZ7qFAnlYWeYIV3TjDG2ZXBztm1gzc4yL8j2LNwT2ogrD7L1dmp5W1o5udWZ4Qg2JJF S5LifLtz8oXzX+WqsH/+KcqyPnzZt3J0MsCT/9PVRgFVVTLVnYPc1QSE/D+wAELGrLsu VjCBkFGwQZbT2i1RVY6KEhaRHX/Trqy3KxZzfqtFNPhwNqMaJlITpZs94sKsabHFJhwc mBj6n5M0yFQFqjHpkMUxoxM6OoHqf9UgGAnZi+MQfw6W8qD8e9yWwPqmVteTY+fZAesm MFqA== X-Gm-Message-State: AGi0PuZRkcFL4FutT61Nso2Z44iF/9uDY6sLRDjCoJqFpIYKHZXL3vww QBA5bBZdTRohDacqed2AB22HfF02FWGccwupY8Y= X-Google-Smtp-Source: APiQypLt997AeXA8C2Jm7Dk6rKAzGmRkmpZEuXlAdDxlLcpvIFbmcyvBrpDlgvvaEIA6XXzDN0VRLQPvyThcChBlss4= X-Received: by 2002:ad4:5604:: with SMTP id ca4mr26863051qvb.6.1588061664702; Tue, 28 Apr 2020 01:14:24 -0700 (PDT) MIME-Version: 1.0 References: <20200427122943.GA25049@inspiron-3147> <20200428075632.GA4166@inspiron-3147> In-Reply-To: <20200428075632.GA4166@inspiron-3147> From: zimoun Date: Tue, 28 Apr 2020 10:14:13 +0200 Message-ID: Subject: Re: bug#40899: Locales not set up correctly To: Matthew Kraai Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40899 Cc: 40899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, 28 Apr 2020 at 09:56, Matthew Kraai wrote: > When I run guix, it still produces the same locale messages: > > ``` > $ guix package -I > guile: warning: failed to install locale > hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package > and defining `GUIX_LOCPATH', along these lines: > > guix package -i glibc-utf8-locales > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" > > See the "Application Setup" section in the manual, for more info. > > glibc-utf8-locales 2.29 out /gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29 > ``` Hum? Did you set GUIX_LOCPATH? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 04:34:30 2020 Received: (at 40899) by debbugs.gnu.org; 28 Apr 2020 08:34:30 +0000 Received: from localhost ([127.0.0.1]:38818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTLhG-00081O-7T for submit@debbugs.gnu.org; Tue, 28 Apr 2020 04:34:30 -0400 Received: from mail.ftbfs.org ([52.8.68.13]:27066 helo=aws.ftbfs.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTLhE-00081B-BV for 40899@debbugs.gnu.org; Tue, 28 Apr 2020 04:34:29 -0400 Received: from ip68-5-94-190.oc.oc.cox.net ([68.5.94.190] helo=inspiron-3147) by aws.ftbfs.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTLh8-000692-D3; Tue, 28 Apr 2020 08:34:22 +0000 Date: Tue, 28 Apr 2020 01:34:20 -0700 From: Matthew Kraai To: zimoun Subject: Re: bug#40899: Locales not set up correctly Message-ID: <20200428083420.GB4166@inspiron-3147> References: <20200427122943.GA25049@inspiron-3147> <20200428075632.GA4166@inspiron-3147> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No (score -1.0): ALL_TRUSTED=-1 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40899 Cc: 40899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Apr 28, 2020 at 10:14:13AM +0200, zimoun wrote: > On Tue, 28 Apr 2020 at 09:56, Matthew Kraai wrote: > > > When I run guix, it still produces the same locale messages: > > > > ``` > > $ guix package -I > > guile: warning: failed to install locale > > hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package > > and defining `GUIX_LOCPATH', along these lines: > > > > guix package -i glibc-utf8-locales > > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" > > > > See the "Application Setup" section in the manual, for more info. > > > > glibc-utf8-locales 2.29 out /gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29 > > ``` > > Hum? Did you set GUIX_LOCPATH? Yes, ``` admin@ip-172-31-11-27:~$ echo $GUIX_LOCPATH /home/admin/.guix-profile/lib/locale admin@ip-172-31-11-27:~$ guix package -I guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. glibc-utf8-locales 2.29 out /gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29 ``` -- Matthew Kraai From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 05:16:17 2020 Received: (at 40899) by debbugs.gnu.org; 28 Apr 2020 09:16:17 +0000 Received: from localhost ([127.0.0.1]:38912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTMLh-0000fd-02 for submit@debbugs.gnu.org; Tue, 28 Apr 2020 05:16:17 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:41819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTMLf-0000fP-LK for 40899@debbugs.gnu.org; Tue, 28 Apr 2020 05:16:15 -0400 Received: by mail-qt1-f174.google.com with SMTP id h26so16396056qtu.8 for <40899@debbugs.gnu.org>; Tue, 28 Apr 2020 02:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eFruyUxJPI0HwSLUzBmpsaTXtMbeni6TQh9xzYOBAAQ=; b=NdxE4EOl5GepPZgnNV4N9aPnSTGpdM7ctrq8MRvWCUjyf8OpMJL/cIloC+3EWqo3Ig +t3fzyHhgv5zabWVpcfQb7gUZA655A+BPzL2/tgeI3qseA42cxys6iFgM6Vz2IS32+4+ S08We+YK/FalgsN3RPpOTmTXwci4l3Gyi52Se27bmeemvbXkPaj4g27nzpuk6LGgGCBm Sg3oFnQwQ08WZUyxZB8ZHatnQK4OG/6Y7qtvsr3sRG96cp9gg3j1x2xs+74nGGE67BeM Axg5Ob9/R8Wy7cC3CcuQF4jshSLUXMh8zBusk4fA2vwVoJqD2AWp7EDBFXVROJ4tvfRk An8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eFruyUxJPI0HwSLUzBmpsaTXtMbeni6TQh9xzYOBAAQ=; b=UczEudt5E9c4KXJE29JCX1zq3ayg+bWSuLqatk1eg6gOULMoIYjwo2iPVMvryIZE0a XNkAvftn5h8Vmei7iQ+DR/fg3bkyZYdREJCNhDbrPeflZTnq5ftJoV4U/FpFOurZO7V8 CZXjdQn5aIWPPJ0RXO4G2VSj4hpYEZFC+orPBm1/R+YDGbx4XnmjjI417bYjq5Hez98L TvGcLJ1YSlrIFCbZfbEjXLxwxuaz3f1rtBR6Tne+gejgO0LQXmdMvUzVIu1o0ZbSBHVU HP7pzhtkrPP89v+ki52gE7ymtmoiR6F45s3qxI6ezByw74lT3iMVV0CX2QD7fVfHpYEt pwEQ== X-Gm-Message-State: AGi0PubZK+DbNzdFP57I72XscUzXiD7/bVknF/Tg5K0jADZFgbU5j8xN 9KapkjLpR6q8HHoh0TqidQwNTNIFLQEg6cOfbFdFyVzo X-Google-Smtp-Source: APiQypLKKZ0Dl1elN4q5IlPYc4i1XGIhmJleZVSjDKK97Z/sh/ClL1VZihXcbEdLZkiWokrj6pnTjEX3S2Xd7l9JS+s= X-Received: by 2002:ac8:19f5:: with SMTP id s50mr28251479qtk.186.1588065369905; Tue, 28 Apr 2020 02:16:09 -0700 (PDT) MIME-Version: 1.0 References: <20200427122943.GA25049@inspiron-3147> <20200428075632.GA4166@inspiron-3147> <20200428083420.GB4166@inspiron-3147> In-Reply-To: <20200428083420.GB4166@inspiron-3147> From: zimoun Date: Tue, 28 Apr 2020 11:15:58 +0200 Message-ID: Subject: Re: bug#40899: Locales not set up correctly To: Matthew Kraai Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40899 Cc: 40899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Is 'admin' the regular user or another name for the 'root' account? On the Debian foreign distro, for GUIX_LOCPATH, I have: - root account: /root/.guix-profile/lib/local - regular user: /home/kikoo/.guix-profile/lib/locale Hope that helps, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 07:00:00 2020 Received: (at 40899) by debbugs.gnu.org; 28 Apr 2020 11:00:00 +0000 Received: from localhost ([127.0.0.1]:39122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTNy4-0003NA-A4 for submit@debbugs.gnu.org; Tue, 28 Apr 2020 07:00:00 -0400 Received: from mail.ftbfs.org ([52.8.68.13]:27160 helo=aws.ftbfs.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTNy3-0003My-4M for 40899@debbugs.gnu.org; Tue, 28 Apr 2020 06:59:59 -0400 Received: from ip68-5-94-190.oc.oc.cox.net ([68.5.94.190] helo=inspiron-3147) by aws.ftbfs.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTNxx-0007uW-4n; Tue, 28 Apr 2020 10:59:53 +0000 Date: Tue, 28 Apr 2020 03:59:51 -0700 From: Matthew Kraai To: zimoun Subject: Re: bug#40899: Locales not set up correctly Message-ID: <20200428105951.GA21407@inspiron-3147> References: <20200427122943.GA25049@inspiron-3147> <20200428075632.GA4166@inspiron-3147> <20200428083420.GB4166@inspiron-3147> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No (score -1.0): ALL_TRUSTED=-1 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40899 Cc: 40899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Apr 28, 2020 at 11:15:58AM +0200, zimoun wrote: > Is 'admin' the regular user or another name for the 'root' account? > > On the Debian foreign distro, for GUIX_LOCPATH, I have: > > - root account: /root/.guix-profile/lib/local > - regular user: /home/kikoo/.guix-profile/lib/locale 'admin' is the regular user. I think the problem is that LANG is set to 'C.UTF-8' by default. If I change the contents of /etc/default/locale from LANG=C.UTF-8 to LANG=en_US.UTF-8 I no longer see the error installing nss-certs. -- Matthew Kraai From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 07:05:04 2020 Received: (at 40899-done) by debbugs.gnu.org; 28 Apr 2020 11:05:04 +0000 Received: from localhost ([127.0.0.1]:39126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTO2x-0003Vs-TD for submit@debbugs.gnu.org; Tue, 28 Apr 2020 07:05:04 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:40821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTO2w-0003VK-0i for 40899-done@debbugs.gnu.org; Tue, 28 Apr 2020 07:05:02 -0400 Received: by mail-qk1-f178.google.com with SMTP id l78so21261229qke.7 for <40899-done@debbugs.gnu.org>; Tue, 28 Apr 2020 04:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TriFetVVV3XxVmGLbbJMqGRA8BqcUli4oGd+3fPgHBk=; b=BcQLRTMZHgfmQxNEMfqVAj1TkKT7Z0jfAAXyXQXmAN6xPsbr/WK+D4/DL4EM7H90Bb WjNwcK/q9OlQNaqQpp/fvSrMjQG9GZZQ3cCWDexdSBJQadxc21gzNB1Yku5bULXI3qD0 5xagZoVH8U7HIl6QqLdUjcpF9DjinDfVscx87mzgMsUEOtUqWTaer7tUjLezzgAjsCfi 01RMXddqKx+46NwzpLsLD3Gnvi8u+ob9C5dD3WsQGs0xdLHG+BhL6BdFmx2ww4XvNTTq j7ZSpWub2dX7+wTMdQcKaJ8Cj+cChP8XH8QWWWTKQIJja5KLAXlvte/8KHsixSMAEe3E MJog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TriFetVVV3XxVmGLbbJMqGRA8BqcUli4oGd+3fPgHBk=; b=rpxqbgCLRnOwUYYhVjBP+0JBXuuaIrRks5IKiN0zfoodA+8y3riWMqRJz+V0KDR38Z +/GxXlkeajYpXEmDnODdTaqZL/MDZc9nozM2emZYRj8WAmgbIHUQqJcGurRkKYslfnOU BzOzauC8PhpoUniKpcIpv+NY5Dd9S5iyOb5ImvndfYTvvzVyE2LGHooXJaSE7hT6Zn8J VgUj+kazKb+yaGgLm3qiUinSuAsUtBjdNLStj6yCUipDKsCA6aW3UogZJsrNwcxnwyuG a7UnOvdQjyKvrj/RhoRhQXjqjnyVmIXIUeenA8iQ9m21JE7DJbcpAVOWDOnalrriBrGj xZNw== X-Gm-Message-State: AGi0PubkgfQUyCuJh/BvBkMt2x+1D13KYPaIV5RSHYm+Qrs9gTftjPNj NQzfLXrCUXeZaOZzIADGLkouGKenFoR0xuVRcNk= X-Google-Smtp-Source: APiQypL7unZZt5WPhA87nXexpPRChMktxC8WO355N3cLDOSQ9IW7bKkZGxGVJ7CsIEbJFo+BeplTdpSp7IeogdvzfLs= X-Received: by 2002:a05:620a:239:: with SMTP id u25mr24255257qkm.304.1588071896473; Tue, 28 Apr 2020 04:04:56 -0700 (PDT) MIME-Version: 1.0 References: <20200427122943.GA25049@inspiron-3147> <20200428075632.GA4166@inspiron-3147> <20200428083420.GB4166@inspiron-3147> <20200428105951.GA21407@inspiron-3147> In-Reply-To: <20200428105951.GA21407@inspiron-3147> From: zimoun Date: Tue, 28 Apr 2020 13:04:45 +0200 Message-ID: Subject: Re: bug#40899: Locales not set up correctly To: Matthew Kraai Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40899-done Cc: 40899-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, 28 Apr 2020 at 12:59, Matthew Kraai wrote: > I think the problem is that LANG is set to 'C.UTF-8' by default. If I > change the contents of /etc/default/locale from > > LANG=C.UTF-8 > > to > > LANG=en_US.UTF-8 Ah yes. :-) So closing. From unknown Sat Aug 09 20:52:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 May 2020 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator