From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wOreINQpMWGkxAAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 21:45:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CGnmG9QpMWFyWQAAbx9fmQ (envelope-from ) for ; Thu, 02 Sep 2021 19:45:24 +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 C1621DB11 for ; Thu, 2 Sep 2021 21:45:23 +0200 (CEST) Received: from localhost ([::1]:57384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLseH-0003jD-T5 for larch@yhetil.org; Thu, 02 Sep 2021 15:45:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLsdx-0003iz-SO for bug-guix@gnu.org; Thu, 02 Sep 2021 15:45:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLsdx-00058L-Kq for bug-guix@gnu.org; Thu, 02 Sep 2021 15:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLsdx-0003mD-I4 for bug-guix@gnu.org; Thu, 02 Sep 2021 15:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49801: Guix time machine provenance/manifest reproducibility issue? Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 02 Sep 2021 19:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49801 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Denis 'GNUtoo' Carikli Received: via spool by 49801-submit@debbugs.gnu.org id=B49801.163061188014464 (code B ref 49801); Thu, 02 Sep 2021 19:45:01 +0000 Received: (at 49801) by debbugs.gnu.org; 2 Sep 2021 19:44:40 +0000 Received: from localhost ([127.0.0.1]:42099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLsdc-0003lE-Le for submit@debbugs.gnu.org; Thu, 02 Sep 2021 15:44:40 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:36662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLsda-0003l0-Sk for 49801@debbugs.gnu.org; Thu, 02 Sep 2021 15:44:39 -0400 Received: by mail-wr1-f45.google.com with SMTP id q14so4747277wrp.3 for <49801@debbugs.gnu.org>; Thu, 02 Sep 2021 12:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=prapEZwTsFqILYLcrnWsUxaEe1ul9cfw0yq6CTvNFCQ=; b=cBZ7MsUcj69rF6/wk0rqx3HQkWapdDavPDDfEaWe3V/+ExeBtztteBX7e3p5wjb6dD 4/JTmBPtI8oAgbFyGzIjejq7HLwOSP7UyKAFhCunzcZ+jtCmYJRLPTZj91JNJPnJBwzK BhgfiCh8azL4MNfQbfsVXdXxbk8cFVkgDHXviSenE4UB6Zj/4Axn+3fwwpBZ0t8v9elu H+/aoetcLAhc9GFhgfQdNNhPV69XHQjeqnLAwHg5KLTK7Gtm0JVyRArGqxPef9lQsBhQ kVydVHpN8Uyu4+XnxK3yZGNm5ZLgUNipY+taBMxKfhMkCjhdwsdoMqUyvJ3nmSaNndoU x/MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=prapEZwTsFqILYLcrnWsUxaEe1ul9cfw0yq6CTvNFCQ=; b=uegru5VbK3VV6N/Bq7Gx+91SVb6WST2xU8HPiwL/lqIa5Pb/4pcMlQah+yIRDEUcCg hvzJoHbFryL+anzpST9MAXClKnGO2nDlyjvQ7HnnRMbL2qiZDkwxMNUfOXwcEoCrzVD/ 08EjCYBLor70HX1gUfmh2ICqbsgpfR1sn3q8Vq4PyS4qBrL+67kD6cxmOJaOKbob4oSk IDnk4KikEVWsF+UgE0zOaKfCCf0c4eKw9y4pgMcKzjJA2RaXY0RW+uOO1XpQ3uYJVLB9 y0orqjEVtzaRip7Q3ttISHH5UBrakhVjkAqkZn+b4P4JMJeJ5Ur9ugDqRHvB1IOftyeB Br5w== X-Gm-Message-State: AOAM531Dyms1cGS5FCePAULh8ESu1llgtaUyDEUiE9fFcCbXB+s6A3rF VJKedfysAF8pA7RbPA22nth4hKfpuLDUgg== X-Google-Smtp-Source: ABdhPJzTQeU3YTtzMpDT3PrJIC7pOeP6dPEfdjA5fyC1MskHXy3zuWxTYpdErdtrYhgwNmu+S4zP0Q== X-Received: by 2002:a05:6000:1244:: with SMTP id j4mr5750837wrx.335.1630611872792; Thu, 02 Sep 2021 12:44:32 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z17sm2808683wrh.66.2021.09.02.12.44.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 12:44:32 -0700 (PDT) From: zimoun In-Reply-To: <20210902161219.3dab2f9b@primarylaptop.localdomain> References: <20210801022142.2117e06e@primarylaptop.localdomain> <86k0kkclu3.fsf@gmail.com> <20210902002742.3866243a@primarylaptop.localdomain> <20210902161219.3dab2f9b@primarylaptop.localdomain> Date: Thu, 02 Sep 2021 21:30:46 +0200 Message-ID: <864kb23hcp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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: 49801@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=1630611923; 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:resent-cc: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=prapEZwTsFqILYLcrnWsUxaEe1ul9cfw0yq6CTvNFCQ=; b=uDh0+lARVH6K7gaRYehpbXnA/ClTv3MyU/Emzg948ytbTOcmAVLv8DtcPLigGzhyS9vNQN /lS4WObyOy2qrTB43bL7M8wTrznn3lNg9Xx11gtS4tE2p/gM9KfHGBr/3ctLTbkMYNHMsH pOzL2YVgK9L0ddlvkWk8t27Gaib6C+oSsVGdZa6Zy8XVEthAWgHZ8W5+erSOlqT8S6OHu9 LSYbAI7NlYCl0mGAKcfMR2yVFMxKhxcK5Mo7FWVvB6zzr6lay6hvjZnHv8R3pnzwPj33SN A7JlcJaQcKUqsmJFSfWUyoLLHUFBaYCK4bqaawnsA457vyrGDf/dSPywmz3y7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630611923; a=rsa-sha256; cv=none; b=oIIGn6pH4YDZVrVQjcP1t7nYGbaY1LbIpRuAGkux6zXf7STcZAaU07zj4gnOG6dJ7zUssS R0zzcZrjfCp/zI+Qs3AcTCtcOtz1axmgEimwJoPGvuBTJk92dP+iQBylYRC9RKA6Y8Nadq w1b92ODRr6ZsJnnSVtxWqfs+btB9mR1IR5UvSyCh2nvRhzKyHmpKA3Z/ur9kZt8RGi9V8B x/IFby0kR8riEt37n3RHFGcwuzvZHwFp6oG8GoiLw/rorQLFYOn8aMnEid9jCqgVNJF5b2 88pdkjOiA+I3Rw7vwyw6hHJsQW87pknSl3PphFieAJQC4pdJERNMmvhKMeCyzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cBZ7MsUc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Spam-Score: -0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cBZ7MsUc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Queue-Id: C1621DB11 X-Spam-Score: -0.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q+AV5lJpBSll Hi Denis, On Thu, 02 Sep 2021 at 16:12, Denis 'GNUtoo' Carikli wrote: > Between the two tarballs, everything is the same but the provenance > file. > > So here the idea is to make sure that the provenance file is the same > between tarballs made with and without guix time-machine. Yes, for sure. IMHO, the Guix way would be: guix describe -f channels > channels.scm guix pack --save-provenance then later or elsewehere guix time-machine -C channels.scm -- pack --save-provenance It is a workaround of the bug your reported. ;-) Does it work? > Here I get a diff between tarballs made with and without guix > time-machine, with or without your patch, so the patch doesn't fix it > yet for guix master of yesterday. I think your tests about the patch are not correct. As I wrote, this is what you should try, IIUC: --8<---------------cut here---------------start------------->8--- Moreover, if you want to try the patch, you need to run: ./pre-inst-env guix pull -p /tmp/new ./tmp/new/bin/guix describe # return commit 12345 ./tmp/new/bin/guix pack --save-provenance ./tmp/new/bin/guix time-machine --commit=12345 -- pack --save-provenance and be careful with the '--localstatedir' and '--sysconfdir' variables at './configure' time. --8<---------------cut here---------------end--------------->8--- All the best, simon