From: "Ludovic Courtès" <ludo@gnu.org>
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: 42047@debbugs.gnu.org
Subject: bug#42047: [PATCH v2] guix: gc: Support for the Hurd.
Date: Sun, 28 Jun 2020 16:31:24 +0200 [thread overview]
Message-ID: <87k0zri7nn.fsf@gnu.org> (raw)
In-Reply-To: <87eeq0wy1y.fsf_-_@gnu.org> (Jan Nieuwenhuizen's message of "Sat, 27 Jun 2020 13:25:13 +0200")
Hi,
Jan Nieuwenhuizen <janneke@gnu.org> skribis:
> I'm really puzzled here. This
>
> (append-map rhs-file-names
> (split-on-nul
> (catch #t ;;'system-error
> (lambda _
> (call-with-input-file environ
> get-string-all))
> (lambda args
> (format (current-error-port) "KETS: args=~s\n" args)
> (format (current-error-port) "sys: ~s\n" (system-error-errno args))
> ""))))
>
>
> gives
>
> KETS: args=(r6rs:exception #<r6rs:record:&raise-object-wrapper>)
Ah yes, it’s really an R6RS condition here, not 'system-error, because
we’re using ‘get-string-all’ (from R6RS). So we’d need to use ‘guard’
and the R6RS I/O error predicate.
But I do think we should take a closer look at procfs; we’ll have to fix
it anyway, and it’s relatively little code, so the sooner the better
IMO. As discussed yesterday on IRC, gdb is a somewhat flaky, so perhaps
we can try (cross)building procfs and with a bunch of printfs, and then
starting it as an active translator so it has stdout/stderr. High tech! :-)
Thanks,
Ludo’.
next prev parent reply other threads:[~2020-06-28 14:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-25 20:34 bug#42047: [PATCH 0/3] Running guix gc on the Hurd Jan (janneke) Nieuwenhuizen
2020-06-25 20:38 ` bug#42047: [PATCH 1/3] image: hurd: Create hurd-compatible ext2 file-system Jan (janneke) Nieuwenhuizen
2020-06-25 20:38 ` bug#42047: [PATCH 2/3] image: hurd: Initialize root partition for the Hurd Jan (janneke) Nieuwenhuizen
2020-06-25 20:38 ` bug#42047: [PATCH 3/3] guix: gc: Support " Jan (janneke) Nieuwenhuizen
2020-06-25 20:48 ` Ludovic Courtès
2020-06-25 22:25 ` Bengt Richter
2020-06-25 20:44 ` bug#42047: [PATCH 1/3] image: hurd: Create hurd-compatible ext2 file-system Ludovic Courtès
2020-06-25 20:53 ` Jan Nieuwenhuizen
2020-06-26 8:27 ` bug#42047: [PATCH 3/3] guix: gc: Support for the Hurd Jan Nieuwenhuizen
2020-06-27 11:25 ` bug#42047: [PATCH v2] " Jan Nieuwenhuizen
2020-06-28 14:31 ` Ludovic Courtès [this message]
2020-06-26 15:46 ` bug#42047: [PATCH 0/3] Running guix gc on " Ludovic Courtès
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=87k0zri7nn.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=42047@debbugs.gnu.org \
--cc=janneke@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 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.