From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KN/eNw5MQV+mfwAA0tVLHw (envelope-from ) for ; Sat, 22 Aug 2020 16:47:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mMqqMw5MQV+vRQAA1q6Kng (envelope-from ) for ; Sat, 22 Aug 2020 16:47:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5AD359403D2 for ; Sat, 22 Aug 2020 16:47:10 +0000 (UTC) Received: from localhost ([::1]:49702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9Wfc-0002Hg-Vo for larch@yhetil.org; Sat, 22 Aug 2020 12:47:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9WfW-0002HU-NR for bug-guix@gnu.org; Sat, 22 Aug 2020 12:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9WfW-0006XE-E4 for bug-guix@gnu.org; Sat, 22 Aug 2020 12:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9WfW-0003qU-Bw for bug-guix@gnu.org; Sat, 22 Aug 2020 12:47:02 -0400 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 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 X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: mgorlick@acm.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Q3BaYEIL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 2.59 X-TUID: cgSetltpMWVk --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--