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:13:36 +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="00000000000029889605a178d59e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48876) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG8r6-0003Fo-AU for bug-guix@gnu.org; Sun, 22 Mar 2020 18:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jG8r4-0005M0-Kw for bug-guix@gnu.org; Sun, 22 Mar 2020 18:14:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jG8r4-0005Lw-IQ for bug-guix@gnu.org; Sun, 22 Mar 2020 18:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jG8r4-0008AY-C2 for bug-guix@gnu.org; Sun, 22 Mar 2020 18:14:02 -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 --00000000000029889605a178d59e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 wrot= e: >> >>> 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 ELLIPS= IS.) >>> >> >> 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\24= 6) >> \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. Bu= t > 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.) --00000000000029889605a178d59e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Mar 22, 2020 at 10:56 PM Mikael D= jurfeldt <mikael@djurfeldt.com> wrote:
On Sun, 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.)=
--00000000000029889605a178d59e--