From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: offloading trouble on GuixSD->Debian Date: Sun, 25 Feb 2018 11:35:20 +0100 Message-ID: <87o9kdpdav.fsf@elephly.net> References: <20180224213734.lmfynnkhvgpqadqx@abyayala> <87h8q68397.fsf@fastmail.com> <20180224215715.ldzevt7t7lfe6zh6@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epvJ2-0007mM-Hj for guix-devel@gnu.org; Sun, 25 Feb 2018 07:21:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epvIz-0006M2-Bj for guix-devel@gnu.org; Sun, 25 Feb 2018 07:21:28 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1epvIz-0006Hm-19 for guix-devel@gnu.org; Sun, 25 Feb 2018 07:21:25 -0500 In-reply-to: <20180224215715.ldzevt7t7lfe6zh6@abyayala> 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: ng0 Cc: guix-devel@gnu.org ng0 writes: > Marius Bakke transcribed 1.4K bytes: >> ng0 writes: >>=20 >> > Hi, >> > >> > I have run into yet another familar(?) problem with offloading. >> > >> > My build host for the first time is Debian, so instead of GuixSD maste= r offloading >> > to an GuixSD build node I'm offloading from GuixSD master to an Debian= build >> > node. >> > This is a minimal, basic Debian install in the Hetzner cloud. >> > >> > I've come as far as: >> > >> > 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. >>=20 >> The "guix" package must be available on GUILE_LOAD_PATH. >>=20 >> Does 'guile -c "(use-modules (guix))"' work for the offloading user? > > As I've written, yes, locally it works (guix is available when I log in v= ia ssh and > execute the command for guile to use the module). via remote non-interact= ive shell > it doesn't. You may want to set GUILE_LOAD_PATH and GUILE_COMPILED_LOAD_PATH in /etc/environment on the target machine. Also make sure to kill the Guile process that listens on the target machine after making changes to the environment or else they won=E2=80=99t = have any effect. --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net