From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KKKaCaENEl/cWAAA0tVLHw (envelope-from ) for ; Fri, 17 Jul 2020 20:44: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 mp2 with LMTPS id CJloBaENEl9hZwAAB5/wlQ (envelope-from ) for ; Fri, 17 Jul 2020 20:44: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 5EA3D940368 for ; Fri, 17 Jul 2020 20:44:16 +0000 (UTC) Received: from localhost ([::1]:42158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwXDJ-000220-Jb for larch@yhetil.org; Fri, 17 Jul 2020 16:44:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwXD9-00021r-2r for bug-guix@gnu.org; Fri, 17 Jul 2020 16:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwXD8-0001q1-OH for bug-guix@gnu.org; Fri, 17 Jul 2020 16:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jwXD8-0005PH-LB for bug-guix@gnu.org; Fri, 17 Jul 2020 16:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42410: Copying nars between stores fails for packages with multiple outputs Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Jul 2020 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42410 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42410@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159501861420738 (code B ref -1); Fri, 17 Jul 2020 20:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jul 2020 20:43:34 +0000 Received: from localhost ([127.0.0.1]:58092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwXCf-0005OP-TZ for submit@debbugs.gnu.org; Fri, 17 Jul 2020 16:43:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:57836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwXCc-0005OG-13 for submit@debbugs.gnu.org; Fri, 17 Jul 2020 16:43:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwXCb-0001ya-P1 for bug-guix@gnu.org; Fri, 17 Jul 2020 16:43:29 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwXCZ-0001nL-VY for bug-guix@gnu.org; Fri, 17 Jul 2020 16:43:29 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 23F565C0114; Fri, 17 Jul 2020 16:43:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 17 Jul 2020 16:43:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=HofdgO+QhJwww6bxuAGtu/MdHjkGbHtwn4fgAiEYRac=; b=zS9KI jBvzEe3vReWbA1i3Md+jtdAKTGgxYZnOefGA2DWZ8cyH493Fu9cgVnXLKXgu2OaZ DpF4HTWHY4E/Iferq994qzljo7UAx1PIcmb/0r0LIES1U0uEE17bpsZhonJZcCdR 6PGnFta6beLMLJlyqb4zhQvkqDdA/9vKJTTYww= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=HofdgO+QhJwww6bxuAGtu/MdHjkGb Htwn4fgAiEYRac=; b=poQ1thM88e6IKlVDBFovRBjxdhv1p0HkaS4bZWOsInkNa WVCcwQdneVX1zi+Cih5iNzF5mHh5IebB+2bvWv11E84tekrHFR9dhmZaauD/JA2j s6ONw22Hz1+QnPPvQ4+2TP2Na0f9cR4vaTa2ui8138QJtey/wkmAvOn+J1tG82xD Cr6qRs052YHHDk4+lKWIBgJeJTpGSd6m3ga/IytG9nC4FogHoM2F8/hOTbq8SsaN XG/47D5ROZZ/33X7OasTRGWS/hET5xAXrI8cnsXB9uIYdeUUYv9JuEKR5rkiaVSg 3f16sj8s9II2uUnFXEJEspnOn8M1fbCMALQbs8qSw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrfeejgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttdertddttd dvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdr nhgrmhgvqeenucggtffrrghtthgvrhhnpeffhedtfeeftddvueeifeduueejvdekheffue eijefgvdetleegheegfeehheduudenucfkphepjeefrddugedurdduvdejrddugeeinecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfh grmhhulhgrrhhirdhnrghmvg 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 C690E3280063 for ; Fri, 17 Jul 2020 16:43:25 -0400 (EDT) Date: Fri, 17 Jul 2020 16:43:19 -0400 From: Leo Famulari Message-ID: <20200717204319.GA3588@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=66.111.4.28; envelope-from=leo@famulari.name; helo=out4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/17 16:43:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=zS9KI jB; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=poQ1thM8; 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: 8UuEGPccVb/1 Exporting a nar and importing it on another machine only works when the package being built has a single output. 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. However, it fails for packages with multiple outputs such as Syncthing and libsmf. I made sure both sides were trying to build the same derivation by using `guix time-machine` and created the archives like this: $ guix time-machine --commit=03f9a8c35be387f37badcd2c830ac7414ac17225 -- archive -r --no-grafts --export libsmf > ~/tmp/libsmf.nar