From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 05 10:50:59 2021 Received: (at submit) by debbugs.gnu.org; 5 Nov 2021 14:50:59 +0000 Received: from localhost ([127.0.0.1]:46794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj0YU-0002KV-PI for submit@debbugs.gnu.org; Fri, 05 Nov 2021 10:50:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:34596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miwyp-0000De-NX for submit@debbugs.gnu.org; Fri, 05 Nov 2021 07:02:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miwyp-0006kW-EL for bug-automake@gnu.org; Fri, 05 Nov 2021 07:01:55 -0400 Received: from smtprelay03.ispgateway.de ([80.67.18.15]:53628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miwyn-0003py-8b for bug-automake@gnu.org; Fri, 05 Nov 2021 07:01:55 -0400 Received: from [67.198.113.253] (helo=untitled-mac-wifi.internal.macports.net) by smtprelay03.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1miwz2-0006yH-7x for bug-automake@gnu.org; Fri, 05 Nov 2021 12:02:08 +0100 From: Ryan Schmidt Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Subject: version.texi UPDATED field does not account for timezone; can cause unnecessary documentation rebuilds, which could fail Message-Id: Date: Fri, 5 Nov 2021 06:01:44 -0500 To: bug-automake@gnu.org X-Mailer: Apple Mail (2.3445.9.7) X-Df-Sender: MzY4ODE4 Received-SPF: none client-ip=80.67.18.15; envelope-from=automake@ryandesign.com; helo=smtprelay03.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 05 Nov 2021 10:50:57 -0400 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 (---) The method by which automake decides to regenerate version.texi and = thereby to regenerate texinfo-based documentation is flawed because it = does not account for the fact that the user's timezone may be different = from the developer's timezone. The version.texi UPDATED and = UPDATED-MONTH fields do not specify a timezone. If configure has been = modified and if the user's timezone is sufficiently different from the = developer's, then UPDATED or less frequently UPDATED-MONTH may change = even though the texinfo sources' timestamps have not, which will cause = an unnecessary documentation rebuild, which may fail. For a build = failure that was caused by this flaw, see: https://trac.macports.org/ticket/63570#comment:5 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 17:10:47 2021 Received: (at 51609) by debbugs.gnu.org; 6 Nov 2021 21:10:47 +0000 Received: from localhost ([127.0.0.1]:50900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjSxa-0007Eu-Qh for submit@debbugs.gnu.org; Sat, 06 Nov 2021 17:10:47 -0400 Received: from freefriends.org ([96.88.95.60]:46500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjSxZ-0007Em-9L for 51609@debbugs.gnu.org; Sat, 06 Nov 2021 17:10:46 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 1A6LAhWe006128 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 6 Nov 2021 15:10:44 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 1A6LAhDT006127; Sat, 6 Nov 2021 15:10:43 -0600 Date: Sat, 6 Nov 2021 15:10:43 -0600 Message-Id: <202111062110.1A6LAhDT006127@freefriends.org> From: Karl Berry To: automake@ryandesign.com Subject: Re: bug#51609: version.texi UPDATED field does not account for timezone; can cause unnecessary documentation rebuilds, which could fail In-Reply-To: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51609 Cc: 51609@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 Ryan - thanks for the report. In Automake, those version.texi variables are updated by the auxiliary script mdate-sh. In Automake 1.16, it seems mdate-sh was changed to compute the dates using UTC (ChangeLog entry below, describing exactly what you saw, it seems), with these lines: # Use UTC to get reproducible result. TZ=UTC0 export TZ You can get the latest mdate-sh from automake or gnulib and just put it in place independent of any other updates. If you already have the latest mdate-sh, then I'd appreciate seeing a recipe to reproduce, hopefully with smaller than gdbm itself .. --thanks, karl. 2017-09-15 Reiner Herrmann (tiny change) mdate-sh: Ensure reproducible time output This change fixes automake bug#20314. [ https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20314 ] 'mdate-sh' pretty-prints the modification time of a file. But it's output can vary depending on the timezone of the caller. Someone in timezone GMT-12 will get a different result (day) than someone in timezone GMT+12. As this output is also used to create/update stamp files, which influence the further build process, the build result can vary. * lib/mdate-sh: Set 'TZ' to UTC which ensures reproducible output. * NEWS: Announce bug fix. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 07 11:53:31 2021 Received: (at 51609) by debbugs.gnu.org; 7 Nov 2021 16:53:31 +0000 Received: from localhost ([127.0.0.1]:54514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjlQA-0005Fx-95 for submit@debbugs.gnu.org; Sun, 07 Nov 2021 11:53:31 -0500 Received: from smtprelay03.ispgateway.de ([80.67.31.37]:24178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjl0r-0004Zw-Mb for 51609@debbugs.gnu.org; Sun, 07 Nov 2021 11:27:22 -0500 Received: from [67.198.113.253] (helo=untitled-mac-wifi.internal.macports.net) by smtprelay03.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mjl1B-0006SG-Ro; Sun, 07 Nov 2021 17:27:42 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Subject: Re: bug#51609: version.texi UPDATED field does not account for timezone; can cause unnecessary documentation rebuilds, which could fail From: Ryan Schmidt In-Reply-To: <202111062110.1A6LAhDT006127@freefriends.org> Date: Sun, 7 Nov 2021 10:27:15 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <7FBAAE31-938F-423D-9284-871FC5B4E569@ryandesign.com> References: <202111062110.1A6LAhDT006127@freefriends.org> To: Karl Berry X-Mailer: Apple Mail (2.3445.9.7) X-Df-Sender: MzY4ODE4 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51609 X-Mailman-Approved-At: Sun, 07 Nov 2021 11:53:29 -0500 Cc: 51609@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 (-) Thanks Karl, that must be the same problem. Apologies for not finding = that in my searches prior to filing this bug. gdbm 1.22 ships with mdate-sh "scriptversion=3D2010-08-21.06; # UTC" so = it must not yet include this fix. Looks like their makefiles are = generated with automake 1.15. I'll file a bug report with gdbm asking = them to regenerate with automake 1.16 or later. > On Nov 6, 2021, at 16:10, Karl Berry wrote: >=20 > Hi Ryan - thanks for the report. In Automake, those version.texi > variables are updated by the auxiliary script mdate-sh. In Automake > 1.16, it seems mdate-sh was changed to compute the dates using UTC > (ChangeLog entry below, describing exactly what you saw, it seems), > with these lines: >=20 > # Use UTC to get reproducible result. > TZ=3DUTC0 > export TZ >=20 > You can get the latest mdate-sh from automake or gnulib and just put = it > in place independent of any other updates. >=20 > If you already have the latest mdate-sh, then I'd appreciate seeing a > recipe to reproduce, hopefully with smaller than gdbm itself > .. --thanks, karl. >=20 >=20 > 2017-09-15 Reiner Herrmann (tiny change) >=20 > mdate-sh: Ensure reproducible time output >=20 > This change fixes automake bug#20314. > [ https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20314 ] >=20 > 'mdate-sh' pretty-prints the modification time of a file. But = it's > output can vary depending on the timezone of the caller. Someone = in > timezone GMT-12 will get a different result (day) than someone = in > timezone GMT+12. As this output is also used to create/update = stamp > files, which influence the further build process, the build = result can > vary. >=20 > * lib/mdate-sh: Set 'TZ' to UTC which ensures reproducible = output. > * NEWS: Announce bug fix. >=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 20:45:21 2021 Received: (at 51609-done) by debbugs.gnu.org; 28 Nov 2021 01:45:21 +0000 Received: from localhost ([127.0.0.1]:34754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr9Fp-0007S8-Ak for submit@debbugs.gnu.org; Sat, 27 Nov 2021 20:45:21 -0500 Received: from freefriends.org ([96.88.95.60]:60590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr9Fn-0007Rz-MK for 51609-done@debbugs.gnu.org; Sat, 27 Nov 2021 20:45:20 -0500 X-Envelope-From: karl@freefriends.org X-Envelope-To: <51609-done@debbugs.gnu.org> Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 1AS1jIwd011724 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <51609-done@debbugs.gnu.org>; Sat, 27 Nov 2021 18:45:19 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 1AS1jIK4011723; Sat, 27 Nov 2021 18:45:18 -0700 Date: Sat, 27 Nov 2021 18:45:18 -0700 Message-Id: <202111280145.1AS1jIK4011723@freefriends.org> From: Karl Berry To: 51609-done@debbugs.gnu.org Subject: Re: bug#51609: version.texi UPDATED field does not account for timezone; can cause unnecessary documentation rebuilds, which could fail In-Reply-To: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51609-done 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 (---) From unknown Fri Aug 08 22:17:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 26 Dec 2021 12:24:05 +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