From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 SN4kMg7HSWNbmQAAbAwnHQ (envelope-from ) for ; Fri, 14 Oct 2022 22:31:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mwQ3Mg7HSWOJCAAA9RJhRA (envelope-from ) for ; Fri, 14 Oct 2022 22:31:10 +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 6484037042 for ; Fri, 14 Oct 2022 22:31:10 +0200 (CEST) Received: from localhost ([::1]:36804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojRKn-0003QL-1T for larch@yhetil.org; Fri, 14 Oct 2022 16:31:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojRKg-0003Pe-3j for bug-guix@gnu.org; Fri, 14 Oct 2022 16:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojRKf-0007fn-Mn for bug-guix@gnu.org; Fri, 14 Oct 2022 16:31:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojRKf-0007B3-Hi for bug-guix@gnu.org; Fri, 14 Oct 2022 16:31: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: Fri, 14 Oct 2022 20:31: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: Maxim Cournoyer Cc: 25018@debbugs.gnu.org Received: via spool by 25018-submit@debbugs.gnu.org id=B25018.166577944527560 (code B ref 25018); Fri, 14 Oct 2022 20:31:01 +0000 Received: (at 25018) by debbugs.gnu.org; 14 Oct 2022 20:30:45 +0000 Received: from localhost ([127.0.0.1]:38744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojRKP-0007AS-0e for submit@debbugs.gnu.org; Fri, 14 Oct 2022 16:30:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojRKN-0007AF-0t for 25018@debbugs.gnu.org; Fri, 14 Oct 2022 16:30:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojRKF-0007ed-50; Fri, 14 Oct 2022 16:30:37 -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=tLkJ7Lhrni5NZimqyV5wBx9Go4hZepfkJ5atEr7lmIQ=; b=cLFicnu7qaqyYQ7zZ4Vc VEcDYopOFxsPWVvhkr/7kRhqa0mYhtvwB52uR04r9Z4dRrDAqao4NtLSFNXuGZAGxCnJmleqLWNqn YiYksSLNJhZF0dFGzZKUCMR1jyZtjdW/mHFzx2c/QbaxoI72RgZJ9twuGIr8hAwimGk/m45q9vMyQ 6tIx+U2/Kh7XyVaFINV5wtV0PeruNq5qoZ03CSPyrpPi6FONR8Vsz0eZEBHqcQT4TMQ/KJc93a+sg nQ8CWvtocmf83caN/0nxANkBk0AL3w28pD0xvJM570FAjSHOE+v3dAqaRDwh4dCxkEB1x1Ky0j/A9 PpH0XrjRQie4Gw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55196 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojRKD-0000Dw-1g; Fri, 14 Oct 2022 16:30:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87d1hl55ur.fsf@gnu.org> <87pmf34afr.fsf@gmail.com> <87zge43y6a.fsf@gnu.org> Date: Fri, 14 Oct 2022 22:30:28 +0200 In-Reply-To: <87zge43y6a.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 10 Oct 2022 10:01:01 +0200") Message-ID: <87wn92jggr.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=1665779470; 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=tLkJ7Lhrni5NZimqyV5wBx9Go4hZepfkJ5atEr7lmIQ=; b=a3PFeTJmqmZfDACGFPUL6Y9JaT7/Tlg9Wc3/6THD5DULbmPHX9OwNx4aulIxEx2VK3RDKk uouvMEpq5VkLceG5q0RR5H5SIzjRO0UuwlVuzzhjMcN6lBFVYCbV80hTgEowqLU3KbAWX3 qSJEd1Ksa1qwc357H2TxNejR/8YYvm+ws2Pn31yALx6S4KUA/+DXhxKqTJmXG4d4JTJmCZ EW7HuB8Vy2Dyd9vfiEzqu0M9FKrlX/n2zeqQZI4kjJrePuQQqIURC582K0vOxU+4vO3Nd1 ElTZZsXDE9MG15aI5dkMguGhIYdmXUas0QVdZsURXu/8tfGYpiBdLGVwjWtCMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665779470; a=rsa-sha256; cv=none; b=gMLFVehY6f2GqM2J2USkWzAkX9ed3LfMpWzafQ2Oi2OzUO+B7/6bVnUScNME9OEYjxBdFh fJ7mEiuA3/0S3nCjMjfh07A+3+xVhy4t1cnYWPm4ZRnJkg3QJY70w/QRkOhyCdnz+KwITu 59KfEoJjoS0gY1x42fCs2PkcHUfLq9I51UgeDAcmdmy0ewB9lIYdTdGoJJt+/SVOoy9xFB iBKgny2xFO9svJyJrSJWSpiRbUhv2gR1XTKfL28ZtkufNqvydJ2ysBeyl69BaNlu/Xua8V +1coepzXW7FeRS9lOG8lsdC+Pbqf1UT4PNrchKU5Id6SkLbYNJDA99C8dD4EiA== 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=cLFicnu7; 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: -3.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=cLFicnu7; 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: 6484037042 X-Spam-Score: -3.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: FpOIsrJdjZvQ Hi Maxim, (Stripping Cc:.) Ludovic Court=C3=A8s skribis: > 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. Actually, there are tests that most likely relied on the previous behavior and are now failing in tests/{derivations,nar,publish,pypi,store}.scm. We=E2=80=99ll have to look= at each one to make sure they are indeed making the wrong assumption and to fix them. What about reverting the change first so we can do that without pressure and come up with a self-contained patch? Ludo=E2=80=99.