* guix deploy: “unknown error”
@ 2019-12-08 22:32 Ricardo Wurmus
2019-12-10 7:54 ` Gábor Boskovits
0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2019-12-08 22:32 UTC (permalink / raw)
To: help-guix
Hi,
I’m getting an unhelpful error when trying to deploy from my x86_64
laptop to an i686 system:
--8<---------------cut here---------------start------------->8---
$ guix deploy deploy.scm
guix deploy: deploying to elephly...
sending 0 store items (0 MiB) to '192.168.178.20'...
Backtrace:
5 (primitive-load "/home/rekado/.config/guix/current/bin/guix")
In guix/ui.scm:
1806:12 4 (run-guix-command _ . _)
In guix/status.scm:
768:4 3 (call-with-status-report _ _)
In guix/store.scm:
623:10 2 (call-with-store _)
In srfi/srfi-1.scm:
640:9 1 (for-each #<procedure 7f2912a7a9e0 at guix/scripts/deploy.scm:111:18 (machine)> (#<<machine> operating-system: #<<operating-syst…>))
In guix/scripts/deploy.scm:
115:22 0 (_ _)
guix/scripts/deploy.scm:115:22: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "unknown error while sending files over SSH" status: 44] 7f2912e30a20>)'.
--8<---------------cut here---------------end--------------->8---
Does “status: 44” mean anything to someone here? I used strace on the
short-lived “guix repl” process on the remote but I don’t see anything
wrong. The process ends after determining that no files need to be
sent:
--8<---------------cut here---------------start------------->8---
…
3582 write(13, "\1\0\0\0\0\0\0\0B\0\0\0\0\0\0\0/gnu/store/14hbr0cy0pl6nx69n848ycl5axv5w8w7-module-import-compiled\0\0\0\0\0\0", 88) = 88
3582 read(13, "stla\0\0\0\0", 8) = 8
3582 read(13, "\1\0\0\0\0\0\0\0", 8) = 8
3582 write(13, "\1\0\0\0\0\0\0\0007\0\0\0\0\0\0\0/gnu/store/vlpabz0q67c7h1vcbrgfk6fchi64gmk1-guile-2.2.6\0", 72) = 72
3582 read(13, "stla\0\0\0\0", 8) = 8
3582 read(13, "\1\0\0\0\0\0\0\0", 8) = 8
3582 close(13) = 0
3582 write(1, "(values (value ()))\n", 20) = 20
3582 read(0, "", 4096)
…
--8<---------------cut here---------------end--------------->8---
(Note that I had to append GUILE_* environment variables to
/etc/environment on the target to get this far.)
--
Ricardo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guix deploy: “unknown error”
2019-12-08 22:32 guix deploy: “unknown error” Ricardo Wurmus
@ 2019-12-10 7:54 ` Gábor Boskovits
0 siblings, 0 replies; 2+ messages in thread
From: Gábor Boskovits @ 2019-12-10 7:54 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
Hello,
Ricardo Wurmus <rekado@elephly.net> ezt írta (időpont: 2019. dec. 8., V, 23:33):
>
> Hi,
>
> I’m getting an unhelpful error when trying to deploy from my x86_64
> laptop to an i686 system:
>
> --8<---------------cut here---------------start------------->8---
> $ guix deploy deploy.scm
> guix deploy: deploying to elephly...
> sending 0 store items (0 MiB) to '192.168.178.20'...
> Backtrace:
> 5 (primitive-load "/home/rekado/.config/guix/current/bin/guix")
> In guix/ui.scm:
> 1806:12 4 (run-guix-command _ . _)
> In guix/status.scm:
> 768:4 3 (call-with-status-report _ _)
> In guix/store.scm:
> 623:10 2 (call-with-store _)
> In srfi/srfi-1.scm:
> 640:9 1 (for-each #<procedure 7f2912a7a9e0 at guix/scripts/deploy.scm:111:18 (machine)> (#<<machine> operating-system: #<<operating-syst…>))
> In guix/scripts/deploy.scm:
> 115:22 0 (_ _)
>
> guix/scripts/deploy.scm:115:22: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "unknown error while sending files over SSH" status: 44] 7f2912e30a20>)'.
> --8<---------------cut here---------------end--------------->8---
>
> Does “status: 44” mean anything to someone here? I used strace on the
> short-lived “guix repl” process on the remote but I don’t see anything
> wrong. The process ends after determining that no files need to be
> sent:
This is coming from ssh.scm send-files, when the result can't be
matched by other clauses. I did not dig too deep into it, maybe we
could try to print the result there...
>
> --8<---------------cut here---------------start------------->8---
> …
> 3582 write(13, "\1\0\0\0\0\0\0\0B\0\0\0\0\0\0\0/gnu/store/14hbr0cy0pl6nx69n848ycl5axv5w8w7-module-import-compiled\0\0\0\0\0\0", 88) = 88
> 3582 read(13, "stla\0\0\0\0", 8) = 8
> 3582 read(13, "\1\0\0\0\0\0\0\0", 8) = 8
> 3582 write(13, "\1\0\0\0\0\0\0\0007\0\0\0\0\0\0\0/gnu/store/vlpabz0q67c7h1vcbrgfk6fchi64gmk1-guile-2.2.6\0", 72) = 72
> 3582 read(13, "stla\0\0\0\0", 8) = 8
> 3582 read(13, "\1\0\0\0\0\0\0\0", 8) = 8
> 3582 close(13) = 0
> 3582 write(1, "(values (value ()))\n", 20) = 20
> 3582 read(0, "", 4096)
> …
> --8<---------------cut here---------------end--------------->8---
>
> (Note that I had to append GUILE_* environment variables to
> /etc/environment on the target to get this far.)
>
> --
> Ricardo
>
>
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-10 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-08 22:32 guix deploy: “unknown error” Ricardo Wurmus
2019-12-10 7:54 ` Gábor Boskovits
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).