unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Fredrik Salomonsson <plattfot@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: build failed: unexpected EOF reading a line
Date: Tue, 12 Sep 2017 09:48:25 +0200	[thread overview]
Message-ID: <87y3pk1ho6.fsf@gnu.org> (raw)
In-Reply-To: <CABZcOARq30BijDzrJRp1Z3izwaN4b2f5Z5ifSTrQ=0D3SByWfQ@mail.gmail.com> (Fredrik Salomonsson's message of "Mon, 11 Sep 2017 13:20:43 -0700")

Hi Fredrik,

(You forgot to Cc the list.)

Fredrik Salomonsson <plattfot@gmail.com> 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’.

  parent reply	other threads:[~2017-09-12  7:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11  4:25 build failed: unexpected EOF reading a line Fredrik Salomonsson
2017-09-11  7:47 ` Ludovic Courtès
     [not found]   ` <CABZcOARq30BijDzrJRp1Z3izwaN4b2f5Z5ifSTrQ=0D3SByWfQ@mail.gmail.com>
2017-09-12  7:48     ` Ludovic Courtès [this message]
2017-09-13  5:19       ` Fredrik Salomonsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3pk1ho6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=plattfot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).