From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: build failed: unexpected EOF reading a line Date: Tue, 12 Sep 2017 09:48:25 +0200 Message-ID: <87y3pk1ho6.fsf@gnu.org> References: <87wp55d6cs.fsf@gnu.org> 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]:46930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drfvt-0007fQ-BO for help-guix@gnu.org; Tue, 12 Sep 2017 03:48:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drfvo-0002SU-GB for help-guix@gnu.org; Tue, 12 Sep 2017 03:48:33 -0400 In-Reply-To: (Fredrik Salomonsson's message of "Mon, 11 Sep 2017 13:20:43 -0700") 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: Fredrik Salomonsson Cc: help-guix 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 offloa= d=E2=80=99 > command. That command requires Guile-SSH=C2=B9. In your case, it looks l= ike > 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 sys= temd unit guix-daemon.service. > > Turns out that the systemd unit doesn't setup the path to the GUILE_LOAD_= PATH.=20 > > 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=20 > systemctl daemon-reload > systemctl restart guix-daemon > > Not sure if the last steps are needed, but you can never be too careful w= hen 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.