From unknown Sat Jun 21 10:46:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55809: guix challenge with diffoscope fails to clean up temporary directory Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 05 Jun 2022 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55809 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55809@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165444817226462 (code B ref -1); Sun, 05 Jun 2022 16:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jun 2022 16:56:12 +0000 Received: from localhost ([127.0.0.1]:33383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxtXw-0006sj-7l for submit@debbugs.gnu.org; Sun, 05 Jun 2022 12:56:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:40150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxtXs-0006sR-IZ for submit@debbugs.gnu.org; Sun, 05 Jun 2022 12:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxtXr-0001fg-Te for bug-guix@gnu.org; Sun, 05 Jun 2022 12:56:08 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:55822) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxtXf-0006PA-Qg for bug-guix@gnu.org; Sun, 05 Jun 2022 12:56:07 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 636491AAD0 for ; Sun, 5 Jun 2022 09:55:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654448152; bh=3A3Y4aplc6DRW5oPNfaNmpRPb0BWl3XFFq6ZknaNg8M=; h=From:To:Subject:Date:From; b=j3hFyshIrpylvxo+OM5+68cV8vpq1yVvdVCbn5mvhCwgfAT4aJbYBeNPgf38bxsnX PJbXlicPq+kKsqFDWSZccXpdysdeP1hSWKVeSDBoJ1E3Tl93+i4JP/Wfa3VajmhGeg dJNsU1zHP2+KVwf83eKDQ83ud659+aqvprhyDZu7KUQAULLpz+F6bJJjvHU+GNFiIi An++GPGV3cx/Yn9mYO70eDYLO9QA0b55Qihp8MHBSJf7a4yaRliEbAWCFdK4FwONeM oCFex186T6zZRHNlav/b9Fx+St7/a6oHyWOiKDc9J9luhTm6LmUjwEgEpW4mx9NiUw 5fhPwzZQPk/ww== From: Vagrant Cascadian Date: Sun, 05 Jun 2022 09:55:36 -0700 Message-ID: <87o7z73v93.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain When I run a command such as: guix challenge --verbose --diff=diffoscope gavl 2>&1 | tee gavl It works for the most part, producing the diffoscope output, but ends with a bunch of warnings regarding removing the temporary directory it created to compare the files: warning: failed to delete /tmp/guix-directory.5TokII/share/doc: Permission denied warning: failed to delete /tmp/guix-directory.5TokII/share: Permission denied warning: failed to delete /tmp/guix-directory.5TokII: Directory not empty The permissions on the directory are read-only, which is presumably why it cannot remove them: $ ls -latr /tmp/guix-directory.5TokII/ total 28 dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 share dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 lib dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 include dr-xr-xr-x 5 vagrant vagrant 4096 Dec 31 1969 . drwxrwxrwt 168 root root 12288 Jun 5 09:28 .. The warnings are at best distracting, and at worst end up effectively making it impossible to see the diffoscope output without redirecting to a file, as the source files can take up many many lines in the scroll buffer. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYpzgCQAKCRDcUY/If5cW qsAQAQDUqjlDNToIfbmxZCqxD4MQdet64kUxnhH542yClG1mgwD/ag89XxVj5J2a cCIiCcBC5L7nT0ZJaTPMZXIz8tqT7QE= =2KVb -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 10:46:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vagrant Cascadian Subject: bug#55809: closed (Re: bug#55809: guix challenge with diffoscope fails to clean up temporary directory) Message-ID: References: <87h74osvmm.fsf@gnu.org> <87o7z73v93.fsf@contorta> X-Gnu-PR-Message: they-closed 55809 X-Gnu-PR-Package: guix Reply-To: 55809@debbugs.gnu.org Date: Mon, 13 Jun 2022 10:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1655116322-29293-1" This is a multi-part message in MIME format... ------------=_1655116322-29293-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #55809: guix challenge with diffoscope fails to clean up temporary directory which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 55809@debbugs.gnu.org. --=20 55809: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D55809 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1655116322-29293-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 55809-done) by debbugs.gnu.org; 13 Jun 2022 10:31:07 +0000 Received: from localhost ([127.0.0.1]:57329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0hLe-0007bD-Rg for submit@debbugs.gnu.org; Mon, 13 Jun 2022 06:31:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0hLd-0007a1-C3 for 55809-done@debbugs.gnu.org; Mon, 13 Jun 2022 06:31:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0hLX-0008HF-Mu; Mon, 13 Jun 2022 06:30:59 -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=E6QHazbWx4O8moc+RbzcgG+o//GCv/kEax5POTOr2E4=; b=CJA/wYKQUJ4pcwnNw2U5 7TFnbiAYm4nVcig2oGLjrbAsme+o+1+eQo1GNxjcK1lk3bWO6LnjYOzTKT61dILzyXSHb+QoFVMIh fxv3Yk7k7Ye/F0m3VrPPJO3RJf6yoX6SL1CqMWrL8/7DnN69smp9x5wqHapaRtMqY2EwpLoUge7Ug gXBCiJisJ1UAzFXxewKyIJTVGBqoSuQWJun/7HvnGHRGr+ToZNUf9izuBc6WHuz34kffyqFrv3xJ6 iyoW/fHKufGTmTtav4vIwGGCsxJ/h0Dj6ey+P2rubJJI1eXvKBPc6UED261wWsF0GjJP7dSmhcV0K jWEKcFx+XLx6Tg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=56416 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0hLX-0007CA-AV; Mon, 13 Jun 2022 06:30:59 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: bug#55809: guix challenge with diffoscope fails to clean up temporary directory References: <87o7z73v93.fsf@contorta> Date: Mon, 13 Jun 2022 12:30:57 +0200 In-Reply-To: <87o7z73v93.fsf@contorta> (Vagrant Cascadian's message of "Sun, 05 Jun 2022 09:55:36 -0700") Message-ID: <87h74osvmm.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55809-done Cc: 55809-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Vagrant Cascadian skribis: > When I run a command such as: > > guix challenge --verbose --diff=3Ddiffoscope gavl 2>&1 | tee gavl > > It works for the most part, producing the diffoscope output, but ends > with a bunch of warnings regarding removing the temporary directory it > created to compare the files: > > warning: failed to delete /tmp/guix-directory.5TokII/share/doc: Permiss= ion denied > warning: failed to delete /tmp/guix-directory.5TokII/share: Permission = denied > warning: failed to delete /tmp/guix-directory.5TokII: Directory not emp= ty Fixed in 2a2856d5ccd9a9b7df8a94333a277b971a39b150, thanks! Ludo=E2=80=99. ------------=_1655116322-29293-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Jun 2022 16:56:12 +0000 Received: from localhost ([127.0.0.1]:33383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxtXw-0006sj-7l for submit@debbugs.gnu.org; Sun, 05 Jun 2022 12:56:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:40150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxtXs-0006sR-IZ for submit@debbugs.gnu.org; Sun, 05 Jun 2022 12:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxtXr-0001fg-Te for bug-guix@gnu.org; Sun, 05 Jun 2022 12:56:08 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:55822) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxtXf-0006PA-Qg for bug-guix@gnu.org; Sun, 05 Jun 2022 12:56:07 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 636491AAD0 for ; Sun, 5 Jun 2022 09:55:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654448152; bh=3A3Y4aplc6DRW5oPNfaNmpRPb0BWl3XFFq6ZknaNg8M=; h=From:To:Subject:Date:From; b=j3hFyshIrpylvxo+OM5+68cV8vpq1yVvdVCbn5mvhCwgfAT4aJbYBeNPgf38bxsnX PJbXlicPq+kKsqFDWSZccXpdysdeP1hSWKVeSDBoJ1E3Tl93+i4JP/Wfa3VajmhGeg dJNsU1zHP2+KVwf83eKDQ83ud659+aqvprhyDZu7KUQAULLpz+F6bJJjvHU+GNFiIi An++GPGV3cx/Yn9mYO70eDYLO9QA0b55Qihp8MHBSJf7a4yaRliEbAWCFdK4FwONeM oCFex186T6zZRHNlav/b9Fx+St7/a6oHyWOiKDc9J9luhTm6LmUjwEgEpW4mx9NiUw 5fhPwzZQPk/ww== From: Vagrant Cascadian To: bug-guix@gnu.org Subject: guix challenge with diffoscope fails to clean up temporary directory Date: Sun, 05 Jun 2022 09:55:36 -0700 Message-ID: <87o7z73v93.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain When I run a command such as: guix challenge --verbose --diff=diffoscope gavl 2>&1 | tee gavl It works for the most part, producing the diffoscope output, but ends with a bunch of warnings regarding removing the temporary directory it created to compare the files: warning: failed to delete /tmp/guix-directory.5TokII/share/doc: Permission denied warning: failed to delete /tmp/guix-directory.5TokII/share: Permission denied warning: failed to delete /tmp/guix-directory.5TokII: Directory not empty The permissions on the directory are read-only, which is presumably why it cannot remove them: $ ls -latr /tmp/guix-directory.5TokII/ total 28 dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 share dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 lib dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 include dr-xr-xr-x 5 vagrant vagrant 4096 Dec 31 1969 . drwxrwxrwt 168 root root 12288 Jun 5 09:28 .. The warnings are at best distracting, and at worst end up effectively making it impossible to see the diffoscope output without redirecting to a file, as the source files can take up many many lines in the scroll buffer. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYpzgCQAKCRDcUY/If5cW qsAQAQDUqjlDNToIfbmxZCqxD4MQdet64kUxnhH542yClG1mgwD/ag89XxVj5J2a cCIiCcBC5L7nT0ZJaTPMZXIz8tqT7QE= =2KVb -----END PGP SIGNATURE----- --=-=-=-- ------------=_1655116322-29293-1--