From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +LhvL91w+WUFVQEAqHPOHw:P1 (envelope-from ) for ; Tue, 19 Mar 2024 12:02:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +LhvL91w+WUFVQEAqHPOHw (envelope-from ) for ; Tue, 19 Mar 2024 12:02:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gF2rFYhR; spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710846173; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dXsm9bf/JupAABZrvU8OeIeI/UdwvXnjD7JePcn5L5E=; b=cBzAA5VVivFM3Y71v7Jy1kZ60hV8yMiq7cnFpelYykLt8hC5snk85FSoKbE/bh/ItZa6di vYQ780oCZCTi7ArpCZuraX3QTozYT8B9ug5a+ZR9Pt7AKOzc0yWCWUbwDVd4hPRXOB8asV W8oYnIZa9i2d0SnSspSy20G+GtFnucZLb4pWinciguf3wB6FpVSkpkpnf7Evqt+7Na12Za lGptOEUrwCaaSfudQIPeN959QGrt3aBTqDB4LYCDxVXDwYG6p5A9ufb8b2n/Iy6k0fgK8J Wh67FsQ6giqTYu6TCiU9W5qfpXbwR8beizFV4sFnHo43LB8HTK0uvyvuZg5iew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gF2rFYhR; spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710846173; a=rsa-sha256; cv=none; b=VAxM1LibL8XOjhYxWFlC79Y6pTIjNWFH88rqQh3CjnVTl6geJJ3W9Y5TH155deTaUqoGG4 s+4rRV8UsCmK7648kFkmvMvsSzLz7OngVHr46ZDWanMB3jdgId3cd5Jwbm5wOgleCmA7bo 2S5xmMhwnt/y8zrcN7a7dem3fJNWkDDgKtwWN+ALE1Ns6UYLyz/KcTIhAcckdjZp0OtOSp X3Tr8eEu0rWVrSJwHSu9VS18jEYeQ7OkgTZ8P0NPPpPmPsQ8t7Ksu8t7tFRlSOPSaQgVev bzeDGwJLPi7t3Uduj40GER63VO3fXmUFkVvQfVPPPLLUZBYio/kdiRmvKardnQ== 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 9C9833B9E3 for ; Tue, 19 Mar 2024 12:02:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmXEk-0008Ay-8Q; Tue, 19 Mar 2024 07:02:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmXEj-0008Al-0N for guix-science@gnu.org; Tue, 19 Mar 2024 07:02:29 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmXEh-0006M0-EK for guix-science@gnu.org; Tue, 19 Mar 2024 07:02:28 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-33ed6097ca0so980095f8f.1 for ; Tue, 19 Mar 2024 04:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710846145; x=1711450945; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=dXsm9bf/JupAABZrvU8OeIeI/UdwvXnjD7JePcn5L5E=; b=gF2rFYhRwy3tNYZ1Bxm1bO+4pMvkOGN/AH2Idry458tlU8rLtWV6v0qC375XEKOMbe WDk96NsZa4KaAzk+AfWhvg+KosJidlRwsac93i+hE3L3oqE7imxyoPHcH18EgGNisKx8 4DnrAZfrjGkk4ODyOlrNR0ZqooGf7RwZVhj+ChXsqvg0Yts4sOLWzjVkr7L7BGCnjCQF mdkbMmUix7LGM+ZLxNbGkc939zUfjoFkDm/6ACxoR9UGESonK1mEh+em2xbw8ks+myWu H4bm3/6qFeqcLaHqWqFkBS8OMD5TO9w9W7En4rp99F4d9zxWToZhizoZgeI3EnMOlH0z VkTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710846145; x=1711450945; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=dXsm9bf/JupAABZrvU8OeIeI/UdwvXnjD7JePcn5L5E=; b=Q1aTkCMyks4ly89EkHVRHss0wMnGken7aKyF/bONyKjf5KwEnMSe94WOZOe27l9iy6 bLB078/vHhDRSRLzWAfGf2RkYT/fDvqNircgViBkix21pVUyBQfNDjkYMNXbFZr1mnjf 1c7YFNagw0EcEPzUcK/+hjhw+zZzEp1OYUuu/o7xDzBzCNIdACHRP2wYbVia+m/I+w+H zmNH9JLC2GOq9PVI8HJKkEAKAUBu47FLVy6St5yNAw+n65S/sgdkvae3Lk2ve20oJxdC naZbqUm7ixKwTqh9WEa8xNcI6TgkxSyY656I4DcQXGZj66B57abMckV5fhGrhSa8hDA8 ZwIQ== X-Forwarded-Encrypted: i=1; AJvYcCUISGUcJkhBSRqOis5657uKCRB1ExlUAvQashdE/aGzYpBAvdctT2Mv2p1AV7K3agT9dTzAM2SHbn6Uujr0PEz8/PGxGA== X-Gm-Message-State: AOJu0YwFJSoA9EFbQFTguNzK+vtyyMc2mlc5T85qyLVRk98sB/Cc8S7C U9aTpL645P3/oaHDosPYspejp3xRzoDA4oWE2gJ8WbU8Py9/MGbd05zYO05z X-Google-Smtp-Source: AGHT+IEz3y9sS07f5OmOMTff5s/Icpb7umNxOQ9FOl8MUHH7Y7p/FH0zlRs4aeRNcSSXTfx9W3QnZA== X-Received: by 2002:a5d:60c3:0:b0:33b:48ed:be63 with SMTP id x3-20020a5d60c3000000b0033b48edbe63mr1299749wrt.7.1710846144748; Tue, 19 Mar 2024 04:02:24 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:26a3:4029:e78b:2deb]) by smtp.gmail.com with ESMTPSA id ay19-20020a5d6f13000000b0033e2291fbc0sm12327363wrb.68.2024.03.19.04.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 04:02:24 -0700 (PDT) From: Simon Tournier To: Emmanuel Medernach , guix-science@gnu.org Subject: Re: Problem with guix copy In-Reply-To: References: Date: Tue, 19 Mar 2024 11:26:17 +0100 Message-ID: <87jzlyikl2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-science@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-science-bounces+larch=yhetil.org@gnu.org Sender: guix-science-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.86 X-Spam-Score: -8.86 X-Migadu-Queue-Id: 9C9833B9E3 X-Migadu-Scanner: mx13.migadu.com X-TUID: /kOavnAQeflD Hi Emmanuel, > Machine_B # guix copy --from=3DMachine_A bazel --dry-run > The following derivation would be built: > =C2=A0 /gnu/store/0lscmi07b2y0aw6hscbgm2h7nqwc6sb1-bazel-6.4.0.drv Could you share this derivation file? And the one from Machine A? To be precise, on Machine B, you should get: $ guix time-machine -q -C channels.scm -- build --no-grafts bazel -d /gnu/store/dnwdzl84cxgk232cwh8843f3dhqmyd69-bazel-6.4.0.drv And on Machine A, you get another one, right? For instance, run this command on both machines: cp = \ $(guix time-machine -q -C channels.scm -- build --no-grafts bazel -d)= \ /tmp/machine-X.drv where X is A or B, respectively. These files track exactly how the item is built (derived). Therefore, since the hash of the output differs, you should differ somewhere. Previously, you checked about the inputs, now we need to compare the complete derivation. Cheers, simon PS: Please note that the content of two store items might be bit-to-bit identical with different store item paths (hash). =20=20=20=20 Consider the example with the exact same source where the difference is just one comment somewhere in the code. Then, their hashes are different. However, once compiled the binaries are identical (compiler usually removes comments). Since the hash of one input (source) differs, then the store item paths are different but the content of these both store items are bit-to-bit identical. The machinery to track down the origin of the difference is all these derivation .drv files.