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

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 29 Aug 2014 22:41:05 +0000

Your bug report

#18115: offload fails to register GC root

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
18115: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18115
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#18115: offload fails to register GC root
From: [email-masked] (Ludovic Courtès)
To: Mark H Weaver <[email-masked]>
Cc: [email-masked]
Date: Fri, 29 Aug 2014 14:54:43 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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’.

Subject: offload fails to register GC root
From: Mark H Weaver <[email-masked]>
To: [email-masked]
Date: Sat, 26 Jul 2014 17:52:13 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

See the aborted build here: http://hydra.gnu.org/build/80150

Here's the Nix error output:

--8<---------------cut here---------------start------------->8---
these derivations will be built:
  /gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv
process 11125 acquired build slot '/nix/var/guix/offload/chapters.gnu.org/0'
process 11125 acquired build slot '/nix/var/guix/offload/hydra.gnunet.org/0'
load on machine 'hydra.gnunet.org' is 0.05 (normalized: 0.0125)
load on machine 'chapters.gnu.org' is 0.01 (normalized: 0.005)
load on machine 'hydra.gnunet.org' is 0.05 (normalized: 0.0125)
@ build-started /gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv - x86_64-linux /nix/var/log/guix/drvs/jb//3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv
Backtrace:
In ice-9/boot-9.scm:
 157: 7 [catch #t #<catch-closure 25bd2e0> ...]
In unknown file:
   ?: 6 [apply-smob/1 #<catch-closure 25bd2e0>]
In ice-9/boot-9.scm:
  63: 5 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 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)
builder for `/gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv' failed with exit code 1
@ hook-failed /gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv - 256 builder for `/gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv' failed with exit code 1
error: build of `/gnu/store/jb3wfz0barwb1f959l1ggi75zybs8ayh-gnumeric-1.12.17.drv' failed
--8<---------------cut here---------------end--------------->8---