From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Djurfeldt Subject: bug#40125: Problem with guix offload: Remote channel closed Date: Sun, 22 Mar 2020 23:14:56 +0100 Message-ID: References: <87eetl1zce.fsf@gnu.org> <87pnd5wdyq.fsf@gnu.org> <8736a0uni2.fsf@gnu.org> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fcbfb105a178d96f" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49012) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG8t2-0003Ur-Sb for bug-guix@gnu.org; Sun, 22 Mar 2020 18:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jG8t1-0006Ad-FA for bug-guix@gnu.org; Sun, 22 Mar 2020 18:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45135) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jG8t0-0006AX-17 for bug-guix@gnu.org; Sun, 22 Mar 2020 18:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jG8sz-0008Eh-To for bug-guix@gnu.org; Sun, 22 Mar 2020 18:16:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40125@debbugs.gnu.org --000000000000fcbfb105a178d96f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 22, 2020 at 11:13 PM Mikael Djurfeldt wrote: > On Sun, Mar 22, 2020 at 10:56 PM Mikael Djurfeldt > wrote: > >> On Sun, Mar 22, 2020 at 10:40 PM Mikael Djurfeldt >> wrote: >> >>> On Sun, Mar 22, 2020 at 9:46 PM Ludovic Court=C3=A8s wro= te: >>> >>>> Mikael Djurfeldt skribis: >>>> >>>> We=E2=80=99re missing a tiny bit. :-) Could you run strace with =E2= =80=98-s 3000=E2=80=99 or >>>> similar so that it doesn=E2=80=99t truncate it? >>>> >>>> (The =E2=80=9Cstrange characters=E2=80=9D are Unicode HORIZONTAL ELLIP= SIS.) >>>> >>> >>> Ah... :) >>> >>> Here's a larger chunk of backtrace: >>> >>> 19530 read(20, "Backtrace:\n 13 (apply-smob/1 #>> 563a9e2f92a0>)\nIn ice-9/boot-9.scm:\n 718:2 12 (call-with-prompt >>> (\"prompt\") # \342\200\246)\nIn >>> ice-9/eval.scm:\n 619:8 11 (_ #(#(#>> 563a9e39a750>)))\nIn ice-9/command-line.scm:\n 181:18 10 (_ #>> string 563a9e3a8bd0>)\nIn unknown file:\n 9 (eval (begin >>> (use-modules (guix) (srfi srfi-34) # #) \342\200\246) #)\nIn >>> ice-9/eval.scm:\n 721:20 8 (primitive-eval (begin (use-modules (guix= ) >>> (srfi \342\200\246) \342\200\246) \342\200\246))\nIn ice-9/psyntax.scm:= \n >>> 1241:36 7 (expand-top-sequence ((begin (use-modules (guix) \342\200\2= 46) >>> \342\200\246)) \342\200\246)\n 1194:19 6 (parse _ ((\"placeholder\" >>> placeholder)) ((top) #(# # \342\200\246)) \342\200\246)\n 1233:19 5 >>> (parse _ ((\"placeholder\" placeholder)) ((top) #(# # \342\200\246)) >>> \342\200\246)\n 285:10 4 (parse _ ((\"placeholder\" placeholder)) ((= )) _ >>> c&e (eval) \342\200\246)\nIn ice-9/boot-9.scm:\n 3389:20 3 >>> (process-use-modules _)\n 222:17 2 (map1 (((guix)) ((srfi srfi-34)) >>> ((rnrs io ports)) (#)))\n 3390:31 1 (_ ((guix)))\n 2809:6 0 >>> (resolve-interface (guix) #:select _ #:hide _ #:prefix _ >>> \342\200\246)\n\nice-9/boot-9.scm:2809:6: In procedure >>> resolve-interface:\nno code for module (guix)\n", 16384) =3D 1150 >>> >> >> I think I understand part of the problem. It's not guix guile which is >> invoked on wand but the guile which I have installed under /usr/local. B= ut >> why is this? guix as well as guile-ssh is installed at wand. >> > > Which guile is it supposed to use? Which version and which "fusion of > modules"? And how are these supposed to be found on the build machine. > Looking in the strace, it seems like a bash shell with "guile -c" is > started without any path information. > > (Not sure that I even ask the right questions.) > The PATH of the build machine user is: /home/guix/.guix-profile/bin:/home/guix/.config/guix/current/bin:/usr/local= /bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/jvm/java-8-oracle/b= in:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/op= t/thinlinc/bin --000000000000fcbfb105a178d96f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Mar 22, 2020 at 11:13 PM Mikael D= jurfeldt <mikael@djurfeldt.com> wrote:
On Sun, Mar 22, 2020 at 10:40 PM Mikael Djurfeld= t <mikael@djur= feldt.com> wrote:
On Su= n, Mar 22, 2020 at 9:46 PM Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
Mikael Djurfeldt <mikael@djurfeldt.com> skribis:

We=E2=80=99re missing a tiny bit.=C2=A0 :-)=C2=A0 Could you run strace with= =E2=80=98-s 3000=E2=80=99 or
similar so that it doesn=E2=80=99t truncate it?

(The =E2=80=9Cstrange characters=E2=80=9D are Unicode HORIZONTAL ELLIPSIS.)=

Ah... :)

Here= 's a larger chunk of backtrace:

19530 read(20,= "Backtrace:\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A013 (apply-smob/1 #<= ;catch-closure 563a9e2f92a0>)\nIn ice-9/boot-9.scm:\n =C2=A0 =C2=A0718:2= 12 (call-with-prompt (\"prompt\") #<procedure 563a9e3167e0 \3= 42\200\246> \342\200\246)\nIn ice-9/eval.scm:\n =C2=A0 =C2=A0619:8 11 (_= #(#(#<directory (guile-user) 563a9e39a750>)))\nIn ice-9/command-line= .scm:\n =C2=A0 181:18 10 (_ #<input: string 563a9e3a8bd0>)\nIn unknow= n file:\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 9 (eval (begin (use-modules (g= uix) (srfi srfi-34) # #) \342\200\246) #)\nIn ice-9/eval.scm:\n =C2=A0 721:= 20 =C2=A08 (primitive-eval (begin (use-modules (guix) (srfi \342\200\246) \= 342\200\246) \342\200\246))\nIn ice-9/psyntax.scm:\n =C2=A01241:36 =C2=A07 = (expand-top-sequence ((begin (use-modules (guix) \342\200\246) \342\200\246= )) \342\200\246)\n =C2=A01194:19 =C2=A06 (parse _ ((\"placeholder\&quo= t; placeholder)) ((top) #(# # \342\200\246)) \342\200\246)\n =C2=A01233:19 = =C2=A05 (parse _ ((\"placeholder\" placeholder)) ((top) #(# # \34= 2\200\246)) \342\200\246)\n =C2=A0 285:10 =C2=A04 (parse _ ((\"placeho= lder\" placeholder)) (()) _ c&e (eval) \342\200\246)\nIn ice-9/boo= t-9.scm:\n =C2=A03389:20 =C2=A03 (process-use-modules _)\n =C2=A0 222:17 = =C2=A02 (map1 (((guix)) ((srfi srfi-34)) ((rnrs io ports)) (#)))\n =C2=A033= 90:31 =C2=A01 (_ ((guix)))\n =C2=A0 2809:6 =C2=A00 (resolve-interface (guix= ) #:select _ #:hide _ #:prefix _ \342\200\246)\n\nice-9/boot-9.scm:2809:6: = In procedure resolve-interface:\nno code for module (guix)\n", 16384) = =3D 1150

I think I un= derstand part of the problem. It's not guix guile which is invoked on w= and but the guile which I have installed under /usr/local. But why is this?= guix as well as guile-ssh is installed at wand.=C2=A0

Which guile is it supposed to use? Which= version and which "fusion of modules"? And how are these suppose= d to be found on the build machine. Looking in the strace, it seems like a = bash shell with "guile -c" is started without any path informatio= n.

(Not sure that I even ask the right questions.)=

The PATH of the buil= d machine user is:

/home/guix/.guix-profile/bin:/h= ome/guix/.config/guix/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/g= ames:/usr/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/d= b/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/opt/thinlinc/bin
--000000000000fcbfb105a178d96f--