unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* problems with offloading
@ 2017-02-25 22:39 ng0
  0 siblings, 0 replies; only message in thread
From: ng0 @ 2017-02-25 22:39 UTC (permalink / raw)
  To: guix-devel

Hi,

because last time I didn't document and didn't save the config I have to
ask again. I'm running into the issue where I can't offload but I
followed all instructions. This time it will go into my documentation.

Both systems are up to date (reconfigure and pull), both are running
GuixSD.

From master to offloading machine the test (imagine foo.local being a
valid IP/domain):
ng0@wasp ~> guix offload test
guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'...
guix offload: 'foo.local' is running guile (GNU Guile) 2.0.13
guix offload: error: failed to use Guix module on 'foo.local' (test returned #<unspecified>)

Okay, now let's log in to see if (guix config) is realy not a module in
the profile.

ng0@mithlond_shadownet ~$ guile
GNU Guile 2.0.13
Copyright (C) 1995-2016 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (use-modules (guix config))
scheme@(guile-user)> (quit)



so far so good, no errors when loading it. So let's run this guile -c by
ssh command:

ng0@wasp ~> ssh foo.local guile -c "'(use-modules (guix config))'"
ng0@foo.local's password: 
Backtrace:
In ice-9/boot-9.scm:
 160: 15 [catch #t #<catch-closure 235bbc0> ...]
In unknown file:
   ?: 14 [apply-smob/1 #<catch-closure 235bbc0>]
In ice-9/boot-9.scm:
  66: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 12 [eval # #]
In unknown file:
   ?: 11 [call-with-input-string "(use-modules (guix config))" ...]
In ice-9/command-line.scm:
 181: 10 [#<procedure 236f600 at ice-9/command-line.scm:176:6 (port)> #<input: string 21485b0>]
In unknown file:
   ?: 9 [eval (use-modules (guix config)) #<directory (guile-user) 2348bd0>]
In ice-9/eval.scm:
 505: 8 [#<procedure 222b480 at ice-9/eval.scm:499:4 (exp)> (use-modules #)]
In ice-9/psyntax.scm:
1106: 7 [expand-top-sequence ((use-modules (guix config))) () ...]
 989: 6 [scan ((use-modules (guix config))) () ...]
 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3589: 4 [process-use-modules (((guix config)))]
 705: 3 [map #<procedure 22ec3a0 at ice-9/boot-9.scm:3589:25 (mif-args)> ((#))]
3590: 2 [#<procedure 22ec3a0 at ice-9/boot-9.scm:3589:25 (mif-args)> (#)]
2870: 1 [resolve-interface (guix config) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (guix config)) #f]

ERROR: In procedure scm-error:
ERROR: no code for module (guix config)



The offload/build machine has: guile in its profile and has every other
requirement the offloading section of the documentation wanted.
I'm currently turning it into an local bayfront/hydra copy, but the
error existed before I started this.

So, what's wrong here? Any clues, any more info you need?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-25 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-25 22:39 problems with offloading ng0

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).