[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix deploy: “unknown error”
From: |
Gábor Boskovits |
Subject: |
Re: guix deploy: “unknown error” |
Date: |
Tue, 10 Dec 2019 08:54:33 +0100 |
Hello,
Ricardo Wurmus <address@hidden> 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