From: "Ludovic Courtès" <ludo@gnu.org>
To: Marius Bakke <marius@gnu.org>
Cc: 45166@debbugs.gnu.org
Subject: bug#45166: Wrong locale settings for guix-daemon causes confusing error
Date: Mon, 14 Dec 2020 23:27:35 +0100 [thread overview]
Message-ID: <875z54qazs.fsf@gnu.org> (raw)
In-Reply-To: <87ft48ad8x.fsf@gnu.org> (Marius Bakke's message of "Mon, 14 Dec 2020 11:33:18 +0100")
Hi,
Marius Bakke <marius@gnu.org> skribis:
> Ludovic Courtès <ludo@gnu.org> skriver:
>
>> Hi,
>>
>> Marius Bakke <marius@gnu.org> 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 `glibc-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 `glibc-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’m not sure where.
Does it happen if you run say “guix build hello” and a substitute is
downloaded? Or “guix build hello -S --no-substitutes”?
Thanks,
Ludo’.
prev parent reply other threads:[~2020-12-14 22:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 22:30 bug#45166: Wrong locale settings for guix-daemon causes confusing error Marius Bakke
2020-12-14 10:01 ` Ludovic Courtès
2020-12-14 10:33 ` Marius Bakke
2020-12-14 22:27 ` Ludovic Courtès [this message]
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=875z54qazs.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=45166@debbugs.gnu.org \
--cc=marius@gnu.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).