Subject: Re: bug#18115: offload fails to register GC root

From: [email-masked] (Ludovic Courtès)
Date: Fri, 29 Aug 2014 14:54:43 +0200

Mark H Weaver <[email-masked]> skribis:

>    ?: 3 [call-with-input-string "(begin (use-modules (guix config)) (let ((root-directory (string-append %state-directory \"/gcroots/tmp\"))) (false-if-exception (mkdir root-directory)) (symlink \"/gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv\" (string-append root-directory \"/\" \"offload-20121227-hydra.gnu.org-11125\"))))" ...]
> In ice-9/command-line.scm:
>  180: 2 [#<procedure 25d6cc0 at ice-9/command-line.scm:175:6 (port)> #<input: string 239a5b0>]
> In unknown file:
>    ?: 1 [eval (begin (use-modules #) (let # # #)) #<directory (guile-user) 25b1c60>]
>    ?: 0 [symlink "/gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv" ...]
>
> ERROR: In procedure symlink:
> ERROR: In procedure symlink: File exists
> guix offload: error: failed to register GC root for '/gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv' on '#<<build-machine> name: "hydra.gnunet.org" port: 22 system: "x86_64-linux" user: "hydra" private-key: "/home/hydra/.lsh/identity" parallel-builds: 4 speed: 1.7 features: ()>' (status: 256)

I believe this is fixed by a commit I just pushed.  The reasoning is
that EEXIST in this case is harmless and can safely be ignored.

I’ll install it on hydra.gnu.org ASAP.

Thanks,
Ludo’.