From unknown Fri Jun 20 20:11:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45166: Wrong locale settings for guix-daemon causes confusing error Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Dec 2020 22:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45166@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160763944720236 (code B ref -1); Thu, 10 Dec 2020 22:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2020 22:30:47 +0000 Received: from localhost ([127.0.0.1]:39535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knUSV-0005GK-5r for submit@debbugs.gnu.org; Thu, 10 Dec 2020 17:30:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:59872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knUSS-0005GB-0C for submit@debbugs.gnu.org; Thu, 10 Dec 2020 17:30:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knUSQ-0005hc-EB for bug-guix@gnu.org; Thu, 10 Dec 2020 17:30:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49903) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knUSQ-0006QV-76 for bug-guix@gnu.org; Thu, 10 Dec 2020 17:30:42 -0500 Received: from host-37-191-236-253.lynet.no ([37.191.236.253]:54186 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knUSO-0006Wk-ND for bug-guix@gnu.org; Thu, 10 Dec 2020 17:30:41 -0500 From: Marius Bakke Date: Thu, 10 Dec 2020 23:30:37 +0100 Message-ID: <87wnxp2t0y.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain Hello, User sss2 reported on #guix[0] that running guix-daemon with an invalid locale causes the following error: # guix pull Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... Building from this channel: guix https://git.savannah.gnu.org/git/guix.git 77667e2 Computing Guix derivation for 'x86_64-linux'... | guix pull: error: got unexpected path `hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and' from substituter [0] https://logs.guix.gnu.org/guix/2020-12-10.log#221732 I can reproduce it on a foreign distro by adding this to the systemd service file: Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en-US.utf8 (note the en-US typo) This seems to be a recent regression, as I could not reproduce with an old guix-daemon (I believe beba9ff82123c4a82721b2ed14df2c7576e22e85). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl/SoY0PHG1hcml1c0Bn bnUub3JnAAoJEKKgbfKjOlT6v3oH/RjDonR6NvySJQE9tDyzSYz+h3HUrxOZinEy PB4zVcVi0W+sLCpNR+xqf+9mGKVYQiKQOCmSz89YdjVfAIA+6usxH+xkNuJeAp+c Cz4rTsk1JNtV7DCR4RT1eLTf10eMkBK5pRi+LpP7G4XZahDgoCK1JM6PFlVnldUt tHdLqbLr/ezObLjls3QTdbnCi4FapDuSgpRI0XQKwNhNGRkDKbPUaVo53eO7xqiC 14n9GSUfqYx2+hGXBqwt5syDPgR17PKgkifaVwrjSh276i66r2UqeXMR/FY7j5zR wTzBbh038UZaELCjQ4xebA3VEXCLWcnXohZY78F2C/A4IZAjbD8= =qew4 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 20:11:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45166: Wrong locale settings for guix-daemon causes confusing error Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Dec 2020 10:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: 45166@debbugs.gnu.org Received: via spool by 45166-submit@debbugs.gnu.org id=B45166.160794012825985 (code B ref 45166); Mon, 14 Dec 2020 10:03:01 +0000 Received: (at 45166) by debbugs.gnu.org; 14 Dec 2020 10:02:08 +0000 Received: from localhost ([127.0.0.1]:51191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kokgC-0006l3-6z for submit@debbugs.gnu.org; Mon, 14 Dec 2020 05:02:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kokgA-0006kG-5q for 45166@debbugs.gnu.org; Mon, 14 Dec 2020 05:02:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49452) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kokg4-0006Mx-Lq for 45166@debbugs.gnu.org; Mon, 14 Dec 2020 05:02:00 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39916 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kokg3-000094-C9; Mon, 14 Dec 2020 05:02:00 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87wnxp2t0y.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Frimaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 14 Dec 2020 11:01:58 +0100 In-Reply-To: <87wnxp2t0y.fsf@gnu.org> (Marius Bakke's message of "Thu, 10 Dec 2020 23:30:37 +0100") Message-ID: <87eejsvh7t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, Marius Bakke skribis: > User sss2 reported on #guix[0] that running guix-daemon with an invalid > locale causes the following error: > > # guix pull > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.= org/git/guix.git'... > Building from this channel: > guix https://git.savannah.gnu.org/git/guix.git 77667e2 > Computing Guix derivation for 'x86_64-linux'... | > guix pull: error: got unexpected path `hint: Consider installing the `gli= bc-utf8-locales' or `glibc-locales' package and' from substituter How did they run the daemon? The systemd unit file we provide normally makes sure it runs with the right GUIX_LOCPATH and with a valid locale. Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 20:11:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45166: Wrong locale settings for guix-daemon causes confusing error Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Dec 2020 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 45166@debbugs.gnu.org Received: via spool by 45166-submit@debbugs.gnu.org id=B45166.160794201729107 (code B ref 45166); Mon, 14 Dec 2020 10:34:02 +0000 Received: (at 45166) by debbugs.gnu.org; 14 Dec 2020 10:33:37 +0000 Received: from localhost ([127.0.0.1]:51306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kolAe-0007ZP-Th for submit@debbugs.gnu.org; Mon, 14 Dec 2020 05:33:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kolAd-0007ZD-Rs for 45166@debbugs.gnu.org; Mon, 14 Dec 2020 05:33:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49815) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kolAY-0002It-7n; Mon, 14 Dec 2020 05:33:30 -0500 Received: from host-37-191-236-253.lynet.no ([37.191.236.253]:39050 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kolAP-0005la-DP; Mon, 14 Dec 2020 05:33:29 -0500 From: Marius Bakke In-Reply-To: <87eejsvh7t.fsf@gnu.org> References: <87wnxp2t0y.fsf@gnu.org> <87eejsvh7t.fsf@gnu.org> Date: Mon, 14 Dec 2020 11:33:18 +0100 Message-ID: <87ft48ad8x.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skriver: > Hi, > > Marius Bakke skribis: > >> User sss2 reported on #guix[0] that running guix-daemon with an invalid >> locale causes the following error: >> >> # guix pull >> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu= .org/git/guix.git'... >> Building from this channel: >> guix https://git.savannah.gnu.org/git/guix.git 77667e2 >> Computing Guix derivation for 'x86_64-linux'... | >> guix pull: error: got unexpected path `hint: Consider installing the `gl= ibc-utf8-locales' or `glibc-locales' package and' from substituter > > How did they run the daemon? The systemd unit file we provide normally > makes sure it runs with the right GUIX_LOCPATH and with a valid locale. It was a hand-written systemd unit file, hence the error. My main concern is with this error message: guix pull: error: got unexpected path `hint: Consider installing the `gli= bc-utf8-locales' or `glibc-locales' package and' from substituter Previously, the daemon would continue in the face of wrong locale settings, but print lots of warnings, now it fails hard and early with this unhelpful message. If that is intended, can we catch it and provide a more actionable error message? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl/XP24PHG1hcml1c0Bn bnUub3JnAAoJEKKgbfKjOlT6esgIAIzxFx4KgKovbJu3+JgRiySrPMAQdw4+EyrO XNi+SNH0iLPTmni62Rg9N+0t9Pvpw9/XDkF+zhh65gBdC8xc8f8DJVsX5OkzpPGj f17A2Coj+bqnPDs53DFrl1EdPRMQCVgQrGDsPoByLB6a19wumOiNtbqIaRoQ51qI ePDaB2RotTYabfujURJL3GizipjP1/XCb9F6sFBcuLsjbioAp14YxDsl2rrhbLA2 HhUDNvrs0LhTA9UbhYHTKmXUM/zbSX7AGndBk4+Zl2FarDuS23+WFuRu/MG+7lbB V+lDws4SbFrTUOehARKOC4qAj3YNolD6y9aklbPPHcdGdUDejG0= =LlA6 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 20:11:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45166: Wrong locale settings for guix-daemon causes confusing error Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Dec 2020 22:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: 45166@debbugs.gnu.org Received: via spool by 45166-submit@debbugs.gnu.org id=B45166.160798486529682 (code B ref 45166); Mon, 14 Dec 2020 22:28:01 +0000 Received: (at 45166) by debbugs.gnu.org; 14 Dec 2020 22:27:45 +0000 Received: from localhost ([127.0.0.1]:54826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kowJl-0007ig-Im for submit@debbugs.gnu.org; Mon, 14 Dec 2020 17:27:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kowJk-0007iU-Nr for 45166@debbugs.gnu.org; Mon, 14 Dec 2020 17:27:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34531) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kowJf-0006V9-Iw for 45166@debbugs.gnu.org; Mon, 14 Dec 2020 17:27:39 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43096 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kowJd-0004vS-4Z; Mon, 14 Dec 2020 17:27:37 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87wnxp2t0y.fsf@gnu.org> <87eejsvh7t.fsf@gnu.org> <87ft48ad8x.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Frimaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 14 Dec 2020 23:27:35 +0100 In-Reply-To: <87ft48ad8x.fsf@gnu.org> (Marius Bakke's message of "Mon, 14 Dec 2020 11:33:18 +0100") Message-ID: <875z54qazs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, Marius Bakke skribis: > Ludovic Court=C3=A8s skriver: > >> Hi, >> >> Marius Bakke skribis: >> >>> User sss2 reported on #guix[0] that running guix-daemon with an invalid >>> locale causes the following error: >>> >>> # guix pull >>> Updating channel 'guix' from Git repository at 'https://git.savannah.gn= u.org/git/guix.git'... >>> Building from this channel: >>> guix https://git.savannah.gnu.org/git/guix.git 77667e2 >>> Computing Guix derivation for 'x86_64-linux'... | >>> guix pull: error: got unexpected path `hint: Consider installing the `g= libc-utf8-locales' or `glibc-locales' package and' from substituter >> >> How did they run the daemon? The systemd unit file we provide normally >> makes sure it runs with the right GUIX_LOCPATH and with a valid locale. > > It was a hand-written systemd unit file, hence the error. My main > concern is with this error message: > > guix pull: error: got unexpected path `hint: Consider installing the `g= libc-utf8-locales' or `glibc-locales' package and' from substituter > > Previously, the daemon would continue in the face of wrong locale > settings, but print lots of warnings, now it fails hard and early with > this unhelpful message. > > If that is intended, can we catch it and provide a more actionable error > message? No, that must be a regression somewhere, but I=E2=80=99m not sure where. Does it happen if you run say =E2=80=9Cguix build hello=E2=80=9D and a subs= titute is downloaded? Or =E2=80=9Cguix build hello -S --no-substitutes=E2=80=9D? Thanks, Ludo=E2=80=99.