unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Gábor Boskovits" <boskovits@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: guix deploy: “unknown error”
Date: Tue, 10 Dec 2019 08:54:33 +0100	[thread overview]
Message-ID: <CAE4v=pggE+ynUvzmELGWdV=+uteGxXq0cwsXbbnb67HxfvZMBA@mail.gmail.com> (raw)
In-Reply-To: <87o8wi5typ.fsf@elephly.net>

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

      reply	other threads:[~2019-12-10  7:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-08 22:32 guix deploy: “unknown error” Ricardo Wurmus
2019-12-10  7:54 ` Gábor Boskovits [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE4v=pggE+ynUvzmELGWdV=+uteGxXq0cwsXbbnb67HxfvZMBA@mail.gmail.com' \
    --to=boskovits@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).