From unknown Wed Jun 18 23:16:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55758 <55758@debbugs.gnu.org> To: bug#55758 <55758@debbugs.gnu.org> Subject: Status: reproducible builds: keyutils: avoid embedding timestamp Reply-To: bug#55758 <55758@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:16:33 +0000 retitle 55758 reproducible builds: keyutils: avoid embedding timestamp reassign 55758 guix-patches submitter 55758 Vagrant Cascadian severity 55758 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 01 18:37:10 2022 Received: (at submit) by debbugs.gnu.org; 1 Jun 2022 22:37:10 +0000 Received: from localhost ([127.0.0.1]:52174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwWxi-0004w7-8f for submit@debbugs.gnu.org; Wed, 01 Jun 2022 18:37:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:42300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwWxg-0004vy-JJ for submit@debbugs.gnu.org; Wed, 01 Jun 2022 18:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwWxg-0008MJ-DC for guix-patches@gnu.org; Wed, 01 Jun 2022 18:37:08 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:43432) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwWxe-0001FG-1B for guix-patches@gnu.org; Wed, 01 Jun 2022 18:37:07 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 383AA1AA6B for ; Wed, 1 Jun 2022 15:37:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654123024; bh=2l73EyxSpfDMuxx6UyzYtFR0VtYXTYk7016FHDbcaIk=; h=From:To:Subject:Date:From; b=jeM/70fHvY4oXrdTSPb/Ir2APA50jT3e2EOU3QIAI299sy6flYuIr9KM9rmLanplU dMp9vyR/DYhHuzvBGtVwQlK0heXs0J//zpS8W6xDgDZ10oFw8250CaJ0H9saILXyf5 4WXKeX8U7qYTgiGulASU1MpL3L9KABUjX9HvlDp2iFTCNBCNLJEampPcT6fJoJhZmY djlwFA3y6U+QYbPf7lUPmhOA+FIG86rZAvlqjNiJc1LczZMh+BRMwow5+V1Ie0oh5I OYN2/TWM+8PzhNo46fNxlJWBrm5COuhFBjWAd5RLl/XVXI2C0xInyK8zOfSpnqvwa4 mgy8Z5siuc0Ew== From: Vagrant Cascadian To: guix-patches@gnu.org Subject: reproducible builds: keyutils: avoid embedding timestamp Date: Wed, 01 Jun 2022 15:36:58 -0700 Message-ID: <877d60au45.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain This completely removes a timestamp from the build of keyutils, following the recommendation of: https://reproducible-builds.org/docs/timestamps/ "Timestamps are best avoided" Alternately, one could hard-code a specific timestamp (e.g. 2012-04-18), or patch it to use the SOURCE_DATE_EPOCH environment variable (which might at least be acceptible to submit upstream), although since SOURCE_DATE_EPOCH is always 0 in guix, this seems a bit silly to me. :) live well, vagrant --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0003-gnu-keyutils-Avoid-embedding-build-timestamp.patch Content-Transfer-Encoding: quoted-printable From=2036888e9dc33188115142ecde9d31eb3884004940 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Wed, 1 Jun 2022 09:24:00 -0700 Subject: [PATCH 3/4] gnu: keyutils: Avoid embedding build timestamp. * gnu/packages/crypto.scm (keyutils)[arguments]: Add 'avoid-embedding-timestamp phase. =2D-- gnu/packages/crypto.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index e98d9634dc..6e4b1331e7 100644 =2D-- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -398,6 +398,11 @@ (define-public keyutils #:phases #~(modify-phases %standard-phases (delete 'configure) ; no configure script + (add-after 'unpack 'avoid-embedding-timestamp + ;; Do not embed build timestamp + (lambda _ + (substitute* "Makefile" + (("shell date") "shell true")))) (add-after 'install 'install:static (lambda _ (with-directory-excursion #$output =2D-=20 2.35.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYpfqCwAKCRDcUY/If5cW qko4AP9A6S6tyEpFwv19HR1KNbDvQ3PJHxmQ7NEdCj8uqu7UQQEApdZnn0Yku6dE vqJX43CfX6Nhq1YDm6uFRcTseq4wLA0= =MJyN -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 04 04:39:53 2022 Received: (at 55758) by debbugs.gnu.org; 4 Jun 2022 08:39:53 +0000 Received: from localhost ([127.0.0.1]:57632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxPK5-0007Aa-1j for submit@debbugs.gnu.org; Sat, 04 Jun 2022 04:39:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxPK2-0007AL-Og for 55758@debbugs.gnu.org; Sat, 04 Jun 2022 04:39:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxPJw-0004DK-Py; Sat, 04 Jun 2022 04:39:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=hJJ+SaYtW2xmRkWbU9jZl8FgMsE17mS1fEpGx8WkxR0=; b=HQ1+he7h6iVKA0y+3Ivt 0ouCRkKDjflJcEsdBr4Vpn2LlZ00WgDtXkqcyYCbBd5tmubI0X3NGwpEAAkuSi/rxWvtIMR7YT+PJ zjdeg+GDrZ9aCIoTg/TPxHAfUZeYMZP1uHDZh2CLnN59X7gHUaTdTNAJT5BdXPyhd2WWukdy6mOro 81cSEIPibbYe2yjbGTTvFZGA4+CG8iBAq9swqA7iRN95v5UAyo+hkQrcaoRLdglXJbotxzxISTD9S D5+Zue9TPjnI9YNeAr9Djl+zw9eKSux2E90weApvAA/n7312AmDnWqkiSpdGAQDHcnFh+8cDjK7yx p2ShEsTrnhHlOA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33860 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxPJv-00061A-8F; Sat, 04 Jun 2022 04:39:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: bug#55758: reproducible builds: keyutils: avoid embedding timestamp References: <877d60au45.fsf@contorta> Date: Sat, 04 Jun 2022 10:39:40 +0200 In-Reply-To: <877d60au45.fsf@contorta> (Vagrant Cascadian's message of "Wed, 01 Jun 2022 15:36:58 -0700") Message-ID: <87sfokg6ur.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55758 Cc: 55758@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Vagrant Cascadian skribis: > Alternately, one could hard-code a specific timestamp (e.g. 2012-04-18), > or patch it to use the SOURCE_DATE_EPOCH environment variable (which > might at least be acceptible to submit upstream), although since > SOURCE_DATE_EPOCH is always 0 in guix, this seems a bit silly to me. :) Yup. :-) > From 36888e9dc33188115142ecde9d31eb3884004940 Mon Sep 17 00:00:00 2001 > From: Vagrant Cascadian > Date: Wed, 1 Jun 2022 09:24:00 -0700 > Subject: [PATCH 3/4] gnu: keyutils: Avoid embedding build timestamp. > > * gnu/packages/crypto.scm (keyutils)[arguments]: Add > 'avoid-embedding-timestamp phase. LGTM, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 06 01:26:19 2022 Received: (at 55758-done) by debbugs.gnu.org; 6 Jun 2022 05:26:19 +0000 Received: from localhost ([127.0.0.1]:34201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny5Fr-00072s-HX for submit@debbugs.gnu.org; Mon, 06 Jun 2022 01:26:19 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:33110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny5Fm-00072b-OL for 55758-done@debbugs.gnu.org; Mon, 06 Jun 2022 01:26:18 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id C9C261AAD2; Sun, 5 Jun 2022 22:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654493168; bh=Zj4YvJtvfH6TFHeJus+WSCMs0md6j+UN2UHKkHM9Cj8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jhiTIOSDrxK6J1VJZunq1jyppYYe1sjK/WbIZfhs1umd9Csi3BUj+usA69l3M8nM9 036JvrHIcu2gzAcNzgM5KSxH+H5AAQ7D3Vp0DslEV2gw83D+tlg1by/qaMggSpeguM sIjw4RwGAc1cmd9akHskyl8g9ZkX2bN0Tw8n892XW+IfXUnhPFkm5jzfgrP2uqZ/hK 0nXemGaNzs6amXbFj57ZdJXoahMaQP1/2JTIB3bS73qgAKkJWehgecEo3GYb4rbJjE sEifjn0rPsJMZLkYNTOYBr6sehuiy+LWrzbkPmb80LW7CGI6JqdHQbhIFJvddF7yOz q4QuDvK/aaVEQ== From: Vagrant Cascadian To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55758: reproducible builds: keyutils: avoid embedding timestamp In-Reply-To: <87sfokg6ur.fsf@gnu.org> References: <877d60au45.fsf@contorta> <87sfokg6ur.fsf@gnu.org> Date: Sun, 05 Jun 2022 22:26:04 -0700 Message-ID: <87fski4b2r.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55758-done Cc: 55758-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-06-04, Ludovic Court=C3=A8s wrote: > Vagrant Cascadian skribis: >> From 36888e9dc33188115142ecde9d31eb3884004940 Mon Sep 17 00:00:00 2001 >> From: Vagrant Cascadian >> Date: Wed, 1 Jun 2022 09:24:00 -0700 >> Subject: [PATCH 3/4] gnu: keyutils: Avoid embedding build timestamp. >> >> * gnu/packages/crypto.scm (keyutils)[arguments]: Add >> 'avoid-embedding-timestamp phase. > > LGTM, thanks! Pushed as 32322d0926313d28276928d81188ee909e464eb0! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYp2P7QAKCRDcUY/If5cW qrSSAP9gNoEDoP3LgI/1nr5Xq8lnAOgBugBJH4pQekvmZCi9AQD+IjwkCe2XH1Jj +IRem5DMuxcCHh6YIRcvY4t8+oi/Aww= =LTLL -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 18 23:16:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Jul 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator