From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: offloading trouble on GuixSD->Debian Date: Sat, 24 Feb 2018 22:53:16 +0000 Message-ID: <20180224225316.ojocbdmf2u4fvxxt@abyayala> References: <20180224213734.lmfynnkhvgpqadqx@abyayala> <878tbiovs0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rknzcb3dtzpjcu2o" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epih0-0004oM-3c for guix-devel@gnu.org; Sat, 24 Feb 2018 17:53:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epigx-0001d8-1E for guix-devel@gnu.org; Sat, 24 Feb 2018 17:53:22 -0500 Received: from aibo.runbox.com ([91.220.196.211]:40624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epigw-0001Zx-PH for guix-devel@gnu.org; Sat, 24 Feb 2018 17:53:18 -0500 Content-Disposition: inline In-Reply-To: <878tbiovs0.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org --rknzcb3dtzpjcu2o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Chris Marusich transcribed 2.7K bytes: > ng0 writes: >=20 > > user@abyayala ~$ guix offload test > > guix offload: testing 1 build machines defined in '/etc/guix/machines.s= cm'... > > 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. > >=20 > > ... > > > > I have experimented with the content of files and what is exported. > > > > ssh yt env | grep GUILE_ > > GUILE_LOAD_COMPILED_PATH=3D/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-= profile/lib/guile/2.2/site-ccache:/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m= 0p-profile/share/guile/site/2.2 > > GUILE_LOAD_PATH=3D/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-profile/s= hare/guile/site/2.2 >=20 > 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: >=20 > 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. >=20 > --=20 > Chris --=20 ng0 :: https://n0.is | https://crash.cx A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --rknzcb3dtzpjcu2o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqR7NwACgkQ4i+bv+40 hYj3eQ//fos3S10oN86fUq01RozBXeOAhBjXu1lzJDZqSzIjzlDg7Oj/LteEaVRV avrnL9X6SLDApNnVDRBgm5RIzHCYUtVb9EQt1w0z0TsfjIZimJiJMML2TD0oTkfN CDluBdYDmFcLUPRbdk+F3pbAWhPqegWycVjufPR/Dowx7bzGwZjLjE/iZhc3v20a IIAgFqLHhJFchFUuS6UqQyZ8W16sLgxJUIRVsTy1F7V9KvLpR3zJE1Bi83OLP6z6 RAC4eddlGF04tl5guEXGu2BYGERKMT8yUI/0s5jXD+NChIvip8jsUhMcpkskBKJU NDg4d7gMzGRk8AmAYOrcLSQ5zawL2idy7/9lGxhPDekrTME/M8AOuQ6mYphvh6kX pJ54HL50Om0c3ywAafqtj0eE2f3E9sYLXTPo55paRBPAKVERf/JZGYWXiUkRg9oc NmanIPOkpGgr2936SGNvhXhYL5+tbvtnH6VWCemGihEZes83trmIeEF6O8aApOBF y1rAc+VWBZt/cQHa658Nen8is6+OjQwqkqDWC0D8CcluI2lvt5FaW1dp+dfr1kHR Ty6mp+EfOOrZFaDwAZ5mltlHoORlkTzwerVeTl134S3ttOhGilwvax/3LKrLDNOf VnAoTqgbKyftD1o4UTsW4o8/hN8pDIv1xOAn3MlwXjB6Hp/p1k8= =SrHz -----END PGP SIGNATURE----- --rknzcb3dtzpjcu2o--