From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4LMhHeHYeWGeKwEAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 00:55:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gCHXGOHYeWG9CQAAB5/wlQ (envelope-from ) for ; Wed, 27 Oct 2021 22:55:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0BD2F20DAA for ; Thu, 28 Oct 2021 00:55:29 +0200 (CEST) Received: from localhost ([::1]:52770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfrpQ-0001VF-71 for larch@yhetil.org; Wed, 27 Oct 2021 18:55:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfrm6-0005lU-Vr for bug-guix@gnu.org; Wed, 27 Oct 2021 18:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfrm6-0007CO-NF for bug-guix@gnu.org; Wed, 27 Oct 2021 18:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfrm6-0005jK-IP for bug-guix@gnu.org; Wed, 27 Oct 2021 18:52:02 -0400 Subject: bug#46756: guix deploy not copying remote-gexp.scm Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 27 Oct 2021 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 46756 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Mail-Followup-To: 46756@debbugs.gnu.org, ludo@gnu.org, pkill9@runbox.com Received: via spool by 46756-done@debbugs.gnu.org id=D46756.163537507421947 (code D ref 46756); Wed, 27 Oct 2021 22:52:02 +0000 Received: (at 46756-done) by debbugs.gnu.org; 27 Oct 2021 22:51:14 +0000 Received: from localhost ([127.0.0.1]:50844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfrlK-0005hu-3p for submit@debbugs.gnu.org; Wed, 27 Oct 2021 18:51:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfrlJ-0005hf-0i for 46756-done@debbugs.gnu.org; Wed, 27 Oct 2021 18:51:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfrlD-00075q-7r; Wed, 27 Oct 2021 18:51:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=mF47Rq88nsiAbfz//CvozBCv5/b8f4iF1T+2cB/Bhhs=; b=pbFUIgRxwZYU5DLInB1P EKkZMZiSJ2GrfbaZYI4auiK/bwmX2IQfWvSgeMGAISOh9uy0WA24CIoRIQF5FD0+HlzHMpoeMCveu KNhkI4VlPImAcf8oF9bNG3wIXyZ/2fwUQ8FBWMlb3zz2DJ2u0kNF/uPiDVr0eZgjqtJOo0EsqlR6a Yd+1nLz+8EH/zwEmw4CSBT8801s2rbpfjwvTUEDxlIYrMfdiZVFTv+s5yjhERrFZ2PkSosk9TwL4m m4yxQ2sObDvCCJ3WYUMVsVCFBhddHcy60zqF68gbvoF+WbJ5Qdu/7ymrk6bBSDreg72EvG7wo/tuO oE54Oqqj6voauQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54270 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfrlC-0007Fk-3B; Wed, 27 Oct 2021 18:51:07 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210224175945.48437431@runbox.com> <87im54q8xm.fsf@gmail.com> Date: Thu, 28 Oct 2021 00:51:04 +0200 In-Reply-To: <87im54q8xm.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 03 Apr 2021 00:38:29 -0400") Message-ID: <87fssm9j53.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Katherine Cox-Buday , pkill9 , 46756-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635375329; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mF47Rq88nsiAbfz//CvozBCv5/b8f4iF1T+2cB/Bhhs=; b=iCR6hmR5sIf69JrWjD4yHr7+jy2SjeQ0LTx/PyTbKsdNXwJZMTFYiedSlszCT2/P+36x3F VFDKAmIegE2eXyB9nZXsiHWFLVX4Qa2C8ZIo19iL847XDkob/6K8Y+Ou40er6T7vAdy4Us S4Sx1SuFdWtaYYq5n12IPtY+lLndv4EWOvm3MOvye4jQ9HLmA2i/621+MiEkBSY8DneMFr 87JMfj0C0pTGWLXBbPwk5+tVCjS9ueky/qutu2OSTPC0uPAy0VLz9UsyX+D8focFFfuGJ1 uFhfBTtULPZWNCwP9EZEtCzGwVyQGXOahCpQH0MzV500K9Z+LhPiSPKhKYmung== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635375329; a=rsa-sha256; cv=none; b=sHXPDLSz4VSAUZxoZAsr/53H11QAZeFH+J2kOUUo7e6IQeRBE8JAq8B/AiCNBNBHCmsMma bKb559hHpWwsshQNYwO59L1lS3HehuRS8LxjEItSFnNKmJ01nHCTFgC7dPxhMvhPWK+MPl AIMRh4ky4F94SNFWrF1q5uxsskIzom2eCG/GWGm8e+vi+a31Y7VShaSjVjH6qMY8P3q10I SQMLf3rEnTQWcUzWd/lJQdxAlbqaZ/MpeLkSZyw0jdQZp43qQ19IlJhBnmA0W2PgvTkAu+ zkdaeMoZblucd8UUDA9wEGlSl2Y0hN6+T9sAMwMz/58VptnMZPvSG4K4F9MamA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pbFUIgRx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pbFUIgRx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0BD2F20DAA X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: bto4JuFheLl5 Hi! Maxim Cournoyer skribis: > I get this as well. Here's the backtrace: > > In ice-9/boot-9.scm: > 1731:15 19 (with-exception-handler # _ # _ # =E2=80=A6) > In guix/status.scm: > 793:4 18 (call-with-status-report _ _) > In ice-9/boot-9.scm: > 1736:10 17 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In guix/store.scm: > 636:37 16 (thunk) > 1305:8 15 (call-with-build-handler _ _) > 1305:8 14 (call-with-build-handler _ _) > 1305:8 13 (call-with-build-handler _ _) > 1305:8 12 (call-with-build-handler # =E2=80=A6) > In guix/scripts/deploy.scm: > 170:14 11 (_) > In guix/store.scm: > 1346:2 10 (map/accumulate-builds # _ _) > In srfi/srfi-1.scm: > 586:17 9 (map1 (#< things: (("/gnu/store/7hj8kbsqkm3qcpd= 8dyayx1c53r59ma2v-guile-3.0.2=E2=80=A6>)) > In guix/store.scm: > 1305:8 8 (call-with-build-handler # _) > In ice-9/boot-9.scm: > 1736:10 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In guix/scripts/deploy.scm: > 144:6 6 (_) > In guix/store.scm: > 2066:24 5 (run-with-store # _ #= :guile-for-build _ #:system _ # =E2=80=A6) > In gnu/machine/ssh.scm: > 450:6 4 (_ _) > In guix/remote.scm: > 86:17 3 (_ _) > In ice-9/boot-9.scm: > 1669:16 2 (raise-exception _ #:continuable? _) > 1669:16 1 (raise-exception _ #:continuable? _) > 1669:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > ERROR: > 1. &inferior-exception: > arguments: (system-error "open-file" "~A: ~S" ("No such file or di= rectory" "/gnu/store/4q0sl8b1wg6nwiiz6xzhy8iskmyc43gv-remote-exp.scm") (2)) > inferior: #f > stack: () > > As a workaround, one can build the machine's profile locally (the > default, so by removing (build-locally? #f) or setting the value to #t > in the machines' machine-ssh-configuration). That's not satisfying I believe this is fixed by b19250eec6f92308f237a09a43e8e3e2355345b9, lemme know! Following our discussion on IRC, I noticed that derivations would actually be built locally, and thus their output (=E2=80=98remote-exp.scm= =E2=80=99 above) would not be found. Why are they getting built locally? Because =E2=80=98guix deploy=E2=80=99 = installs a build handler. Thus, when =E2=80=98remote-eval=E2=80=99 makes this call: (build-derivations remote inputs) the build handler kicks in and starts building locally rather than on =E2=80=98remote=E2=80=99. In fact, that=E2=80=99s more of a bug in =E2=80= =98build-accumulator=E2=80=99 in (guix store); it should check whether it=E2=80=99s talking to the right store. Thanks, Ludo=E2=80=99.