From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix offloading fails to register GC root Date: Mon, 20 Jun 2016 09:15:36 +0200 Message-ID: <87r3bs8h5z.fsf@gnu.org> References: 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]:55457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEtQs-00086R-OK for help-guix@gnu.org; Mon, 20 Jun 2016 03:15:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEtQp-00067C-HU for help-guix@gnu.org; Mon, 20 Jun 2016 03:15:42 -0400 In-Reply-To: (Ethan J.'s message of "Mon, 20 Jun 2016 02:22:46 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ethan J Cc: help-guix@gnu.org Hi, Ethan J skribis: > I was trying to use the guix offloading capability to offloading building > of packages from my laptop to a more power server. After fighting with lsh > to get ssh working [1], I ran into this error while running guix build -i > hello http://paste.lisp.org/display/318673 This: --8<---------------cut here---------------start------------->8--- ERROR: In procedure scm-error: ERROR: no code for module (guix config) --8<---------------cut here---------------end--------------->8--- =E2=80=A6 indicates that the Guix modules are not in =E2=80=98GUILE_LOAD_PA= TH=E2=80=99 on the build machine. The manual hints at it, though I admit it leaves sorting out the details as an exercise to the user (see ): The =E2=80=98guix=E2=80=99 command must be in the search path on the b= uild machines, since offloading works by invoking the =E2=80=98guix archive=E2=80=99 and= =E2=80=98guix build=E2=80=99 commands. In addition, the Guix modules must be in =E2=80=98$GUILE_LOAD_= PATH=E2=80=99 on the build machine=E2=80=94you can check whether this is the case by ru= nning: lsh build-machine guile -c "'(use-modules (guix config))'" Could you check ~/.bash_profile or ~/.profile on the target machine and make sure that it sets =E2=80=98GUILE_LOAD_PATH=E2=80=99 and =E2=80=98GUILE= _LOAD_COMPILED_PATH=E2=80=99 appropriately? HTH, Ludo=E2=80=99.