help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failed: unexpected EOF reading a line


From: Ludovic Courtès
Subject: Re: build failed: unexpected EOF reading a line
Date: Tue, 12 Sep 2017 09:48:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi Fredrik,

(You forgot to Cc the list.)

Fredrik Salomonsson <address@hidden> skribis:

>  How did you set up guix-daemon?
>
>  Behind the scenes, guix-daemon invokes the internal ‘guix offload’
>  command. That command requires Guile-SSH¹. 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 “offload: command not found” 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=GUILE_LOAD_PATH=/root/.guix-profile/share/guile/site/2.2
> Environment=GUILE_LOAD_COMPILED_PATH=/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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]