From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik Salomonsson Subject: Re: build failed: unexpected EOF reading a line Date: Tue, 12 Sep 2017 22:19:41 -0700 Message-ID: References: <87wp55d6cs.fsf@gnu.org> <87y3pk1ho6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114a6f4ccdfb8b05590b4fb1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds05n-0000rH-5W for help-guix@gnu.org; Wed, 13 Sep 2017 01:20:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ds05l-00065Q-Rk for help-guix@gnu.org; Wed, 13 Sep 2017 01:20:07 -0400 In-Reply-To: <87y3pk1ho6.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 --001a114a6f4ccdfb8b05590b4fb1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > (You forgot to Cc the list.) Thanks Ludovic. Perhaps you should report the issue in AUR so that they can add these > lines to the .service file by default. Wrote a comment about it on the AUR. See if it gets added. Anyway thanks again for your help. 2017-09-12 0:48 GMT-07:00 Ludovic Court=C3=A8s : > Hi Fredrik, > > (You forgot to Cc the list.) > > Fredrik Salomonsson skribis: > > > How did you set up guix-daemon? > > > > Behind the scenes, guix-daemon invokes the internal =E2=80=98guix offl= oad=E2=80=99 > > command. That command requires Guile-SSH=C2=B9. In your case, it looks= like > > Guile-SSH was found at configure-time when building Guix, but is now > > missing at run time, hence this =E2=80=9Coffload: command not found=E2= =80=9D error. > > > > Could you make sure the GUILE_LOAD_PATH environment variable seen by > > guix-daemon points to Guile-SSH? > > > > I set it up as described here https://wiki.archlinux.org/index.php/Guix > i.e. installed the AUR package, created the build users and launched the > systemd unit guix-daemon.service. > > > > Turns out that the systemd unit doesn't setup the path to the > GUILE_LOAD_PATH. > > > > Ran "systemctl edit guix-daemon" and added > > > > [Service] > > Environment=3DGUILE_LOAD_PATH=3D/root/.guix-profile/share/guile/site/2.= 2 > > Environment=3DGUILE_LOAD_COMPILED_PATH=3D/root/.guix-profile/lib/guile/= 2.2 > > > > then > > systemctl daemon-reload > > systemctl restart guix-daemon > > > > Not sure if the last steps are needed, but you can never be too careful > when it comes to systemd. > > > > Anway that fixed it and I can now compile GNU hello. > > Awesome. > > Perhaps you should report the issue in AUR so that they can add these > lines to the .service file by default. > > Thanks for your feedback, > Ludo=E2=80=99. > --=20 s/Fred[re]+i[ck]+/Fredrik/g --001a114a6f4ccdfb8b05590b4fb1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(You for= got to Cc the list.)
Thanks Ludovic.=C2=A0

Perhaps you should report the issue i= n AUR so that they can add these
lines to the .service file by default.<= /blockquote>
=C2=A0
Wrote a comment about it on the AUR. See = if it gets added.

Anyway thanks again for yo= ur help.

2017-09-12 0:48 GMT-07:00 Ludovic Court=C3=A8s <ludo@gnu.org>:=
Hi Fredrik,

(You forgot to Cc the list.)

Fredrik Salomonsson <plattfot@gmai= l.com> skribis:

>=C2=A0 How did you set up guix-daemon?
>
>=C2=A0 Behind the scenes, guix-daemon invokes the internal =E2=80=98gui= x offload=E2=80=99
>=C2=A0 command. That command requires Guile-SSH=C2=B9. In your case, it= looks like
>=C2=A0 Guile-SSH was found at configure-time when building Guix, but is= now
>=C2=A0 missing at run time, hence this =E2=80=9Coffload: command not fo= und=E2=80=9D error.
>
>=C2=A0 Could you make sure the GUILE_LOAD_PATH environment variable see= n by
>=C2=A0 guix-daemon points to Guile-SSH?
>
> I set it up as described here https://wiki.archlinux.o= rg/index.php/Guix i.e. installed the AUR package, created the buil= d users and launched the systemd unit guix-daemon.service.
>
> Turns out that the systemd unit doesn't setup the path to the GUIL= E_LOAD_PATH.
>
> Ran "systemctl edit guix-daemon" and added
>
> [Service]
> Environment=3DGUILE_LOAD_PATH=3D/root/.guix-profile/share/gu= ile/site/2.2
> Environment=3DGUILE_LOAD_COMPILED_PATH=3D/root/.guix-profile= /lib/guile/2.2
>
> then
> systemctl daemon-reload
> systemctl restart guix-daemon
>
> Not sure if the last steps are needed, but you can never be too carefu= l when it comes to systemd.
>
> Anway that fixed it and I can now compile GNU hello.

Awesome.

Perhaps you should report the issue in AUR so that they can add these
lines to the .service file by default.

Thanks for your feedback,
Ludo=E2=80=99.



--
s/= Fred[re]+i[ck]+/Fredrik/g
--001a114a6f4ccdfb8b05590b4fb1--