From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mHVSCQHQhGMkLgEAbAwnHQ (envelope-from ) for ; Mon, 28 Nov 2022 16:13:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0LGECAHQhGPPawAAG6o9tA (envelope-from ) for ; Mon, 28 Nov 2022 16:13:05 +0100 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 6365D37165 for ; Mon, 28 Nov 2022 16:05:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozfhJ-0000S8-Nc; Mon, 28 Nov 2022 10:05:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozfgw-0000KL-DS for bug-guix@gnu.org; Mon, 28 Nov 2022 10:05:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozfgt-0005u9-Lm for bug-guix@gnu.org; Mon, 28 Nov 2022 10:05:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozfgs-0005C3-Gv for bug-guix@gnu.org; Mon, 28 Nov 2022 10:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#30948: [PATCH core-updates] guix: Reap finished child processes in build containers. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Nov 2022 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30948 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 30948@debbugs.gnu.org, Carlo Zancanaro Received: via spool by 30948-submit@debbugs.gnu.org id=B30948.166964786719931 (code B ref 30948); Mon, 28 Nov 2022 15:05:02 +0000 Received: (at 30948) by debbugs.gnu.org; 28 Nov 2022 15:04:27 +0000 Received: from localhost ([127.0.0.1]:49089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfgI-0005BP-V8 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 10:04:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfgG-0005BJ-F1 for 30948@debbugs.gnu.org; Mon, 28 Nov 2022 10:04:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozfgA-0005oM-Vv; Mon, 28 Nov 2022 10:04:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=8ecu73a8BBybx8OlMyUS8Ye2iqfJjs99K8yi7cXfdvU=; b=TIwLR6SuAJCuBd1ijECZ eoZ+ji8JdzrHf/ra7NCEGxkzp2tL2m5yiLiU7rxr36r+samukAu7PZYK2UW94prs+hDVMJV3Dl9xv P+Lp8aGdWaS4enXRasZPItUvdT211YfkPsE18DvH81zIFEwzDOBC/Sf9duvkVZI8pTn2WKkAW/3O5 C9NZh0artI+JzCPVOA8py3eZcR+AXXcPLai0MqNa4rv7F2dNJqLqF5rKGedxB25V+mml5J1eTaJGj aUONb6HLnnbsyjiV3pQIK/pkoH0koXJU80ovkMMfH8e3+7Q2vl4YHmFbNUqFigGxJndURzz5kzaQn k/M0Joi9ELQedw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozffx-0000rm-N5; Mon, 28 Nov 2022 10:04:18 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87muyvulwt.fsf@zancanaro.id.au> <87bmf6ve6u.fsf@gnu.org> <87sh8id1mg.fsf@zancanaro.id.au> <87vadeou54.fsf@gnu.org> <87o9j5x1d4.fsf@zancanaro.id.au> <874lkxoanq.fsf@gnu.org> <87cz9cnvys.fsf_-_@gmail.com> <875yf192en.fsf@gnu.org> <87ilj1w18i.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 8 Frimaire an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Miel 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: Mon, 28 Nov 2022 16:04:04 +0100 In-Reply-To: <87ilj1w18i.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 26 Nov 2022 22:00:13 -0500") Message-ID: <87lenvce8r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669647940; 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: content-transfer-encoding:content-transfer-encoding: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=8ecu73a8BBybx8OlMyUS8Ye2iqfJjs99K8yi7cXfdvU=; b=kCpWEqEvrd+U7ZpNMWe4RvW2lw9rLFFmToxCYB3eam7FdoZYUIXe2/sa462r2rdi7R3fAD iW8Ap/piuzFtlrJcT7j7icniUDVijD42j8QnEWd3DykZyEmliwIU4oFpbTjdH3rFcQvMiX i50eHIJCcnOIqIwwYfvZWteONbTsl+p/8Axtg5q1Jovzzk1bCptbYloAO/DEZILS92Tp0Y +itG8HzATvYi+uA31Sgwvu4EHxbhIEju1lexPh05SHZ6/uAFZ0RPl2iP5akrWMqmLabfOD sEWDm4/YElEOLCvI8kJddVtkRM90JFI+CzrW3x10ktaK83ClwlUsy3bi+u2IdA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669647940; a=rsa-sha256; cv=none; b=FUO0Ee2KKfvigDxud6MIgTtb5IDBdhDsfyMHbqoGem10W3PDrWYOBsjMTJ9e59bJ3jZwk7 vbNO1dkJ+41402/H3BDAa6n2bJ+WGgqjfeVIV3QeFq0iSSgmJb059BKlo4ERdtAP0+pGnO ZnTl2xNy8O/IcTHdVD9qcuwT/KvpW1zgWiMv0fkcYvVX26sk2N2YGmgtjTGvR/xRCltL1H e0hGbO63LHoMvEAn8zLM7/IMVJ/fscmPfTT6P5aViJz0uTjwORBwlIcP+BGHI3udeElgFy VlbaodiVwA9QS64WPARmnIqfrK4ahw2fV+RZBdvzpVJLmtsmVK35WuhwA7pmiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=TIwLR6Su; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=TIwLR6Su; dmarc=pass (policy=none) header.from=gnu.org; 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: 6365D37165 X-Spam-Score: -4.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: JP6jOr3W76tH Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: [...] >> If I write: >> >> (gexp->derivation "foo" #~(mkdir #$output)) >> >> I can be sure that my derivation depends on nothing but (default-guile). >> This is important for tests, but also to make sure we can use this >> primitive everywhere=E2=80=94if it pulled in the Shepherd, I wouldn=E2= =80=99t be able to >> use to build glibc, because there=E2=80=99d be a cycle. > > I was not suggesting to pull in extra dependencies such as Shepherd, but > to weave the to-be-added signal handling logic at a much lower level. > One idea could be to arrange so that the correct signal handlers always > get installed for any Guile code running in the build side (I'm not sure > how, but perhaps by adjusting the gexp "compiler"?). > > The handlers could be defined in (guix build signal-handling) or > similar. Users wouldn't need to explicitly import the module and > install its signal handlers, that'd be taken care of automatically, all > the time. > > Does that sound feasible? Not like this: the imported-modules derivation for (guix build signal-handling) would be a dependency in themselves. Ludo=E2=80=99.