From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik Salomonsson Subject: build failed: unexpected EOF reading a line Date: Sun, 10 Sep 2017 21:25:21 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="94eb2c0325a6d97faa0558e25133" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drGI7-0006u1-FZ for help-guix@gnu.org; Mon, 11 Sep 2017 00:25:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drGI5-0004Ar-R6 for help-guix@gnu.org; Mon, 11 Sep 2017 00:25:47 -0400 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:36444) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drGI5-00048o-JV for help-guix@gnu.org; Mon, 11 Sep 2017 00:25:45 -0400 Received: by mail-qt0-x22d.google.com with SMTP id s18so14979818qta.3 for ; Sun, 10 Sep 2017 21:25:43 -0700 (PDT) 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: help-guix --94eb2c0325a6d97faa0558e25133 Content-Type: multipart/alternative; boundary="94eb2c0325a6d97fa70558e25131" --94eb2c0325a6d97fa70558e25131 Content-Type: text/plain; charset="UTF-8" Hi all, I'm having issues using guix build. I'm suspecting some misconfiguration on my end. Since there are some stuff missing in guix that I use (i3blocks for example) I thought I could try and create package definitions from them. I haven't got my GuixSD working yet so I'm using guix running on Arch Linux. I thought that it might be something wrong with my recipe I was writing. So I tested to build the GNU Hello package from the manual (Defining Packages ). I copied it into a file called gnu/packages/hello.scm After that I ran "guix build -L$(pwd) hello". But I'm getting these errors: > guix: offload: command not found > Try `guix --help' for more information. > guix build: error: build failed: unexpected EOF reading a line > Not sure why it complains about missing offload command. I haven't setup it up but when running "guix offload test" it prints out: > guix offload: testing 0 build machines defined in > '/etc/guix/machines.scm'... > But that's not what's blocking my, instead it's the EOF error. My first thought was that I must have missed a newline after the (define-public hello ...). Turns out that wasn't the case. Any idea what I have missed? I'm still a complete noob when it comes to guile so I'm not sure how to debug/trace the error. I've attached the hello.scm Thanks. -- s/Fred[re]+i[ck]+/Fredrik/g --94eb2c0325a6d97fa70558e25131 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I'= m having issues using guix build. I'm suspecting some misconfiguration = on my end.

Since there are some stuff missing in guix tha= t I use=20 (i3blocks for example) I thought I could try and create package=20 definitions from them. I haven't got my GuixSD working yet so I'm u= sing=20 guix running on Arch Linux.

I thought that it mig= ht be something wrong with my recipe I was writing. So I tested to build th= e GNU Hello package from the manual (Defining = Packages). I copied it into a file called gnu/packages/hello.scm
After that I ran "guix build -L$(pwd) hello".
But I&#= 39;m getting these errors:
guix: offload: command not found
Try `guix --help' for mo= re information.
guix build: error: build failed: unexpected EOF reading = a line

Not sure why it complains = about missing offload command. I haven't setup it up but when running &= quot;guix offload test" it prints out:=C2=A0
=
guix offload: testing 0 build machines defined in '/etc/guix= /machines.scm'...

But that's no= t what's blocking my, instead it's the EOF error.
My first= thought was that I must have missed a newline after the (define-public hel= lo ...). Turns out that wasn't the case. Any idea what I have missed? I= 'm still a complete noob when it comes to guile so I'm not sure how= to debug/trace the error.

I've attached = the hello.scm

Thanks.

--
s/Fred[re]+i[ck]+/= Fredrik/g
--94eb2c0325a6d97fa70558e25131-- --94eb2c0325a6d97faa0558e25133 Content-Type: text/x-scheme; charset="US-ASCII"; name="hello.scm" Content-Disposition: attachment; filename="hello.scm" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j7flnnjv0 KGRlZmluZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBoZWxsbykKICAjOnVzZS1tb2R1bGUgKGd1aXgg cGFja2FnZXMpCiAgIzp1c2UtbW9kdWxlIChndWl4IGRvd25sb2FkKQogICM6dXNlLW1vZHVsZSAo Z3VpeCBidWlsZC1zeXN0ZW0gZ251KQogICM6dXNlLW1vZHVsZSAoZ3VpeCBsaWNlbnNlcykKICAj OnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBnYXdrKSkKCihkZWZpbmUtcHVibGljIGhlbGxvCiAg KHBhY2thZ2UKICAgIChuYW1lICJoZWxsbyIpCiAgICAodmVyc2lvbiAiMi4xMCIpCiAgICAoc291 cmNlIChvcmlnaW4KICAgICAgICAgICAgICAobWV0aG9kIHVybC1mZXRjaCkKICAgICAgICAgICAg ICAodXJpIChzdHJpbmctYXBwZW5kICJtaXJyb3I6Ly9nbnUvaGVsbG8vaGVsbG8tIiB2ZXJzaW9u CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiLnRhci5neiIpKQogICAgICAgICAg ICAgIChzaGEyNTYKICAgICAgICAgICAgICAgKGJhc2UzMgogICAgICAgICAgICAgICAgIjBzc2kx d3BhZjdwbGFzd3FxandpZ3Bwc2c1ZnloOTl2ZGxiOWt6bDdjOWxuZzg5bmRxMWkiKSkpKQogICAg KGJ1aWxkLXN5c3RlbSBnbnUtYnVpbGQtc3lzdGVtKQogICAgKGFyZ3VtZW50cyAnKCM6Y29uZmln dXJlLWZsYWdzICcoIi0tZW5hYmxlLXNpbGVudC1ydWxlcyIpKSkKICAgIChpbnB1dHMgYCgoImdh d2siICxnYXdrKSkpCiAgICAoc3lub3BzaXMgIkhlbGxvLCBHTlUgd29ybGQ6IEFuIGV4YW1wbGUg R05VIHBhY2thZ2UiKQogICAgKGRlc2NyaXB0aW9uICJHdWVzcyB3aGF0IEdOVSBIZWxsbyBwcmlu dHMhIikKICAgIChob21lLXBhZ2UgImh0dHA6Ly93d3cuZ251Lm9yZy9zb2Z0d2FyZS9oZWxsby8i KQogICAgKGxpY2Vuc2UgZ3BsMyspKSkKCjs7OyBoZWxsbyBlbmRzIGhlcmUK --94eb2c0325a6d97faa0558e25133--