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 YEvILGqq+F7aDgAA0tVLHw (envelope-from ) for ; Sun, 28 Jun 2020 14:34:18 +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 3ImOKGqq+F5XPQAA1q6Kng (envelope-from ) for ; Sun, 28 Jun 2020 14:34:18 +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 4B8589404D7 for ; Sun, 28 Jun 2020 14:34:18 +0000 (UTC) Received: from localhost ([::1]:53036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpYNt-0005CX-1M for larch@yhetil.org; Sun, 28 Jun 2020 10:34:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpYLi-0001sX-BP for bug-guix@gnu.org; Sun, 28 Jun 2020 10:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpYLh-0005rr-W8 for bug-guix@gnu.org; Sun, 28 Jun 2020 10:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpYLh-0002XS-SJ for bug-guix@gnu.org; Sun, 28 Jun 2020 10:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42047: [PATCH v2] guix: gc: Support for the Hurd. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 28 Jun 2020 14:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42047 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Jan Nieuwenhuizen Received: via spool by 42047-submit@debbugs.gnu.org id=B42047.15933547059732 (code B ref 42047); Sun, 28 Jun 2020 14:32:01 +0000 Received: (at 42047) by debbugs.gnu.org; 28 Jun 2020 14:31:45 +0000 Received: from localhost ([127.0.0.1]:46767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpYLR-0002Wu-61 for submit@debbugs.gnu.org; Sun, 28 Jun 2020 10:31:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpYLM-0002We-QE for 42047@debbugs.gnu.org; Sun, 28 Jun 2020 10:31:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43342) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpYLG-0005pH-68; Sun, 28 Jun 2020 10:31:34 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40394 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jpYL7-0005jG-Iq; Sun, 28 Jun 2020 10:31:29 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200625203850.25057-1-janneke@gnu.org> <20200625203850.25057-3-janneke@gnu.org> <87pn9mq3bo.fsf@gnu.org> <87d05m9qpx.fsf@gnu.org> <87eeq0wy1y.fsf_-_@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Messidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 28 Jun 2020 16:31:24 +0200 In-Reply-To: <87eeq0wy1y.fsf_-_@gnu.org> (Jan Nieuwenhuizen's message of "Sat, 27 Jun 2020 13:25:13 +0200") Message-ID: <87k0zri7nn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42047@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: -1.01 X-TUID: lDWLnML2hUkS Hi, Jan Nieuwenhuizen 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=3D~s\n" args) > (format (current-error-port) "sys: ~s\n" (system-error= -errno args)) > "")))) > > > gives > > KETS: args=3D(r6rs:exception #) Ah yes, it=E2=80=99s really an R6RS condition here, not 'system-error, beca= use we=E2=80=99re using =E2=80=98get-string-all=E2=80=99 (from R6RS). So we=E2= =80=99d need to use =E2=80=98guard=E2=80=99 and the R6RS I/O error predicate. But I do think we should take a closer look at procfs; we=E2=80=99ll have t= o fix it anyway, and it=E2=80=99s 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=E2=80=99.