From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KJbuJTlDF1+yOAAA0tVLHw (envelope-from ) for ; Tue, 21 Jul 2020 19:34:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0JGaITlDF18YUQAAbx9fmQ (envelope-from ) for ; Tue, 21 Jul 2020 19:34:17 +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 8288E9403A0 for ; Tue, 21 Jul 2020 19:34:16 +0000 (UTC) Received: from localhost ([::1]:55796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxy1n-0008Tp-Ds for larch@yhetil.org; Tue, 21 Jul 2020 15:34:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxy1b-0008Oc-M8 for bug-guix@gnu.org; Tue, 21 Jul 2020 15:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxy1b-0008Mr-C4 for bug-guix@gnu.org; Tue, 21 Jul 2020 15:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxy1a-0007NV-9T for bug-guix@gnu.org; Tue, 21 Jul 2020 15:34:02 -0400 Subject: bug#42410: Copying nars between stores fails for packages with multiple outputs Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 21 Jul 2020 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42410 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Mail-Followup-To: 42410@debbugs.gnu.org, leo@famulari.name, leo@famulari.name Received: via spool by 42410-done@debbugs.gnu.org id=D42410.159536000028307 (code D ref 42410); Tue, 21 Jul 2020 19:34:02 +0000 Received: (at 42410-done) by debbugs.gnu.org; 21 Jul 2020 19:33:20 +0000 Received: from localhost ([127.0.0.1]:40456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxy0t-0007MV-OH for submit@debbugs.gnu.org; Tue, 21 Jul 2020 15:33:19 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxy0s-0007MH-Cl for 42410-done@debbugs.gnu.org; Tue, 21 Jul 2020 15:33:18 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 261565C00B8; Tue, 21 Jul 2020 15:33:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 21 Jul 2020 15:33:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=j1jXIAslyIDrM2PlaYyEwJC8otHzGv93nBYuwWnzAqw=; b=aWHFjgMNiVgm stQqUkk2HJUCDmpNX0xvSSrYNdTEwrIEF7uQ4cPLxIpZ3gDOp46n5FhMwE+3gKoM V6bnykE4RXl6ZzdKGC22KAnB77OkALZwCqtbaQoQojOLjvpPCtMlW+YQoRvQwx9B 71uB7FfBpR0n4GeFjWjuo17N5XS6VAI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=j1jXIAslyIDrM2PlaYyEwJC8otHzGv93nBYuwWnzA qw=; b=vOWF0GKSrnbI8W0NU4Fv7Ls1RjGPG6JDl4iiO3SKwjaMDOD9ZTgZGI6YK Ig/6ccVrJ8YW/KjNsDcW9btPvePGLiqtIvF1fw2l6xoY8agOWd1+R6ruyjsom5AE YWl2Tlk/ZxL3uLRuW/6fwQr9OGP2/cO7wIt6o+boCRfydhPW+01RjuQUPubcuGc+ Ud+HAuArit5pnk7sI+6xtF42Mop4ICKjHrMhL1EAEvFdMh4CnCotpAQefps+gRVq V3WfKpjnv4sduiUeF3JNTeHcNTX6p2FxrACAqMJVt7k5uXooiPq3/x7FMt3Y/ZXo Fet4OzrnMjQ0PzsmXeknAQ1SrwGow== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrgeejgddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeegjeeggeehtddugfffuddtvdfffeffjeekffffveffheegvddvuedtffekjeej jeenucfkphepjeefrddugedurdduvdejrddugeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id A8FFD30600A6; Tue, 21 Jul 2020 15:33:12 -0400 (EDT) Date: Tue, 21 Jul 2020 15:33:10 -0400 From: Leo Famulari Message-ID: <20200721193310.GA593@jasmine.lan> References: <20200717204319.GA3588@jasmine.lan> <87blk8oolv.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87blk8oolv.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42410-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=famulari.name header.s=mesmtp header.b=aWHFjgMN; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=vOWF0GKS; dmarc=none; 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-Spam-Score: -0.01 X-TUID: mE8skGyiveGt On Tue, Jul 21, 2020 at 05:49:00PM +0200, Ludovic Courtès wrote: > Hi, > > Leo Famulari skribis: > > > Exporting a nar and importing it on another machine only works when the > > package being built has a single output. > > Note that “guix archive --export foo” only exports foo:out. If you want > to export other outputs, you have to explicitly list them. > > > I set up a signing-key on the sending machine, authorized it on the > > receiving machine, and successfully transferred some nars of > > single-output packages. I say they succeeded because `guix build > > --no-grafts foo` did not need to build foo after having imported the nar > > archive built on the other machine. > > ‘guix build’ starts building unless all the outputs of the package are > already in the store. > > > However, it fails for packages with multiple outputs such as Syncthing > > and libsmf. > > Could it be that you copied only one output of the package, and thus > ‘guix build’ considered it had to build it because the other outputs > were missing? Yes, that must be it! Thanks for your reply and I'll re-open this ticket if necessary.