all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: guix-devel@gnu.org
Subject: Re: offloading trouble on GuixSD->Debian
Date: Sat, 24 Feb 2018 23:41:35 +0100	[thread overview]
Message-ID: <878tbiovs0.fsf@gmail.com> (raw)
In-Reply-To: <20180224213734.lmfynnkhvgpqadqx@abyayala> (ng0@crash.cx's message of "Sat, 24 Feb 2018 21:37:34 +0000")

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

ng0 <ng0@crash.cx> writes:

> user@abyayala ~$ guix offload test
> guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'...
> guix offload: 'yt' is running guile (GNU Guile) 2.2.3
> offload: error: Guile modules not found on remote host 'yt'
> hint: Make sure `GUILE_LOAD_PATH' includes Guix' own module directory.  Run
> `ssh yt env | grep GUILE_LOAD_PATH' to check.
>
> On the serer itself, the Guix modules are in the path.
> Guile-ssh, guile, and guile-readline are installed in the profile of the
> offloading user on the build node.
> guix pull has been run at least once for the user profile.
> 
> ...
>
> I have experimented with the content of files and what is exported.
>
> ssh yt env | grep GUILE_
> GUILE_LOAD_COMPILED_PATH=/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-profile/lib/guile/2.2/site-ccache:/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-profile/share/guile/site/2.2
> GUILE_LOAD_PATH=/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-profile/share/guile/site/2.2

Are the Guix modules actually present at those paths in
"/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-profile"?  You can find out
by running this command on the Debian host:

find -L /gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-profile -name guix

If they aren't present, then according to the "guix offload" hint,
you'll need to add the Guix modules to it.  One way to accomplish that
might be to add either the system installation or the build user's
installation of Guix (the latter should be at ~/.config/guix/latest) to
the GUILE_LOAD_PATH in your build user's ~/.bashrc on the Debian host.
Another way might be to run "guix package -i guix" as the build user on
the Debian host.

Hope that helps!  Good luck.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2018-02-24 22:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-24 21:37 offloading trouble on GuixSD->Debian ng0
2018-02-24 21:52 ` Marius Bakke
2018-02-24 21:57   ` ng0
2018-02-25 10:35     ` Ricardo Wurmus
2018-02-25 11:16       ` ng0
2018-02-24 22:41 ` Chris Marusich [this message]
2018-02-24 22:53   ` ng0
2018-02-25 23:40     ` Chris Marusich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tbiovs0.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.