From: <janneke@gnu.org>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>
Cc: 73181@debbugs.gnu.org
Subject: bug#73181: guix-daemon fails when invoking ‘guix authenticate’ on the Hurd
Date: Thu, 31 Oct 2024 20:14:07 +0100 [thread overview]
Message-ID: <87h68snkzk.fsf@gnu.org> (raw)
In-Reply-To: <87a5ge5d94.fsf@gnu.org> ("Ludovic Courtès"'s message of "Wed, 11 Sep 2024 19:08:55 +0200")
Ludovic Courtès writes:
Hi!
> Ludovic Courtès <ludovic.courtes@inria.fr> skribis:
>
>> Inside the childhurd, we get:
>>
>> root@childhurd ~# tail -1 /var/log/guix-daemon.log
>> 2024-09-09 21:09:03 unexpected build daemon error: stoi
>>
>> Last time we got that error was in commit
>> 21deb89e287b5821975544118bf137562a91d4e1: guix-daemon was running with
>> incorrect locale data, and thus ‘std::stoi’ would throw (‘std::stoi’ in
>> guix-daemon is used for the communication with the ‘guix authenticate’
>> process, see ‘readAuthenticateReply’).
[snip some great debugging, phew!]
> That warning comes from libgc and there’s no such warning when LC_ALL is
> left unset, which is why it works in that case.
How about
0. Unsetting LC_ALL on the Hurd
would that work?
> I see several possible things to do:
>
> 1. Disable GC warnings altogether in Guix by setting ‘GC_warn_proc’.
>
> 2. Make sure guix-daemon discards stderr from agents such as ‘guix
> authenticate’.
>
> 3. Figure out why those “Repeated allocation” messages are so frequent
> on i586-gnu and Do Something About It™.
>
> Thoughts?
If 0., which seems easiest, does not work then Obviously(?) 3. is nicer
but (much?) harder than 2., which is nicer than 1. However, 1. is much
nicer than our current situation of not having offloading to our
childhurds and not having up-to-date substitutes. How about doing
1. right now but only for the Hurd, until we get 2. or 3.?
Greeting,
Janneke
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
prev parent reply other threads:[~2024-10-31 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-11 15:40 bug#73181: guix-daemon fails when invoking ‘guix authenticate’ on the Hurd Ludovic Courtès
2024-09-11 17:08 ` Ludovic Courtès
2024-10-31 19:14 ` janneke [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h68snkzk.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=73181@debbugs.gnu.org \
--cc=ludovic.courtes@inria.fr \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.