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 wIHzFT41RGN3EgEAbAwnHQ (envelope-from ) for ; Mon, 10 Oct 2022 17:07:42 +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 WCUnFT41RGNPPwEA9RJhRA (envelope-from ) for ; Mon, 10 Oct 2022 17:07:42 +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 C2C6129A85 for ; Mon, 10 Oct 2022 17:07:41 +0200 (CEST) Received: from localhost ([::1]:33510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohuNY-0000Wf-Rf for larch@yhetil.org; Mon, 10 Oct 2022 11:07:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohuAM-0007Fy-A7 for bug-guix@gnu.org; Mon, 10 Oct 2022 10:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohuAM-0000tQ-0P for bug-guix@gnu.org; Mon, 10 Oct 2022 10:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohuAL-0007KH-Ri for bug-guix@gnu.org; Mon, 10 Oct 2022 10:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#25018: GC incorrectly removes the temporary root file of the calling process Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 Oct 2022 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25018 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: h.goebel@crazy-compilers.com, Eelco Dolstra , 25018-done@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 25018-done@debbugs.gnu.org id=D25018.166541362528136 (code D ref 25018); Mon, 10 Oct 2022 14:54:01 +0000 Received: (at 25018-done) by debbugs.gnu.org; 10 Oct 2022 14:53:45 +0000 Received: from localhost ([127.0.0.1]:49548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohuA4-0007Jk-Q2 for submit@debbugs.gnu.org; Mon, 10 Oct 2022 10:53:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohuA2-0007JU-VR for 25018-done@debbugs.gnu.org; Mon, 10 Oct 2022 10:53:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohu9v-0000s7-Ae; Mon, 10 Oct 2022 10:53:35 -0400 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=rRMkGZdjUpjlFkuRlwncYbHLE/baUEJZo1iFl0vjUOI=; b=FRJXrhpNA2I1RTIgXBzC 2WWb1ET/oWwUw4s3fV2zO+uhBDlyz9kidVxBs9XPn5liOuY7rdjZI8VrqQI6I0x7F14YWL6Rb16b0 Lu2pv6rM+DD9JTg8E42cwwDiPbJIXyUFna8phTH7L2Fpx2ohtk6cLT4NfseRW5tEAfVGtdQWHNKbr V/niz8uj6xT4MSWy8RjuYMX8wGD0ngJfFlKGlQz3Hg+s6tfagi+YbNNuyMeIc9v7emfk2IhAOuCyD P/AoMBd3mKFr+gRpTL+RzniXlPzICPqYphGJKWYHpHnGXsnCmU4GTaP6GbaPS7ULuNweLdiqOnZER +FGuPpq+HYW8ww==; Received: from [193.50.110.253] (port=43298 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohu9u-0002wZ-OM; Mon, 10 Oct 2022 10:53:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87d1hl55ur.fsf@gnu.org> <87pmf34afr.fsf@gmail.com> <87zge43y6a.fsf@gnu.org> <82e0b6b6-402b-8505-7fa1-24dd013c4646@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 =?UTF-8?Q?Vend=C3=A9miaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Tournesol 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, 10 Oct 2022 16:53:32 +0200 In-Reply-To: <82e0b6b6-402b-8505-7fa1-24dd013c4646@telenet.be> (Maxime Devos's message of "Mon, 10 Oct 2022 12:29:58 +0200") Message-ID: <87ilkr20ib.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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" 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=1665414462; 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=rRMkGZdjUpjlFkuRlwncYbHLE/baUEJZo1iFl0vjUOI=; b=e9vEuBkh9OEPVX/RKkvz+CNkjSbJ0om15Geoh7CeI+JKnJfzwj8/poL7ju5xTIGlncfzP0 N0a51LllN3xOp8SXIVrJpQnFv5HISJLjx/vKEla3ipiCoRqd9FDM12dyXl/ZoxgM0e9221 1Fx59/RhDp20O41OYgIUe3B/Oq60tUNy8LLbT1lHamr+CdZtwfOTdRUp+YtTpZqZmzZ71M aR4qwEa1bMnLlY5PPeHn6C/uYqEyce4HC/C2Hca6MFq0gPzFlYDo3L0igBhfdrw1OjnwKK QU9A7E/yBnYgZ0GDJqRcuFn3naQTeaSkoNysSo3l92vKbuA3RKE4W01MSLy+Hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665414462; a=rsa-sha256; cv=none; b=Qre4cxiOsGXgvvSSqLvfkExnmn7viBz3cxX54y9uctx46t4uVEo7yCynxx0tX8kGto4uCn bDFY/Bnygmm0mDuBqT5/j/U0xLiDXefdQVRWY58nzBLBI8y+d1JqgyZMcwZ+B4HrkRSaxV NsudYwE+rU4QbvhK2Owe4FmQMl24SgFeFnu8Xq1qpEKw38mV4wGEgkNjgE2RPtY3HrrUU/ sACssm8XJUe4HbFRC6LWJcx6ceNVSlSi6Ss8iweNh53E0Zv3hXil+lHY/ttUAbnjULirJa SoJ+QjMpNCjrpXFE8cWnWbIsvt6DEulJFlpvY1j0MrnPoqOzwX0/raYu6EIW0Q== 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=FRJXrhpN; 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: -2.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=FRJXrhpN; 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: C2C6129A85 X-Spam-Score: -2.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: lRF638oPBWYF Maxime Devos skribis: > On 10-10-2022 10:01, Ludovic Court=C3=A8s wrote: >> Hi Maxim, >> [...] >>> and pushed! >> Thank you! (Your bug triage work is much appreciated!) We could >> turn >> the example here in a unit test; the only downside is that running the >> GC in a test is expensive. > > It should be possible to run the GC on the test store instead of > /gnu/store, no? Yes, that=E2=80=99s what I meant and several tests already do this, but it= =E2=80=99s quite expensive. > If that's still too expensive, how about creating an additional > temporary test store only for the GC test? Bah, that sounds complicated to me. Ludo=E2=80=99.