[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: offloading trouble on GuixSD->Debian
From: |
Chris Marusich |
Subject: |
Re: offloading trouble on GuixSD->Debian |
Date: |
Sat, 24 Feb 2018 23:41:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
ng0 <address@hidden> writes:
> address@hidden ~$ 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
signature.asc
Description: PGP signature