From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aAPhOkFauGI99wAAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 15:08:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wBnNOkFauGLS4gAA9RJhRA (envelope-from ) for ; Sun, 26 Jun 2022 15:08:17 +0200 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 CDA323E141 for ; Sun, 26 Jun 2022 15:08:17 +0200 (CEST) Received: from localhost ([::1]:49734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5Rzs-00006f-UI for larch@yhetil.org; Sun, 26 Jun 2022 09:08:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Rzg-00005b-Pl for bug-guix@gnu.org; Sun, 26 Jun 2022 09:08:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5Rze-0008IP-NH for bug-guix@gnu.org; Sun, 26 Jun 2022 09:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5Rze-0002y6-II for bug-guix@gnu.org; Sun, 26 Jun 2022 09:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#53355: guix shell --check: confusing error message Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 Jun 2022 13:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53355 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Josselin Poiret , Chris Marusich Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 53355@debbugs.gnu.org, 51466@debbugs.gnu.org Received: via spool by 53355-submit@debbugs.gnu.org id=B53355.165624883711351 (code B ref 53355); Sun, 26 Jun 2022 13:08:02 +0000 Received: (at 53355) by debbugs.gnu.org; 26 Jun 2022 13:07:17 +0000 Received: from localhost ([127.0.0.1]:46933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Ryv-0002wv-Lr for submit@debbugs.gnu.org; Sun, 26 Jun 2022 09:07:17 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:41286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Ryr-0002wb-1S for 53355@debbugs.gnu.org; Sun, 26 Jun 2022 09:07:16 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id np7B2700A4UW6Th06p7Ba2; Sun, 26 Jun 2022 15:07:11 +0200 Message-ID: From: Maxime Devos Date: Sun, 26 Jun 2022 15:07:11 +0200 In-Reply-To: <87zghzsohq.fsf@jpoiret.xyz> References: <87h7a08kub.fsf@gmail.com> <87lez5td4n.fsf@gnu.org> <87sftc4osu.fsf@gmail.com> <87h79slysd.fsf@gnu.org> <87sft13dyv.fsf@gmail.com> <874k59d802.fsf@gnu.org> <87wnhy2w73.fsf_-_@gmail.com> <878rudzsmv.fsf@gnu.org> <87sfozzglf.fsf_-_@gmail.com> <875ykpdsbd.fsf_-_@gmail.com> <0b1765dfff5401fa06ee25779b7f173230bf4ea4.camel@telenet.be> <87y1xkwur9.fsf_-_@gmail.com> <87zghzsohq.fsf@jpoiret.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-VkZ+fiDtUdeW2T4D7FHS" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1656248831; bh=2k5JxD62cP/YfMnqHUftFhhsqOf40linC0E+I77+8n4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=PQy9bK4KVRkCiGV256WFil+3WZgWyiWhTrnKZN+d0FBvKN70PYvnm+BX4UdHJkd5H 963/C6zyfl+IN8dZ97AcJgrvCm+162FjC4P3p3/WFdHEgonGuHOQHMUrq24ntcGpFa CBhVk+wS3DnLqpz8ZnVrW35tQXod6Jzc8435M+0JZxh7ZrmKw5nL6QGXb907rRjh3O SX01l3JsCabwXUZq7FiBh9ZHJBQG+OhA7SGatfUcqA4V9WJRPSY3VJoH4+wUhF0mem zSc/2Mksi8t3Il0Z0gKwewcENNWjKWiF5G5RDwvHoRwweVU2PqbPBklkhqyt9tfY+e 1/LTbtTf14WMQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656248897; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=2k5JxD62cP/YfMnqHUftFhhsqOf40linC0E+I77+8n4=; b=sasiwq7lp7bJARliH1xuluoGdjRQpGzoTUpFrOllT1PnjNBtBPDC4j8etvpnEASk6snWrB 6vsFsgzrsv+3ChmzFTa9VLACm86WUPoO5dPoANsF2Sq4xzDG3eX8JAgeM19afW0JJ0VHDq C8FY1PcA3D3RMqCTvxKzOFqJQJa25cVAIYlv8GIF/oE7RLqUVoO0Bw1YbSPgdt7T7h1N18 CNSkp91blqxORMKuLTWGQhsiSCQRh/3EMZhgIuXNWYL5X92yJtn9kHKl1GGojHe9BbPXwv 2sGDC7crRSAb50qn3z5KUBUz2WYZF430wwZGfsbrInIR2tg0hdMn0ZYT5B/iMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656248897; a=rsa-sha256; cv=none; b=DO4xSeNMxOS7lP6PesxisOzPJzYA4hvrsGWIxVlWhFtin7feoGKOZj1FJE1lrt/wFqNvCa GN4TQBQkApnXqToDzPx4vtPVr67fGQytXotjlwJ3cavOFfru6s1mG0CJBRmJKIdNBIVL3Y nviPpYgLB+FremC2Ga9+Vio5JIa9Ji8LKCNkuARyhoDbpXIN9q9fS72rvkAqxmhyKU+glN p2i58+guAPVX39fXJ7iMsZHdtVkVWjZbRatRW8Ed3skDCSkV8YSsK40TY96Mc1dsvn1i1t e9JdObF0qbs/O+2RPxKN/aL+/X7U4PsW1tMJ7hm0NaModjYXrc/E3Z4lEk+6Ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=PQy9bK4K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=PQy9bK4K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CDA323E141 X-Spam-Score: 5.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1Vzx00PvBrkT --=-VkZ+fiDtUdeW2T4D7FHS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret schreef op zo 26-06-2022 om 12:33 [+0200]: > Just my 2=C2=A2, from my experience, Guile uses a lot of fds (`guile -q` = uses > 15).=C2=A0 I'm not sure it would be safe or advisable to move fds, since = we > cannot be sure that they're backing ports or not, and if they're not it > would break things As mentioned previously, move->fdes looks in the port table to see if the file descriptor things are being moved too is still in use, and if so, moves that (fd, port) out of the way first, so should be safe. That only works if Guile knows about the fd though, and Guile currently does not know about it's own finalisation pipe, which I think is the cause of , so currently still fragile ... (To be clear, I still recommend just fixing dash ...) --=-VkZ+fiDtUdeW2T4D7FHS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYrhZ/xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kIVAQDT4E/eTeEQjy+tnX8Ld5l+BYlq RynJC9UhzUm4jfLKuAD/RshvRqPwZuVQT+htxNv08h3+T+wCQSf028EMR600JQY= =9BuJ -----END PGP SIGNATURE----- --=-VkZ+fiDtUdeW2T4D7FHS--