From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#34015: guix copy error message is quite difficult to understand Date: Tue, 08 Jan 2019 17:02:12 +0100 Message-ID: <87bm4rnnnf.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggtqM-0003Sb-KN for bug-guix@gnu.org; Tue, 08 Jan 2019 11:03:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggtqK-0000MK-Sr for bug-guix@gnu.org; Tue, 08 Jan 2019 11:03:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggtqK-0000La-PN for bug-guix@gnu.org; Tue, 08 Jan 2019 11:03:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ggtqI-0005ih-Go for bug-guix@gnu.org; Tue, 08 Jan 2019 11:03:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:40877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggtpp-00033S-Fy for bug-guix@gnu.org; Tue, 08 Jan 2019 11:02:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggtpn-0007T6-HI for bug-guix@gnu.org; Tue, 08 Jan 2019 11:02:33 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41199) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggtpd-0006q9-3Q for bug-guix@gnu.org; Tue, 08 Jan 2019 11:02:25 -0500 Received: by mail-ed1-f67.google.com with SMTP id a20so4709019edc.8 for ; Tue, 08 Jan 2019 08:02:15 -0800 (PST) Received: from newt (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id t26sm281719eda.22.2019.01.08.08.02.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Jan 2019 08:02:13 -0800 (PST) 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.org@gnu.org Sender: "bug-Guix" To: 34015@debbugs.gnu.org Hi, This is what happens when /etc/profile isn't sourced in the remote non-interactive shell on guix copy. I find it difficult to understand. I think the error message should lead us to a way to fix the issue. --8<---------------cut here---------------start------------->8--- sending 1 store item (0 MiB) to '192.168.0.51'... ;;; [2019/01/08 16:48:31.587577, 0] write_to_channel_port: [GSSH ERROR] Rem= ote channel is closed: # Backtrace: 10 (primitive-load "/home/clement/.config/guix/current/bin=E2=80= =A6") In guix/ui.scm: 1644:12 9 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 8 (catch srfi-34 # =E2=80=A6) 829:9 7 (catch system-error # =E2=80=A6) In guix/scripts/copy.scm: 80:27 6 (send-to-remote-host _ _) In guix/ssh.scm: 313:4 5 (send-files # _ _ # _ # _) In guix/store.scm: 1466:12 4 (export-paths # _ # =E2=80=A6) 1446:22 3 (export-path # _ # =E2=80=A6) 644:13 2 (process-stderr _ _) 607:10 1 (dump-port # # =E2=80=A6) In unknown file: 0 (put-bytevector # =E2=80= =A6) ERROR: In procedure put-bytevector: Throw to key `guile-ssh-error' with args `("write_to_channel_port" "Remote = channel is closed" # #f)'. --8<---------------cut here---------------end--------------->8--- Cheers, Cl=C3=A9ment