From unknown Sat Aug 09 09:37:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Resent-From: Michael Gorlick Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Aug 2020 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42989 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42989@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Reply-To: mgorlick@acm.org Received: via spool by submit@debbugs.gnu.org id=B.159811479514746 (code B ref -1); Sat, 22 Aug 2020 16:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Aug 2020 16:46:35 +0000 Received: from localhost ([127.0.0.1]:51260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Wer-0003pX-N6 for submit@debbugs.gnu.org; Sat, 22 Aug 2020 12:46:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:57582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Weq-0003pQ-Rl for submit@debbugs.gnu.org; Sat, 22 Aug 2020 12:46:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Weq-0002Df-JB for bug-guix@gnu.org; Sat, 22 Aug 2020 12:46:20 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:33120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9Weo-0006U0-Sy for bug-guix@gnu.org; Sat, 22 Aug 2020 12:46:20 -0400 Received: by mail-lf1-x130.google.com with SMTP id x64so1450978lff.0 for ; Sat, 22 Aug 2020 09:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=SyIQuS4ztyFEICyEQe5iEMDtzjvHm96AjDjnX7B5fMM=; b=Q3BaYEIL0GFQRh6+KmY5kCIRfEKWkHHU2nwL/fy9zuPbBXpZij5FjnLn3wKG9p79i/ Quz0nL78smPDXcMzbjNG4PHxRXnv/FNu3kUbF7C2uYCGcBg8bVI4x6t/0P+7URkDsWZe u4Exe+0evP4mVuq2VEr/WUgBcnWSWzNTHSPiHq7Ws9kDwUYo3m0wq468TLuOiVNU/DX0 oBh+z5NF77U/ezPPV4RoBXZjh5Kmu1sMyeQaR1LUxPnJSQNEx2yoMgypyWn/NTUcQJ88 dbB+Hd6zy+QnaekEBF7vsJfoQa2NIDXx95v/HckWGiIezlRW/Ou6PW6W45RPUNNPI6kv 1nWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=SyIQuS4ztyFEICyEQe5iEMDtzjvHm96AjDjnX7B5fMM=; b=PQB+jzyjkY9h1Sq2mnozlnKYWdsrOlOX/jZXlIdHbhXou1uRMp9ks5dLN9tH2MUw3e CbubeJEGkBFuyF7g/XLX9X0LeJO9EYIEk7ofE8vzXl3rE+JV1tgP95LMiwgwC0PbLuT9 SloYjklZy1hmlhjFEBg45LvK7u3IRhnhMbiOAPs5jEXU4gPxzHuwcYc0qsrD9fSPCnOW R+TpJPpJWuQeQ1iv8kct2RXfLQ5XLmLpVXM8zk8TsRH1Jlw04AzaeNSXRrM0H2OFt/bR iilDT/veg1KGZV3djW6LfMPO6e/xs8UrhPFgB7hhgl1ot+ZO7k+0eTilfKiRIfa0ckp5 tNcQ== X-Gm-Message-State: AOAM5304KdSlR9F2+b46s9lvCSEhbmiHAjZSZk7chPQOHkj5beSabqaJ GFxTF3SLjaZc+0atW+KxPFDDZ7jayBNhxG0HJLNXV72B9a4= X-Google-Smtp-Source: ABdhPJzPyPp+iCz3qstS1bH5HU7UVlnWVIxDPLVUjAyVZTZvJvYWGEU5uqkPWoZEITpYcgLtEssosihc5LM4jdIlvA8= X-Received: by 2002:a05:6512:1055:: with SMTP id c21mr3783637lfb.84.1598114776308; Sat, 22 Aug 2020 09:46:16 -0700 (PDT) MIME-Version: 1.0 From: Michael Gorlick Date: Sat, 22 Aug 2020 09:46:05 -0700 Message-ID: Content-Type: multipart/alternative; boundary="0000000000008d604805ad7a17c7" Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=michael.m.gorlick@gmail.com; helo=mail-lf1-x130.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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 (-) --0000000000008d604805ad7a17c7 Content-Type: text/plain; charset="UTF-8" There is a wee typo in the systemd file *guix-daemon.service* installed on Ubuntu 20.04 by the guix-install.sh script. The text of */root/.config/guix/current/lib/systemd/system/guix-daemon.service *contains the text: Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8 The portion .../guix-profile/... should read .../*.guix-profile/*..., in other words the path as given omits the requisite single period (.) as the prefix of the directory .guix-profile. This minor oversight accounts in part for the *guile: warning: failed to install locale *error and related warnings that have cropped up repeatedly when the build daemons are invoked To test this fix: - I edited the guix-daemon.service specification in place at /etc/systemd/system by hand - Rebooted to restart the guix build daemons (I detest systemd and I'm lazy besides) - *guix pull *for my personal userland account - *guix package -u* to upgrade same - *guix package -i libc-utf8-locales* to upgrade my locales from 2.29 to 2.31 - *sudo -i guix pull* to update the root's view of guix - *sudo -i guix package -u* for an upgrade of same - *sudo -i guix package -i glibc-utf8-locales* to have the latest version of the UTF-8 locales installed in ~root/.guix-profile/lib/locale In subsequent user-level *guix install X* commands the warning no longer appears nor do the build daemons complain about failing to set the locale to *en_US.utf8* --0000000000008d604805ad7a17c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
There is a wee typo in the systemd file guix-daemo= n.service installed on Ubuntu 20.04 by the guix-install.sh script.
The text of /root/.config/guix/current/lib/systemd/system/guix-dae= mon.service contains the text:

Environment=3D&= #39;GUIX_LOCPATH=3D/var/guix/profiles/per-user/root/guix-profile/lib/locale= ' LC_ALL=3Den_US.utf8

The portion .../guix-pro= file/... should read .../.guix-profile/..., in other words th= e path as given omits the requisite single period (.) as the prefix of the = directory .guix-profile.

This minor oversight acco= unts in part for the=C2=A0 guile: warning: failed to install locale <= /b>error and related warnings that have cropped up repeatedly when the = build daemons are invoked

To test this fix:
  • I edited the guix-daemon.service specification in place at = /etc/systemd/system by hand
  • Rebooted to restart the guix build daem= ons (I detest systemd and I'm lazy besides)
  • guix pull fo= r my personal userland account
  • guix package -u to upgrade sa= me
  • guix package -i libc-utf8-locales to upgrade my locales f= rom 2.29 to 2.31
  • sudo -i guix pull to update the root= 9;s view of guix
  • sudo -i guix package -u for an upgrade of s= ame
  • sudo -i guix package -i glibc-utf8-locales to have t= he latest version of the UTF-8 locales installed in ~root/.guix-profile/lib= /locale
In subsequent user-level guix install X = commands the warning no longer appears nor do the build daemons complain ab= out failing to set the locale to en_US.utf8
<= /div> --0000000000008d604805ad7a17c7-- From unknown Sat Aug 09 09:37:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Aug 2020 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42989 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Michael Gorlick Cc: 42989@debbugs.gnu.org Received: via spool by 42989-submit@debbugs.gnu.org id=B42989.159811600616784 (code B ref 42989); Sat, 22 Aug 2020 17:07:01 +0000 Received: (at 42989) by debbugs.gnu.org; 22 Aug 2020 17:06:46 +0000 Received: from localhost ([127.0.0.1]:51298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Wyc-0004Me-6e for submit@debbugs.gnu.org; Sat, 22 Aug 2020 13:06:46 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9WyZ-0004MO-HF for 42989@debbugs.gnu.org; Sat, 22 Aug 2020 13:06:44 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 72DE85C00C8; Sat, 22 Aug 2020 13:06:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 22 Aug 2020 13:06:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=fkpzA15NlvWVzf2lg7WO1J6u xKFgsJMuohOP5Ocok2I=; b=nS388UF4t+uq9HzDfb93b62RQBtuqR2wacPcWKO5 5mfaqjWXmbmfSEcFnRHOwqSDSBeFaU+MrWmasNFwMqCJbVmYU1tE6Vxhrjnb6aAb VBCl0zQPgNAtDOsbMvTun9NyNQMq24E1WWznw6PNMnxvB4GDWOId07MqVxU7X9hf IT4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=fkpzA1 5NlvWVzf2lg7WO1J6uxKFgsJMuohOP5Ocok2I=; b=r+qhlEljUCkRjeiIxqejid ufsW+EiNrzNdWkekoylCWgTRHlldgQTIrJ4gi9zJRfRM4nKrs64X2j2LtBZ7o1zh r3tj5w2/FzXTzx6FO9zX964QhRO+H/e3UE+K23slAs74IYZBIuerkeHw42WxOZ5D fyTmen/i1/uTkt/C8NH/IHSZAUewpu+zgvdsDhcF5VAgYWrxR9rKqyMfj6V80Kw6 j1CfJXY11Tcsw6UniJ7dNEkVaDKOpeIe157ZPuDzaaFAwRiLpcHnz77MpJI+DPok tEPF6Z65jZz4wHMjHR+IhlJvKuwJMYBTnQqVF1BhplXPK9l+BgTO7mG97uHd1dcw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddugedgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecukfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id D66A930600A6; Sat, 22 Aug 2020 13:06:37 -0400 (EDT) Date: Sat, 22 Aug 2020 13:06:36 -0400 From: Leo Famulari Message-ID: <20200822170636.GA10275@jasmine.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: 0.0 (/) 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 Sat, Aug 22, 2020 at 09:46:05AM -0700, Michael Gorlick wrote: > There is a wee typo in the systemd file *guix-daemon.service* installed on > Ubuntu 20.04 by the guix-install.sh script. > The text of */root/.config/guix/current/lib/systemd/system/guix-daemon.service > *contains the text: > > Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' > LC_ALL=en_US.utf8 > > The portion .../guix-profile/... should read .../*.guix-profile/*..., in > other words the path as given omits the requisite single period (.) as the > prefix of the directory .guix-profile. In my experience, the path as shown in your example is correct. The directory is not a "hidden" directory in this location. From unknown Sat Aug 09 09:37:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Resent-From: Michael Gorlick Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Aug 2020 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42989 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: leo@famulari.name, 42989@debbugs.gnu.org X-Debbugs-Original-To: Leo Famulari , bug-guix@gnu.org Reply-To: mgorlick@acm.org Received: via spool by submit@debbugs.gnu.org id=B.159812415114717 (code B ref -1); Sat, 22 Aug 2020 19:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Aug 2020 19:22:31 +0000 Received: from localhost ([127.0.0.1]:51512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z5y-0003pI-Uz for submit@debbugs.gnu.org; Sat, 22 Aug 2020 15:22:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:45134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Z5x-0003pB-9g for submit@debbugs.gnu.org; Sat, 22 Aug 2020 15:22:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Z5x-0003Ej-3m for bug-guix@gnu.org; Sat, 22 Aug 2020 15:22:29 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:36278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9Z5v-0006xf-6y for bug-guix@gnu.org; Sat, 22 Aug 2020 15:22:28 -0400 Received: by mail-lj1-x236.google.com with SMTP id t23so5412757ljc.3 for ; Sat, 22 Aug 2020 12:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=xwRTuN10feVwRrZv7K8fBeeIDyS1l2tEuH6yJDISYdA=; b=Qyud6rgT57Ox04gBXw/rGskEpUN4kKV/PqZNLFQt/ROJj4FzmitJP/XbYUmX3IRZRE Svawe1OGWGYkA443zEDPhO7GDjirgknAvocZLeUjcJ6kRCvKhiuaU8mA0IxjxQfq8Klf JVPsHyKqvHr3TsZ9iptmvwHoQFjCQorBricKI93JKzYBt9EAxwE38HqaaLR+qXgz3FSB iHPD2PuhVeOsHHX+9Wlwml2H1bpR09ci7eSa2CLrBPxptamB8ylnJmPAEBGQp2FHJdOs WEB2CUhkb6Pdq+0nhbIY4Uoym8vYBghG+v1ItcwZQUg5KTFBMdkRtKlbisCzj92CT6Kd oCqw== 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:reply-to :from:date:message-id:subject:to; bh=xwRTuN10feVwRrZv7K8fBeeIDyS1l2tEuH6yJDISYdA=; b=VVS422DLyzfKwmodwqunLy/198pYLKcvlVtbLarhlDSCO/ZagjFvfcRhwERX34ANGq YGA25xgMIsZa/z52vdpwev+b4o6FhOOOhrVCWbOsKPYmYDVeuek/6dmTResToPACw/Lp E3+eb+Q8T65QazTuJlx8xiwxjFHehISxDVhD6cgdaOey3lUuFVjn0MXHsCoClllgIKyL WlDb4SJTisuNh6W4XmbzAryamDcBCi0cRPKUKti1efZFZ/nKE298GMP06TA3J/DhQ3aN 0TzKSUvH/Y2Nrz9bO5XtK1rQ3/0FiMsg9gkcqeUTXbefS1v73fC75R+kWdrZarjFVyGm r74A== X-Gm-Message-State: AOAM531P/HDsR3+vGLhnR/ti5oLpJ7lChdC7GbFR14D1HGanKZfcpeV9 A8wP8TBH7ymyVpd3xGOVDy3qBO2/2w1i7kRnVd8= X-Google-Smtp-Source: ABdhPJzZtIIKenXYt8T8sk6L5jyriYu1EdmJCEl8nXeLHfglHdnK6O0zfaH+lzh3rntG/fQ/DkdPnEF0hBIQ9wCswnY= X-Received: by 2002:a2e:3312:: with SMTP id d18mr4028467ljc.222.1598124145174; Sat, 22 Aug 2020 12:22:25 -0700 (PDT) MIME-Version: 1.0 References: <20200822170636.GA10275@jasmine.lan> <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> In-Reply-To: <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> From: Michael Gorlick Date: Sat, 22 Aug 2020 12:22:13 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000faf03005ad7c4566" Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=michael.m.gorlick@gmail.com; helo=mail-lj1-x236.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) 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.6 (-) --000000000000faf03005ad7c4566 Content-Type: text/plain; charset="UTF-8" You are right and the confusion is mine. The reason the error messages disappeared is that thanks to a "guix pull", a "guix upgrade", and a "guix install glibc-utf8-locales" on user "root" I now have the latest version of the utf8-locales, 2.31, installed at */var/guix/profiles/per-user/root/guix-profile/lib/locale.* Sorry for the bother. However, judging by prior discussions not everyone understands that the build daemons rely in this way on the guix-profile of the root. It would help if the documentation pointed out this common misunderstanding and explicitly advised users on foreign distributions to pull and upgrade the root profile regularly. On Sat, Aug 22, 2020 at 10:30 AM Leo Famulari wrote: > Can you reply to the bug tracker? > > In any case, "~root" is a different directory than > "/var/guix/profiles/per-user/root", and the guix-profile directory is named > differently in each location. > > On Sat, Aug 22, 2020, at 13:10, Michael Gorlick wrote: > > Au contraire. > > $ sudo -i ls -a ~root > . .. .bash_history .bashrc .cache .config .gnupg .guix-profile > .local .profile .wget-hsts > > On Sat, Aug 22, 2020 at 10:06 AM Leo Famulari wrote: > > On Sat, Aug 22, 2020 at 09:46:05AM -0700, Michael Gorlick wrote: > > There is a wee typo in the systemd file *guix-daemon.service* installed > on > > Ubuntu 20.04 by the guix-install.sh script. > > The text of > */root/.config/guix/current/lib/systemd/system/guix-daemon.service > > *contains the text: > > > > > Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' > > LC_ALL=en_US.utf8 > > > > The portion .../guix-profile/... should read .../*.guix-profile/*..., in > > other words the path as given omits the requisite single period (.) as > the > > prefix of the directory .guix-profile. > > In my experience, the path as shown in your example is correct. The > directory is not a "hidden" directory in this location. > > > --000000000000faf03005ad7c4566 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You are right and the confusion is m= ine. The reason the error messages disappeared is that thanks to a "gu= ix pull", a "guix upgrade", and a "guix install glibc-u= tf8-locales" on user "root" I now have the latest version of= the utf8-locales, 2.31, installed at /var/guix/profiles/per-user/root/g= uix-profile/lib/locale.

Sorry for the b= other. However, judging by prior discussions not everyone understands that = the build daemons rely in this way on the guix-profile of the root. It woul= d help if the documentation pointed out this common misunderstanding and ex= plicitly advised users on foreign distributions to pull and upgrade the roo= t profile regularly.


On Sat, Aug 22, = 2020 at 10:30 AM Leo Famulari <leo@= famulari.name> wrote:
Can you reply to the bug tracker?

In any case, "~root" is a different directory t= han "/var/guix/profiles/per-user/root", and the guix-profile dire= ctory is named differently in each location.

O= n Sat, Aug 22, 2020, at 13:10, Michael Gorlick wrote:
A= u contraire.

$ sudo -i ls -a ~root
. =C2=A0.. =C2=A0.bash_history =C2=A0.bashrc =C2=A0.cache =C2=A0.co= nfig .gnupg .guix-profile =C2=A0.local =C2=A0.profile =C2=A0.wget-hsts
<= /div>

On Sat, Aug 22, 2020 = at 10:06 AM Leo Famulari <leo@famulari.name> wrote:
On Sat, Aug 22, 2020 at 09:46:05AM -0700, Michael Gorlick wrote:
> There is a wee typo in the systemd file *guix-daemon.ser= vice* installed on
> Ubuntu 20.04 by the guix-install.sh = script.
> The text of */root/.config/guix/current/lib/sys= temd/system/guix-daemon.service
> *contains the text:
=
>
> Environment=3D'GUIX_LOCPATH=3D/va= r/guix/profiles/per-user/root/guix-profile/lib/locale'
&= gt; LC_ALL=3Den_US.utf8
>
> The portio= n .../guix-profile/... should read .../*.guix-profile/*..., in
> other words the path as given omits the requisite single period (.)= as the
> prefix of the directory .guix-profile.

In my experience, the path as shown in your example = is correct. The
directory is not a "hidden" direct= ory in this location.

--000000000000faf03005ad7c4566-- From unknown Sat Aug 09 09:37:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Aug 2020 21:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42989 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Michael Gorlick Cc: 42989@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159813238011956 (code B ref -1); Sat, 22 Aug 2020 21:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Aug 2020 21:39:40 +0000 Received: from localhost ([127.0.0.1]:51639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9bEh-00036m-N9 for submit@debbugs.gnu.org; Sat, 22 Aug 2020 17:39:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:53668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9bEf-00036e-Jz for submit@debbugs.gnu.org; Sat, 22 Aug 2020 17:39:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9bEf-0006kW-Bo for bug-guix@gnu.org; Sat, 22 Aug 2020 17:39:37 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:47647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9bEd-0004yo-Fg for bug-guix@gnu.org; Sat, 22 Aug 2020 17:39:37 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 92B28573; Sat, 22 Aug 2020 17:39:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 22 Aug 2020 17:39:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=Rfh9+EDZR5ALyZS26TvLwvjK mIVe1x6hDZpYzdcnyYA=; b=W6CVcDsOslCZHM/s3BLtE5CjKqAGK84YtBnkS2uM BtyET8RdzGVqR893vMPlFB/E3xKcl1URUQY/6IxLP9TIKFdkT+pM2SeEiH7jImyP gjHz65MHVjr84GuiwLaEpfQze8urDJK5qnY7PmDfGDzhorQrwriBwJxXEjl8NMVy 7ak= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Rfh9+E DZR5ALyZS26TvLwvjKmIVe1x6hDZpYzdcnyYA=; b=ftYGPnTeflk2T2hDt/zBvQ nzt7Qy5/UsF1t0fpfxnChaVcKArIhv5azkRPd5hDmEoZM68ATCftzEhpo245CyJe uqYyLZwQ6sOLDERys3Xhl023tXxd62W02KL2QDzPkfsByuTvHiGkipx5S8mnRSa7 1ClKpFpQY3zWv/3KwSJcX9qHhbe4PnNf6pvYonwSdrZbmpqSHll3JaJrHks5OtV4 5YmZOmkOmPeMSEkwx5p2Zrep/cfAShm8JUxgpQ0QrcAA/GmniKic0W78hbxdn6Jo ZxMFceeSlhyr/DDkd+ndkfx4opfGIQaUcyD4PGlUROqqqszWVq/Tvux8OamC/WSQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddugedgudeiudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecukfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id E19463280059; Sat, 22 Aug 2020 17:39:32 -0400 (EDT) Date: Sat, 22 Aug 2020 17:39:30 -0400 From: Leo Famulari Message-ID: <20200822213930.GA30500@jasmine.lan> References: <20200822170636.GA10275@jasmine.lan> <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=64.147.123.25; envelope-from=leo@famulari.name; helo=wout2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/22 17:39:34 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_SBL=1.623 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) 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.6 (-) On Sat, Aug 22, 2020 at 12:22:13PM -0700, Michael Gorlick wrote: > You are right and the confusion is mine. The reason the error messages > disappeared is that thanks to a "guix pull", a "guix upgrade", and a "guix > install glibc-utf8-locales" on user "root" I now have the latest version of > the utf8-locales, 2.31, installed at > */var/guix/profiles/per-user/root/guix-profile/lib/locale.* > > Sorry for the bother. However, judging by prior discussions not everyone > understands that the build daemons rely in this way on the guix-profile of > the root. It would help if the documentation pointed out this common > misunderstanding and explicitly advised users on foreign distributions to > pull and upgrade the root profile regularly. Yeah, locales are one of the bigger user experience problem with Guix :/ The warnings are a definite improvement over how it used to be, when glibc would simply ABORT any program that was using the wrong version of locales. We are still searching for a solid solution to the problem, as we've been tweaking the documentation for years now, but people still report the warnings all the time. From unknown Sat Aug 09 09:37:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: mgorlick@acm.org Subject: bug#42989: closed (Re: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh) Message-ID: References: <87o7xszbbg.fsf@gmail.com> X-Gnu-PR-Message: they-closed 42989 X-Gnu-PR-Package: guix Reply-To: 42989@debbugs.gnu.org Date: Thu, 14 Jul 2022 02:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1657765142-9951-1" This is a multi-part message in MIME format... ------------=_1657765142-9951-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42989: Subtle Typo in guix-daemon.service installed by guix-install.sh which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42989@debbugs.gnu.org. --=20 42989: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42989 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1657765142-9951-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42989-done) by debbugs.gnu.org; 14 Jul 2022 02:18:38 +0000 Received: from localhost ([127.0.0.1]:48115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBoR4-0002Zp-7B for submit@debbugs.gnu.org; Wed, 13 Jul 2022 22:18:38 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:34535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBoR1-0002Zb-57 for 42989-done@debbugs.gnu.org; Wed, 13 Jul 2022 22:18:36 -0400 Received: by mail-qt1-f176.google.com with SMTP id e5so462602qts.1 for <42989-done@debbugs.gnu.org>; Wed, 13 Jul 2022 19:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7Vf1PojA0OGCVbyc7eYWd/QSXBhWSyJikt/YBPFwDu8=; b=dvwR2pq12/gF/i1gTImH6Of0AxCg5pA1qPEAonxrxBmmxlmjBmY4TCbcC8KJK133mY j0YNC6nxEsFrSNz7DwwaCTZ99qa4bIOiRJjZafQrs4uey2TyEFiZXoNXIWtukdE5MeVF UDxqwATtalQr+bOr+5BM2gMXQIUfSLyJCUGHNEwDP7yIy0IDrrRjYlqNGBDqmbYpApNl OOzRKn0V1xi9vKzxZC1TLK81daz3kjh0Z5uo5CyMhFAiuuHStVulW8yBPAzreuBGrznk JNzAb7v7yhKjQmkrEQQOFasJbf3TCyo0e6EMj71ajLTkikHDAtkwbDKbBWfN6Saj4II7 +2dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7Vf1PojA0OGCVbyc7eYWd/QSXBhWSyJikt/YBPFwDu8=; b=EpilFzlCp+ZzeGWWteJTFDenZw9QmdE7q92qs9ms0l5nivgHF35904PuagQ2U6sJrt T3L4qE7cING+d41SO77u/I4NjWgTgKaiDdfv8aN2m5Il4uF2fyL7BOR2H7n3aAHXrYFA WAqrKWIRnSCvh/fDR6liVVu9iPr+wrg7v08JhmDxgaQnZWz2m9Rdz8jTw/OzMKomL7bA KmPA/FdV9FmB0zDcOPYF2e+VkE6dq9jgU6H8N9bF/fmP2XkkByGejip6Ox8poRvzVFYH za7GA9gj/gOZHxx69STiXeuawlpngp0PdPB0oDbGvUm4RIok9mvz7CmaBijlowSLfSen ufCg== X-Gm-Message-State: AJIora+80minYNC1tDBpZf+2uPPHm/QvQYuisfjgm7pzNBv8ZpjKaoQ0 cu4a9x83gpTVHjEDiEEw0iFCsJyes2WkN7pF X-Google-Smtp-Source: AGRyM1uONiJkTMhcSnvF4DzPrguWqRsaWD1rgRRha851C2IRQyCLQ2A5uQOy7fu1gljRBe2KGwhmhQ== X-Received: by 2002:a05:622a:289:b0:31e:c4ea:a51a with SMTP id z9-20020a05622a028900b0031ec4eaa51amr6321612qtw.234.1657765109261; Wed, 13 Jul 2022 19:18:29 -0700 (PDT) Received: from hurd (dsl-10-133-49.b2b2c.ca. [72.10.133.49]) by smtp.gmail.com with ESMTPSA id f7-20020ac87f07000000b0031e9ab4e4cesm433983qtk.26.2022.07.13.19.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 19:18:28 -0700 (PDT) From: Maxim Cournoyer To: Leo Famulari Subject: Re: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh References: <20200822170636.GA10275@jasmine.lan> <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> <20200822213930.GA30500@jasmine.lan> Date: Wed, 13 Jul 2022 22:18:27 -0400 In-Reply-To: <20200822213930.GA30500@jasmine.lan> (Leo Famulari's message of "Sat, 22 Aug 2020 17:39:30 -0400") Message-ID: <87o7xszbbg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42989-done Cc: Michael Gorlick , 42989-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 (-) Hi, Leo Famulari writes: > On Sat, Aug 22, 2020 at 12:22:13PM -0700, Michael Gorlick wrote: >> You are right and the confusion is mine. The reason the error messages >> disappeared is that thanks to a "guix pull", a "guix upgrade", and a "guix >> install glibc-utf8-locales" on user "root" I now have the latest version of >> the utf8-locales, 2.31, installed at >> */var/guix/profiles/per-user/root/guix-profile/lib/locale.* >> >> Sorry for the bother. However, judging by prior discussions not everyone >> understands that the build daemons rely in this way on the guix-profile of >> the root. It would help if the documentation pointed out this common >> misunderstanding and explicitly advised users on foreign distributions to >> pull and upgrade the root profile regularly. > > Yeah, locales are one of the bigger user experience problem with Guix :/ > The warnings are a definite improvement over how it used to be, when > glibc would simply ABORT any program that was using the wrong version of > locales. > > We are still searching for a solid solution to the problem, as we've > been tweaking the documentation for years now, but people still report > the warnings all the time. I think the situation has improved a lot in recent years. I'll close this since the title is misguided, and since it's very old :-). Thank you, Maxim ------------=_1657765142-9951-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Aug 2020 16:46:35 +0000 Received: from localhost ([127.0.0.1]:51260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Wer-0003pX-N6 for submit@debbugs.gnu.org; Sat, 22 Aug 2020 12:46:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:57582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Weq-0003pQ-Rl for submit@debbugs.gnu.org; Sat, 22 Aug 2020 12:46:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Weq-0002Df-JB for bug-guix@gnu.org; Sat, 22 Aug 2020 12:46:20 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:33120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9Weo-0006U0-Sy for bug-guix@gnu.org; Sat, 22 Aug 2020 12:46:20 -0400 Received: by mail-lf1-x130.google.com with SMTP id x64so1450978lff.0 for ; Sat, 22 Aug 2020 09:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=SyIQuS4ztyFEICyEQe5iEMDtzjvHm96AjDjnX7B5fMM=; b=Q3BaYEIL0GFQRh6+KmY5kCIRfEKWkHHU2nwL/fy9zuPbBXpZij5FjnLn3wKG9p79i/ Quz0nL78smPDXcMzbjNG4PHxRXnv/FNu3kUbF7C2uYCGcBg8bVI4x6t/0P+7URkDsWZe u4Exe+0evP4mVuq2VEr/WUgBcnWSWzNTHSPiHq7Ws9kDwUYo3m0wq468TLuOiVNU/DX0 oBh+z5NF77U/ezPPV4RoBXZjh5Kmu1sMyeQaR1LUxPnJSQNEx2yoMgypyWn/NTUcQJ88 dbB+Hd6zy+QnaekEBF7vsJfoQa2NIDXx95v/HckWGiIezlRW/Ou6PW6W45RPUNNPI6kv 1nWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=SyIQuS4ztyFEICyEQe5iEMDtzjvHm96AjDjnX7B5fMM=; b=PQB+jzyjkY9h1Sq2mnozlnKYWdsrOlOX/jZXlIdHbhXou1uRMp9ks5dLN9tH2MUw3e CbubeJEGkBFuyF7g/XLX9X0LeJO9EYIEk7ofE8vzXl3rE+JV1tgP95LMiwgwC0PbLuT9 SloYjklZy1hmlhjFEBg45LvK7u3IRhnhMbiOAPs5jEXU4gPxzHuwcYc0qsrD9fSPCnOW R+TpJPpJWuQeQ1iv8kct2RXfLQ5XLmLpVXM8zk8TsRH1Jlw04AzaeNSXRrM0H2OFt/bR iilDT/veg1KGZV3djW6LfMPO6e/xs8UrhPFgB7hhgl1ot+ZO7k+0eTilfKiRIfa0ckp5 tNcQ== X-Gm-Message-State: AOAM5304KdSlR9F2+b46s9lvCSEhbmiHAjZSZk7chPQOHkj5beSabqaJ GFxTF3SLjaZc+0atW+KxPFDDZ7jayBNhxG0HJLNXV72B9a4= X-Google-Smtp-Source: ABdhPJzPyPp+iCz3qstS1bH5HU7UVlnWVIxDPLVUjAyVZTZvJvYWGEU5uqkPWoZEITpYcgLtEssosihc5LM4jdIlvA8= X-Received: by 2002:a05:6512:1055:: with SMTP id c21mr3783637lfb.84.1598114776308; Sat, 22 Aug 2020 09:46:16 -0700 (PDT) MIME-Version: 1.0 From: Michael Gorlick Date: Sat, 22 Aug 2020 09:46:05 -0700 Message-ID: Subject: Subtle Typo in guix-daemon.service installed by guix-install.sh To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="0000000000008d604805ad7a17c7" Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=michael.m.gorlick@gmail.com; helo=mail-lf1-x130.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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: , Reply-To: mgorlick@acm.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000008d604805ad7a17c7 Content-Type: text/plain; charset="UTF-8" There is a wee typo in the systemd file *guix-daemon.service* installed on Ubuntu 20.04 by the guix-install.sh script. The text of */root/.config/guix/current/lib/systemd/system/guix-daemon.service *contains the text: Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8 The portion .../guix-profile/... should read .../*.guix-profile/*..., in other words the path as given omits the requisite single period (.) as the prefix of the directory .guix-profile. This minor oversight accounts in part for the *guile: warning: failed to install locale *error and related warnings that have cropped up repeatedly when the build daemons are invoked To test this fix: - I edited the guix-daemon.service specification in place at /etc/systemd/system by hand - Rebooted to restart the guix build daemons (I detest systemd and I'm lazy besides) - *guix pull *for my personal userland account - *guix package -u* to upgrade same - *guix package -i libc-utf8-locales* to upgrade my locales from 2.29 to 2.31 - *sudo -i guix pull* to update the root's view of guix - *sudo -i guix package -u* for an upgrade of same - *sudo -i guix package -i glibc-utf8-locales* to have the latest version of the UTF-8 locales installed in ~root/.guix-profile/lib/locale In subsequent user-level *guix install X* commands the warning no longer appears nor do the build daemons complain about failing to set the locale to *en_US.utf8* --0000000000008d604805ad7a17c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
There is a wee typo in the systemd file guix-daemo= n.service installed on Ubuntu 20.04 by the guix-install.sh script.
The text of /root/.config/guix/current/lib/systemd/system/guix-dae= mon.service contains the text:

Environment=3D&= #39;GUIX_LOCPATH=3D/var/guix/profiles/per-user/root/guix-profile/lib/locale= ' LC_ALL=3Den_US.utf8

The portion .../guix-pro= file/... should read .../.guix-profile/..., in other words th= e path as given omits the requisite single period (.) as the prefix of the = directory .guix-profile.

This minor oversight acco= unts in part for the=C2=A0 guile: warning: failed to install locale <= /b>error and related warnings that have cropped up repeatedly when the = build daemons are invoked

To test this fix:
  • I edited the guix-daemon.service specification in place at = /etc/systemd/system by hand
  • Rebooted to restart the guix build daem= ons (I detest systemd and I'm lazy besides)
  • guix pull fo= r my personal userland account
  • guix package -u to upgrade sa= me
  • guix package -i libc-utf8-locales to upgrade my locales f= rom 2.29 to 2.31
  • sudo -i guix pull to update the root= 9;s view of guix
  • sudo -i guix package -u for an upgrade of s= ame
  • sudo -i guix package -i glibc-utf8-locales to have t= he latest version of the UTF-8 locales installed in ~root/.guix-profile/lib= /locale
In subsequent user-level guix install X = commands the warning no longer appears nor do the build daemons complain ab= out failing to set the locale to en_US.utf8
<= /div> --0000000000008d604805ad7a17c7-- ------------=_1657765142-9951-1-- From unknown Sat Aug 09 09:37:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Resent-From: Michael Gorlick Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 14 Jul 2022 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42989 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 42989-done@debbugs.gnu.org, Leo Famulari Reply-To: mgorlick@acm.org Received: via spool by 42989-done@debbugs.gnu.org id=D42989.16578200239018 (code D ref 42989); Thu, 14 Jul 2022 17:34:02 +0000 Received: (at 42989-done) by debbugs.gnu.org; 14 Jul 2022 17:33:43 +0000 Received: from localhost ([127.0.0.1]:38773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC2ic-0002LO-Qq for submit@debbugs.gnu.org; Thu, 14 Jul 2022 13:33:43 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:46857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC2iZ-0002L8-Er for 42989-done@debbugs.gnu.org; Thu, 14 Jul 2022 13:33:41 -0400 Received: by mail-wm1-f51.google.com with SMTP id h14-20020a1ccc0e000000b0039eff745c53so1623405wmb.5 for <42989-done@debbugs.gnu.org>; Thu, 14 Jul 2022 10:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=DJHeR5vDPkdtnErT2ggvyZnQAt1Oxd0mf0y86miCAkU=; b=QjTOVWg2PZR+fG/UODEjBK8v3OCuTQ7MnKyychGYD/hqt6UKWXvg8GSAoKQFZXPtSE mBhWZVQF4u3swYHK7r6KTh08plBBwW0jDcWvPTF3PKzecwyS4+9JCTQHJz2Dircn/YGg bxlSKaCFmg708z6y7L4iXuGpgLSPrWvRZqe/35RyEaLjk2O30xonDHn8PlANetg2RS/9 rGAQAWCOM4hvPQ7qtA4sDt6I+nZgc1hlXNUJ/0dWGZso87K2Kpn9XqbX7bMYUEw0fbBg oSq0Jy4xdEUur2M/7vQAa1zMW8BVHSsAHlq151epmZi9BjARkf6Efnl/vnyBBl5rrIen ZUig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=DJHeR5vDPkdtnErT2ggvyZnQAt1Oxd0mf0y86miCAkU=; b=lxQVPzjCE6hqhvjBJDicF+a2xf8h4vf1UJ1sdqaJ4T0lNpKA8pL0Tk1VHjfod1KxbT w89U786vlb0AqUP2kbLFH2D7NT/JQT8HTnPxT9qAzBt0AnPHop0r3E4/odKxD0FWseY6 aEfbieYbJ9POjjPZlpWDTSslnFkUlWWIvjmZub3XgiFghz6HpyJEMeUspTHJyq20EvrL H3aaC/HPErnx198VM9t+VtQ9pkpxtbG60yOYXV2rXeDLSbuMb+93EFeuKgDcrCp30eLi otn8m/5nOGPtiT+kFGHZLN+3vM7ckDe76oLntcvBYgk5czPgwF4oSqPJHMS7zj026bRf 21JA== X-Gm-Message-State: AJIora/ASVo1Xh2BrUvhuAW6Fsp8Jivzy/H2t2OzFd/MC5EYdHAHb+Jy /B4JLWgMLyTgkURx7r2ZtyGOp6bLjxq1cXggRgU= X-Google-Smtp-Source: AGRyM1vHqvYD+6M9sPcQ2w17LNRYEzOu8u33al/KDnvLPkOKUAIqbHTHXPvdBPZbbAgbi9HvUnanVuiOn8MZ2cfkiWQ= X-Received: by 2002:a05:600c:1992:b0:3a1:9252:c373 with SMTP id t18-20020a05600c199200b003a19252c373mr15952463wmq.140.1657820012484; Thu, 14 Jul 2022 10:33:32 -0700 (PDT) MIME-Version: 1.0 References: <20200822170636.GA10275@jasmine.lan> <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com> <20200822213930.GA30500@jasmine.lan> <87o7xszbbg.fsf@gmail.com> In-Reply-To: <87o7xszbbg.fsf@gmail.com> From: Michael Gorlick Date: Thu, 14 Jul 2022 10:33:21 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000f21d6005e3c74c82" X-Spam-Score: -0.0 (/) 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 (-) --000000000000f21d6005e3c74c82 Content-Type: text/plain; charset="UTF-8" Agreed. It arose from a misunderstanding of guix and rightly deserves to be ignored and deep sixed. On Wed, Jul 13, 2022 at 7:18 PM Maxim Cournoyer wrote: > Hi, > > Leo Famulari writes: > > > On Sat, Aug 22, 2020 at 12:22:13PM -0700, Michael Gorlick wrote: > >> You are right and the confusion is mine. The reason the error messages > >> disappeared is that thanks to a "guix pull", a "guix upgrade", and a > "guix > >> install glibc-utf8-locales" on user "root" I now have the latest > version of > >> the utf8-locales, 2.31, installed at > >> */var/guix/profiles/per-user/root/guix-profile/lib/locale.* > >> > >> Sorry for the bother. However, judging by prior discussions not everyone > >> understands that the build daemons rely in this way on the guix-profile > of > >> the root. It would help if the documentation pointed out this common > >> misunderstanding and explicitly advised users on foreign distributions > to > >> pull and upgrade the root profile regularly. > > > > Yeah, locales are one of the bigger user experience problem with Guix :/ > > The warnings are a definite improvement over how it used to be, when > > glibc would simply ABORT any program that was using the wrong version of > > locales. > > > > We are still searching for a solid solution to the problem, as we've > > been tweaking the documentation for years now, but people still report > > the warnings all the time. > > I think the situation has improved a lot in recent years. I'll close > this since the title is misguided, and since it's very old :-). > > Thank you, > > Maxim > --000000000000f21d6005e3c74c82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Agreed. It arose from a misunderstanding of guix and right= ly deserves to be ignored and deep sixed.

On Wed, Jul 13, 2022 at 7:18 P= M Maxim Cournoyer <maxim.co= urnoyer@gmail.com> wrote:
Hi,

Leo Famulari <leo= @famulari.name> writes:

> On Sat, Aug 22, 2020 at 12:22:13PM -0700, Michael Gorlick wrote:
>> You are right and the confusion is mine. The reason the error mess= ages
>> disappeared is that thanks to a "guix pull", a "gui= x upgrade", and a "guix
>> install glibc-utf8-locales" on user "root" I now ha= ve the latest version of
>> the utf8-locales, 2.31, installed at
>> */var/guix/profiles/per-user/root/guix-profile/lib/locale.*
>>
>> Sorry for the bother. However, judging by prior discussions not ev= eryone
>> understands that the build daemons rely in this way on the guix-pr= ofile of
>> the root. It would help if the documentation pointed out this comm= on
>> misunderstanding and explicitly advised users on foreign distribut= ions to
>> pull and upgrade the root profile regularly.
>
> Yeah, locales are one of the bigger user experience problem with Guix = :/
> The warnings are a definite improvement over how it used to be, when > glibc would simply ABORT any program that was using the wrong version = of
> locales.
>
> We are still searching for a solid solution to the problem, as we'= ve
> been tweaking the documentation for years now, but people still report=
> the warnings all the time.

I think the situation has improved a lot in recent years.=C2=A0 I'll cl= ose
this since the title is misguided, and since it's very old :-).

Thank you,

Maxim
--000000000000f21d6005e3c74c82--