From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: offloading trouble on GuixSD->Debian Date: Sat, 24 Feb 2018 23:41:35 +0100 Message-ID: <878tbiovs0.fsf@gmail.com> References: <20180224213734.lmfynnkhvgpqadqx@abyayala> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epiVl-0002Lk-MJ for guix-devel@gnu.org; Sat, 24 Feb 2018 17:41:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epiVi-0007ld-EF for guix-devel@gnu.org; Sat, 24 Feb 2018 17:41:45 -0500 Received: from mail-pg0-x22b.google.com ([2607:f8b0:400e:c05::22b]:34715) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epiVi-0007kk-7K for guix-devel@gnu.org; Sat, 24 Feb 2018 17:41:42 -0500 Received: by mail-pg0-x22b.google.com with SMTP id m19so4757753pgn.1 for ; Sat, 24 Feb 2018 14:41:42 -0800 (PST) Received: from garuda.local (c-24-18-253-84.hsd1.wa.comcast.net. [24.18.253.84]) by smtp.gmail.com with ESMTPSA id l10sm11411669pfc.133.2018.02.24.14.41.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 24 Feb 2018 14:41:39 -0800 (PST) In-Reply-To: <20180224213734.lmfynnkhvgpqadqx@abyayala> (ng0@crash.cx's message of "Sat, 24 Feb 2018 21:37:34 +0000") 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: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ng0 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. R= un > `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-pr= ofile/lib/guile/2.2/site-ccache:/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p= -profile/share/guile/site/2.2 > GUILE_LOAD_PATH=3D/gnu/store/63p2z4sx3j6y8xs4sff423fl12qh1m0p-profile/sha= re/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. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlqR6h8ACgkQ3UCaFdgi Rp1IXw//cvPjo6QqEZVPo7ThXBgX751Ep4VLREOXQvMy8nyljsPaMpbQULpE6Z/6 ACd57eF3R6Cm70pZrcUnBLMysn7njAWRYWwN0iV2DLdiOt1YRfBNFaMZoI86XznT PlfQa0ivyEPx2ymobo3EZ8hJpmakYKQvirsXm6ucfT2EOL4bZDYc7jaLR5x7yNR/ /Huwo3wiabMcdhJkbl6DPZJDqsYv/zh1MFMdC0zIumsayAhgfJNf604Wom29cFnH OTllY9/Io5V7bJiOFxIsR/cUMvVH53QE8oKy9foAmNiApGos4b3a/1HIx1K1vFXA 31kWijZQCEw34XoJyFpz0wPQIQywI7lXVPGbGeL0kVEM72tSesl1Dalg1El2FyTx 4FnVlnfiYHzkZgfP3/+2fVRfqpTjn1KJs7w8JWwdVRTyyNpA5sKZ3GJmY4nPT8q8 CT07nIcTJW3QOxLIE196GLumPu7/4GbuULdr29IhbJzczF29IZyGC83aEIWVKXwD o2wHHJb0s1PZyI8G5Gjf/zsQMrDi3D9wPqAL8xxhUk3hBQQ/LkDOtigQaRYmaGP4 WKe5tHD0o6zRxfk6C0U4CcZoCDgvqlSirqWmSmrIn5yXYz8IrAj2dz9iH1aaYJQL IvdvSTMXip3tEB8lWof9FxNFAMAo58WagFMVXogh316PPgQ1290= =aGsP -----END PGP SIGNATURE----- --=-=-=--