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

From: Ludovic Courtès <[email-masked]>
Date: Fri, 10 Dec 2021 14:35:21 +0100

Hi,

Christopher Baines <[email-masked]> skribis:

> I'm having trouble pulling on a aarch64-linux machine, both from master
> and core-updates-frozen, and they fail with similar output.

FWIW I’ve successfully upgraded on aarch64-linux to current ‘master’:

--8<---------------cut here---------------start------------->8---
ludo@overdrive1 ~$ guix describe
Generation 12   Dec 10 2021 14:24:21    (current)
  guix 18c406d
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 18c406df973d24fa8adb9cdaf58d73769da44937
ludo@overdrive1 ~$ uname -om
aarch64 GNU/Linux
--8<---------------cut here---------------end--------------->8---

[...]

> \builder for `/gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv' failed with exit code 1
> build of /gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv failed
> View build log at '/var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2'.
> cannot build derivation `/gnu/store/pdbv64gcy97cm3xw9iwnxzd6npazvp5s-guix-4fd6aabea.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv': 1 dependencies couldn't be built
> guix time-machine: error: build of `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv' failed
>
> cbaines@hatysa ~$ bzcat /var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2
> Backtrace: 
>            4 (primitive-load "/gnu/store/h9n0ssml2v8j9bzxxx1zjj0swn3?")
> In ice-9/eval.scm:
>     619:8  3 (_ #f)
> In ice-9/ftw.scm:
>    505:39  2 (loop _ _ #(66306 8660889 16749 2 0 0 0 4096 # 1 # # ?) ?)
> In guix/build/utils.scm:
>    345:27  1 (_ "/gnu/store/4wfkj6z151b97f54415g39apc58chsx7-guix-t?" ?)
> In unknown file:
>            0 (copy-file "/gnu/store/4wfkj6z151b97f54415g39apc58chsx?" ?)
>
> ERROR: In procedure copy-file:
> In procedure copy-file: Permission denied

Are you still experiencing this?

If yes, could you share the .drv file name and maybe strace -f the child
guix-daemon process to get the file names that the backtrace is hiding?

Thanks,
Ludo’.