From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ethan J Subject: Re: guix offloading fails to register GC root Date: Tue, 21 Jun 2016 02:52:42 +0000 Message-ID: References: <87r3bs8h5z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f6798c48c560535c0ea54 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFBoA-0007nW-NB for help-guix@gnu.org; Mon, 20 Jun 2016 22:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFBo8-0003WW-FG for help-guix@gnu.org; Mon, 20 Jun 2016 22:52:57 -0400 In-Reply-To: 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 --001a113f6798c48c560535c0ea54 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yup everything seems to works, sans the random 404 errors. Thanks again, Ethan On Mon, Jun 20, 2016 at 5:01 PM Ethan J wrote: > 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 >> 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= _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.= html >> >): >> >> The =E2=80=98guix=E2=80=99 command must be in the search path on th= e build 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_LO= AD_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=98GU= ILE_LOAD_COMPILED_PATH=E2=80=99 >> appropriately? >> >> HTH, >> Ludo=E2=80=99. >> > --001a113f6798c48c560535c0ea54 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yup everything seems to works, sans the random 4= 04 errors.

Thanks again,
Ethan

On Mon, Jun 20, 2016 at 5:01 PM Ethan J = <doubleplusgood23@gmail.co= m> wrote:
<= div>
Ah, I see. I'll fix that then.

Thanks,
E= than.

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.
--001a113f6798c48c560535c0ea54--