GNU bug report logs - #55809
guix challenge with diffoscope fails to clean up temporary directory

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> reproducible-builds.org>

Date: Sun, 5 Jun 2022 16:57:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55809 in the body.
You can then email your comments to 55809 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#55809; Package guix. (Sun, 05 Jun 2022 16:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> reproducible-builds.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 05 Jun 2022 16:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
To: bug-guix <at> gnu.org
Subject: guix challenge with diffoscope fails to clean up temporary directory
Date: Sun, 05 Jun 2022 09:55:36 -0700
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 13 Jun 2022 10:32:02 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> reproducible-builds.org>:
bug acknowledged by developer. (Mon, 13 Jun 2022 10:32:02 GMT) Full text and rfc822 format available.

Message #10 received at 55809-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
Cc: 55809-done <at> debbugs.gnu.org
Subject: Re: bug#55809: guix challenge with diffoscope fails to clean up
 temporary directory
Date: Mon, 13 Jun 2022 12:30:57 +0200
Hello,

Vagrant Cascadian <vagrant <at> reproducible-builds.org> skribis:

> 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

Fixed in 2a2856d5ccd9a9b7df8a94333a277b971a39b150, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Jul 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.