[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: offloading trouble on GuixSD->Debian
From: |
ng0 |
Subject: |
Re: offloading trouble on GuixSD->Debian |
Date: |
Sat, 24 Feb 2018 22:53:16 +0000 |
Chris Marusich transcribed 2.7K bytes:
> 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
indeed, this returned an empty result.
> 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.
None of the above worked,
> Another way might be to run "guix package -i guix" as the build user on
> the Debian host.
but this did. Too bad, I wanted avoid installing guix into the profile.
> Hope that helps! Good luck.
>
> --
> Chris
--
ng0 :: https://n0.is | https://crash.cx
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
signature.asc
Description: PGP signature