From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aHZzHOcysmKSCAAAbAwnHQ (envelope-from ) for ; Tue, 21 Jun 2022 23:06:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4Pd1G+cysmKmiwAAG6o9tA (envelope-from ) for ; Tue, 21 Jun 2022 23:06:47 +0200 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 1C5BA4552B for ; Tue, 21 Jun 2022 23:06:47 +0200 (CEST) Received: from localhost ([::1]:47366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3l5C-0001FQ-8l for larch@yhetil.org; Tue, 21 Jun 2022 17:06:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3l4x-0001CS-Mi for guix-devel@gnu.org; Tue, 21 Jun 2022 17:06:32 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:60270) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3l4v-00043C-O9; Tue, 21 Jun 2022 17:06:31 -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 CBB081ABD5; Tue, 21 Jun 2022 14:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1655845586; bh=XpPEuv9RHEQXUYcfOPpnUJIMfo/aSy8InDFqhb0/yXI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=M/0RE/zKkTK3drzxtDNqCCpq0FRU0mlXdijL8G4Ev/tnQAXqjeXaXFyg15lv4DMvi u7wCudTtu13dBnyTMOQtjysctzEwx7j2dZmNiNJI2R1CAOBcGvsqouFOt5r7fOwxu5 znz7kynrujf7ILn4/5i8C7mrQfCZgWxbs0qO7Dp9pBLM6gmpruQfI9nNUGdoUlNTlt vNvlcAPovqa0Ma882ma+ar0jVyFoTQBHCCA3N9u7fgkj41h/GWxJeWdsKlIUS0RmBN mSjkeqJ3fqkbeSJA7s65KG4M7bzRFTVgVsFJkup+rpzhjXpIwW2AAqIoPPU0Kg9iE7 Qg/idc20M3xvg== From: Vagrant Cascadian To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix Devel Subject: Re: Set FORCE_SOURCE_DATE=1 by default In-Reply-To: <878rppagl4.fsf@contorta> References: <87bkv0f52g.fsf@contorta> <87h74muwu0.fsf@gnu.org> <878rppagl4.fsf@contorta> Date: Tue, 21 Jun 2022 14:06:22 -0700 Message-ID: <875yktafqp.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; 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-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655845607; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=O+f8Kb32Jr5o8844Qw9RJZQU8Pz8BX+vBhDPbQMFN08=; b=KlgsVFUC+XN7NgUp3G5St9LiwMHh/IyPa61WlTSOyGAbEqbOwWRQ6KPcoDvP7TF5D/XYW0 tmAOexXf632Pm18SKDYvdFuj2Us9NIqG+INeCReNKFoVRREHll4Ph2+D4XCxuYOsmsQdLK q6H8yqIYC7aDbvw+SB/YR6dVuu5zX6Lotpzk6GU1UgQGa0RagHL1xX3J55U9yVcPso+uDB htgC+nT04IUkTZHUtt84xlYargZC0P295wFQKgB1O36rymp7xh5LhRlsWb4keBofgHYC5q PXj0vPKDIB2mvXEoHwnT/4+q4VT87FTsZvivmTRuF0Di2PlrmS/xuMXM003X8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655845607; a=rsa-sha256; cv=none; b=RhpVrsqBWhuEimyaZ16GjnsfkJfPzoPAc43aAs2nG1Haz4w4JQS/I3mWJJ9YzFopOE+X0e 41zy/QJAdqLFwzrdYpLm7rXAhj0M2V78lSF30q5BOCYobKtcBoDBHTZ1N68VzbzPdP3ELy B30NEhdRZ/sXwjcU4bdM5b2NtIm95pvBvz7diADYKKD8grttQ2bn4Ri+o229rxw5LG8+fe mShg3RqkJn/Vgc08znw8Dzp8k8lOa7BYvFR9VRA6gJoivw2Yu9125dhXBGnPKixoW0+cvD Qu/d3kxhgS6nJo0WQ/DKPOTgvsZ9Mfznc8Saf0Tv+wk4MdBZPKZMjb76AMhrLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b="M/0RE/zK"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b="M/0RE/zK"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1C5BA4552B X-Spam-Score: -3.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: hK+m4P3fYai/ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-06-21, Vagrant Cascadian wrote: > On 2022-06-15, Ludovic Court=C3=A8s wrote: >> Vagrant Cascadian skribis: >>> From 7a39330b56934accef14b5e2ac003e211c7c6c5b Mon Sep 17 00:00:00 2001 >>> From: Vagrant Cascadian >>> Date: Fri, 10 Jun 2022 16:12:59 -0700 >>> Subject: [PATCH] guix: gnu-build-system: Set FORCE_SOURCE_DATE in >>> set-SOURCE-DATE-EPOCH phase. >>> >>> * guix/build/gnu-build-system.scm (set-SOURCE-DATE-EPOCH): Set >>> FORCE_SOURCE_DATE=3D1. Update URL. >> >> [...] >> >>> (define* (set-SOURCE-DATE-EPOCH #:rest _) >>> - "Set the 'SOURCE_DATE_EPOCH' environment variable. This is used by = tools >>> -that incorporate timestamps as a way to tell them to use a fixed times= tamp. >>> -See https://reproducible-builds.org/specs/source-date-epoch/." >>> - (setenv "SOURCE_DATE_EPOCH" "1")) >>> + "Set the 'SOURCE_DATE_EPOCH' and 'FORCE_SOURCE_DATE' environment var= iables. >>> +This is used by tools that incorporate timestamps as a way to tell the= m to use >>> +a fixed timestamp. See https://reproducible-builds.org/docs/source-da= te-epoch/." >>> + (setenv "SOURCE_DATE_EPOCH" "1") >>> + (setenv "FORCE_SOURCE_DATE" "1")) >> >> I=E2=80=99d mention above that FORCE_SOURCE_DATE is honored exclusively = by >> TeX Live. Still not terribly happy with it, but I think I can cope with this updated version: diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.= scm index d84411c090..cbfbd2a209 100644 =2D-- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -56,10 +56,14 @@ (define time-monotonic time-tai)) (else #t)) =20 (define* (set-SOURCE-DATE-EPOCH #:rest _) =2D "Set the 'SOURCE_DATE_EPOCH' environment variable. This is used by to= ols =2Dthat incorporate timestamps as a way to tell them to use a fixed timesta= mp. =2DSee https://reproducible-builds.org/specs/source-date-epoch/." =2D (setenv "SOURCE_DATE_EPOCH" "1")) + "Set the 'SOURCE_DATE_EPOCH' and 'FORCE_SOURCE_DATE' environment variabl= es. +This is used by tools that incorporate timestamps as a way to tell them to= use +a fixed timestamp. Setting 'FORCE_SOURCE_DATE' is needed in order for TeX +Live to respect 'SOURCE_DATE_EPOCH', which is used to generate documentati= on +in various packages. See +https://reproducible-builds.org/docs/source-date-epoch/." + (setenv "SOURCE_DATE_EPOCH" "1") + (setenv "FORCE_SOURCE_DATE" "1")) =20 (define (first-subdirectory directory) "Return the file name of the first sub-directory of DIRECTORY or false, = when live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYrIyzwAKCRDcUY/If5cW qjgtAP9nnRcnJcmkuDp8fuInI9797p4Y70Sat2MEtO0iCmVU5AD+NCT4nDlDMkrJ 69GBK55s+jkwaQ+1LjQCCPM90aRjYAQ= =2wMm -----END PGP SIGNATURE----- --=-=-=--