From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ethan J Subject: Re: guix offloading fails to register GC root Date: Mon, 20 Jun 2016 21:01:10 +0000 Message-ID: References: <87r3bs8h5z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ff43e9374770535bc01ad Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF6Jx-0005dw-B9 for help-guix@gnu.org; Mon, 20 Jun 2016 17:01:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF6Jv-0004Cf-6y for help-guix@gnu.org; Mon, 20 Jun 2016 17:01:24 -0400 In-Reply-To: <87r3bs8h5z.fsf@gnu.org> 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: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: help-guix@gnu.org --001a113ff43e9374770535bc01ad Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah, I see. I'll fix that then. Thanks, Ethan. On Mon, Jun 20, 2016 at 3:15 AM Ludovic Court=C3=A8s wrote: > Hi, > > Ethan J skribis: > > > I was trying to use the guix offloading capability to offloading buildi= ng > > 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_= PATH=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 > < > https://www.gnu.org/software/guix/manual/html_node/Daemon-Offload-Setup.h= tml > >): > > The =E2=80=98guix=E2=80=99 command must be in the search path on the= build machines, > since offloading works by invoking the =E2=80=98guix archive=E2=80=99 a= nd =E2=80=98guix build=E2=80=99 > commands. In addition, the Guix modules must be in =E2=80=98$GUILE_LOA= D_PATH=E2=80=99 > on the build machine=E2=80=94you can check whether this is the case by = running: > > 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=98GUI= LE_LOAD_COMPILED_PATH=E2=80=99 > appropriately? > > HTH, > Ludo=E2=80=99. > --001a113ff43e9374770535bc01ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ah, I see. I'll fix that then.

= Thanks,
Ethan.

On Mon, Jun 20, 2016 at 3:15 AM Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
Hi,

Ethan J <doubleplusgood23@gmail.com> skribis:

> I was trying to use the guix offloading capability to offloading build= ing
> 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.=C2=A0 The manual hints at it, though I admit it leaves sorti= ng
out the details as an exercise to the user (see
<https://www.gnu.org/= software/guix/manual/html_node/Daemon-Offload-Setup.html>):

=C2=A0 =C2=A0 =C2=A0The =E2=80=98guix=E2=80=99 command must be in the searc= h path on the build machines,
=C2=A0 since offloading works by invoking the =E2=80=98guix archive=E2=80= =99 and =E2=80=98guix build=E2=80=99
=C2=A0 commands.=C2=A0 In addition, the Guix modules must be in =E2=80=98$G= UILE_LOAD_PATH=E2=80=99
=C2=A0 on the build machine=E2=80=94you can check whether this is the case = by running:

=C2=A0 =C2=A0 =C2=A0 =C2=A0lsh build-machine guile -c "'(use-modul= es (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.
--001a113ff43e9374770535bc01ad--