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 #14 received at 52103 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 52103 <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: Sun, 12 Dec 2021 22:55:35 +0100
Hi,

Christopher Baines <mail <at> cbaines.net> skribis:

> I've had a go at debugging this further, I'm not confident I've found
> the relevant part of the strace output, but I think it could be this bit:
>
> 14403 newfstatat(AT_FDCWD, "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-translated-texinfo/guix.de.texi", {st_mode=S_IFREG|0444, st_size=925279, ...}, AT_SYMLINK_NOFOLLOW) = 0
> 14403 openat(AT_FDCWD, "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-translated-texinfo/guix.de.texi", O_RDONLY) = 15
> 14403 fstat(15, {st_mode=S_IFREG|0444, st_size=925279, ...}) = 0
> 14403 openat(AT_FDCWD, "./guix.de.texi", O_WRONLY|O_CREAT|O_TRUNC, 0444) = -1 EACCES (Permission denied)

It could be that ./guix.de.texi already exists and is read-only, or that
“.” is read-only.

> There's more information below. I wonder if this could somehow be
> connected to guix.de.texi being both in the -doc store item, and
> -guix-translated-texinfo. Reading the builder, it looks like it copies
> it first from -doc, then again from -guix-translated-texinfo, and that's
> the point at which it fails?

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?

Thanks for investigating!

Ludo’.




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.