unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Gorlick <michael.m.gorlick@gmail.com>
To: 42989@debbugs.gnu.org
Subject: bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh
Date: Sat, 22 Aug 2020 09:46:05 -0700	[thread overview]
Message-ID: <CAFLY-s+DkqE=mNuhntLPo92BDkLCngE5kYPewc2NmX2C4Hu0kQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

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*

[-- Attachment #2: Type: text/html, Size: 1795 bytes --]

             reply	other threads:[~2020-08-22 16:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-22 16:46 Michael Gorlick [this message]
2020-08-22 17:06 ` bug#42989: Subtle Typo in guix-daemon.service installed by guix-install.sh Leo Famulari
     [not found]   ` <CAFLY-s+qQ-p9shgi+rRRoFUxj6c=0=rewVW9+g0cKVJxLZq3dg@mail.gmail.com>
     [not found]     ` <7fdbeb59-df88-49ff-9eb0-f9799c54db7f@www.fastmail.com>
2020-08-22 19:22       ` Michael Gorlick
2020-08-22 21:39         ` Leo Famulari
2022-07-14  2:18           ` Maxim Cournoyer
2022-07-14 17:33             ` Michael Gorlick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFLY-s+DkqE=mNuhntLPo92BDkLCngE5kYPewc2NmX2C4Hu0kQ@mail.gmail.com' \
    --to=michael.m.gorlick@gmail.com \
    --cc=42989@debbugs.gnu.org \
    --cc=mgorlick@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).