GNU bug report logs - #52103
guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Thu, 25 Nov 2021 12:29:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 52103-done <at> debbugs.gnu.org
Subject: Re: bug#52103: guix pull: guix-manual.drv' failed with exit code 1,
 In procedure copy-file: Permission denied
Date: Fri, 17 Dec 2021 11:24:01 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi,
>
> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> Ludovic Courtès <ludo <at> gnu.org> writes:
>
> [...]
>
>>> Ah yes, that looks like a problem: “doc”, which is taken straight from
>>> the checkout, normally does not contain *.LANG.texi; those files are not
>>> checked in.
>>>
>>> Could it be that ~/.cache/guix/checkouts contains a non-pristine
>>> checkout of Guix with that extra file?
>>
>> That looks like the issue.
>
> Ah, good to know.
>
> [...]
>
>> That outputs 259 other files as well. Maybe it's worth running git clean
>> on the cache directory, or only pulling files in from the cache
>> directory if they're tracked by git.
>
> (guix git) does a hard reset in ‘switch-to-ref’, which is normally
> enough as long as the user doesn’t manually fiddle with the checkout.
>
> Should we add something there?

I don't know enough about these Git operations, but I guess that's
probably fine if things happen normally. I do wonder if it's possible to
get in to states where there are some untracked files left around if
operations are cancelled or stop part way though.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 217 days ago.

Previous Next


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