From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WNqxNIb+L2FyAQAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 00:28:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uI1rMIb+L2EvXwAA1q6Kng (envelope-from ) for ; Wed, 01 Sep 2021 22:28:22 +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 0EE311B675 for ; Thu, 2 Sep 2021 00:28:22 +0200 (CEST) Received: from localhost ([::1]:51716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLYiS-00012D-4S for larch@yhetil.org; Wed, 01 Sep 2021 18:28:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLYiA-0000zk-E4 for bug-guix@gnu.org; Wed, 01 Sep 2021 18:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLYiA-0005j1-5a for bug-guix@gnu.org; Wed, 01 Sep 2021 18:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLYi9-0004sN-O4 for bug-guix@gnu.org; Wed, 01 Sep 2021 18:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49801: Guix time machine provenance/manifest reproducibility issue? Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Sep 2021 22:28: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: zimoun Received: via spool by 49801-submit@debbugs.gnu.org id=B49801.163053527618730 (code B ref 49801); Wed, 01 Sep 2021 22:28:01 +0000 Received: (at 49801) by debbugs.gnu.org; 1 Sep 2021 22:27:56 +0000 Received: from localhost ([127.0.0.1]:39146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLYi3-0004s2-Dx for submit@debbugs.gnu.org; Wed, 01 Sep 2021 18:27:55 -0400 Received: from cyberdimension.org ([80.67.179.20]:55060 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLYhm-0004rb-DA for 49801@debbugs.gnu.org; Wed, 01 Sep 2021 18:27:53 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id f2b00a1b; Wed, 1 Sep 2021 22:25:01 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 62995a74; Wed, 1 Sep 2021 22:25:01 +0000 (UTC) Date: Thu, 2 Sep 2021 00:27:42 +0200 From: Denis 'GNUtoo' Carikli Message-ID: <20210902002742.3866243a@primarylaptop.localdomain> In-Reply-To: <86k0kkclu3.fsf@gmail.com> References: <20210801022142.2117e06e@primarylaptop.localdomain> <86k0kkclu3.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/yabHHEsMg/J2mRTQYDRWouB"; protocol="application/pgp-signature"; micalg=pgp-sha256 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=1630535302; 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; bh=D7pTb1XX0w42mHErEZL1xtH5xlv5qCLNWK8kz3DC90I=; b=ttUiw1xXm/+VVdFr7H1iBA13GzAxPEOPM/hl5eY+uNRkG2zwJ9FvpL/50wou/BY1pG4DIP 944ZG7ZfW8IF6q/lRtiJiToeGuHzGnR3RaxAda62gTI84hVNQotUp4NOPQTNVMlyhhaySU FipfMSzfLeCKxhNwPHZok6t3HNx+lOaHwvGfYuKVrKaEwPF+Odw26ZCbQc7LeN2cu1gQNv lrG081NVRtUb43tMMEN27bj77kCe8YgYltK8orSCUCJnqBXqVdfDdp1Ts6KG7/yseTj4s3 bdZQE/FVTnwpNc9RcT79OB5ds5IIswFJY7QaiwJT/dPfNtHJbHUNj50/Cm37bg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630535302; a=rsa-sha256; cv=none; b=fsGIOSpoc9eMYHakT5n0KYTvS2z1O7WC4te9OtdilPIxEyN1Jqbt0I+xQqowB2WMJps6uK 9HcR953b/PKsQ13Q/3CdcSU4cQkij7t7pq3gzPAFLkLYXuWemBsOpKXj6ZnvchMkhEElc7 NBNXcQ2rktku9xH98fnWAADPqVa+mN2Q57iG7Q9tuQ8OySizR+HwQa+mJBpWZlNzL657lp /qriKHgcFESpJNGj0XSbTVZcfSI2I/6TPSYrSyiy55NLX0GcnGTOOFzqKTl/zeYn3Nsxkd NzhTIiI1ZvfrEO/Hk0T+GnKgls58wG/e92AsAs2UrO0qF3cp8uwZJL/RRv+nIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Migadu-Queue-Id: 0EE311B675 X-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: mWi+tNGC9ffi --Sig_/yabHHEsMg/J2mRTQYDRWouB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi again. With and without this patch: > diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm > index fb8ce50fa7..af1cf77f07 100644 > --- a/guix/scripts/pull.scm > +++ b/guix/scripts/pull.scm > @@ -739,7 +739,7 @@ Use '~/.config/guix/channels.scm' instead.")) > (cons (match ref > (('commit . commit) > (channel (inherit guix) > - (url url) (commit commit) (branch > #f))) > + (url url) (commit commit))) > (('branch . branch) > (channel (inherit guix) > (url url) (commit #f) (branch > branch))) on top of 95c29d2746943733cbe8df7013854d45bb0df413 ("gnu: electron-cash: Update to 4.2.5." which is today's master HEAD), I get the same diff with and without time-machine. I made and used this Makefile to build two hello tarball in both cases: > COMMIT ?=3D 95c29d2746943733cbe8df7013854d45bb0df413 >=20 > all: \ > hello-guix-$(COMMIT).tar.xz \ > hello-time-machine-$(COMMIT).tar.xz \ >=20 > hello-guix-$(COMMIT).tar.xz: > install -m 644 \ > `../pre-inst-env \ > guix pack \ > --compression=3Dxz --save-provenance hello` \ > $@ >=20 > hello-time-machine-$(COMMIT).tar.xz: > install -m 644 \ > `../pre-inst-env guix time-machine \ > --branch=3Dmaster \ > --commit=3D$(COMMIT) \ > -- \ > pack --compression=3Dxz --save-provenance hello` \ > $@ And once the file named manifest is extracted from both tarballs I get this diff (with and without your slightly modified patch): > --- ./hello-guix-95c29d2746943733cbe8df7013854d45bb0df413/gnu/store/lw9x5= aimyqcq5iazj786fv7q5l3h0syk-profile/manifest 1970-01-01 01:00:01.000000000 = +0100 > +++ ./hello-time-machine-95c29d2746943733cbe8df7013854d45bb0df413/gnu/sto= re/30pf6ppiqpjsjaaiw35kc5lp6dcixpf1-profile/manifest 1970-01-01 01:00:01.00= 0000000 +0100 > @@ -12,4 +12,19 @@ > "/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10" > (propagated-inputs ()) > (search-paths ()) > - (properties))))) > + (properties > + (provenance > + (repository > + (version 0) > + (url "https://git.savannah.gnu.org/git/guix.git") > + (branch #f) > + (commit > + "95c29d2746943733cbe8df7013854d45bb0df413") > + (name guix) > + (introduction > + (channel-introduction > + (version 0) > + (commit > + "9edb3f66fd807b096b48283debdcddccfea34bad") > + (signer > + "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))= )))))))) PS: In the diff at the top there is a slight difference with the patch that you suggested: I only removed (branch #f) so I end up with one more parenthesis at the end. Denis. --Sig_/yabHHEsMg/J2mRTQYDRWouB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmEv/l4ACgkQX138wUF3 4mMJmg/+LuukAtqLrGf4ZCsD92u7KuO54P2lhEHSeP9ccaa/a+lPZeSxxz0MV5+s Awbk5nOg5MQAVXdtogjKtJZzpHxDm9HevgvESLpajNmn39iS36wx1UDwEg1bkx17 2JdIITKc4B2kdEQh7BbEYzaARu2+TKaEnCHS5Ks5+Oo2qbdz9B62t9hsME2Hs2yj t1zNShN4hgJXdz9C9ETaeMAmLmPukExQ0CFCdZZBUqGFVr6RRjjWZlPu/6OFOGHQ zED9xaaE10uUHvBO71xnSCnA6ZSkbhQwSAta6TeBsvQ+NMyfKItY3HsQaO4sdDoh q2BSZ/ZA3hVV0jjp7tPRsXsD4cL1llzsDSxwsMWtKQa3qbrGn+PrT3tH1zVrDmbS Jsgwnm4qLWeZ3dKtpyvqDEYtslwaeswtDZedkZiLJinuJI4+XgejYlU6xR9nclL1 40+SPYA1qVXkkeUODvEkwsfOcBGjGKzRGsEbiSTZwlz9BvqqFIL3XcpJ7P1thpNU kcsd4PsQY39gOwgVspZ4xgYBOQWbD/OoQ1oCShMqsCNB8vhA51kX9xn1v24+co4n vaNUdRtfY4MIBz0OsYoaoS3ghX4AdtTUSr5zb2yGu/n6DmB5BXEuWocuMGroi6gJ pxF38KeUrSCFB+pKSA5yvjddGT5Mmvd5j661QmgSje1GRxL/hsc= =F9JC -----END PGP SIGNATURE----- --Sig_/yabHHEsMg/J2mRTQYDRWouB--