On 2026-11-02 10:25, Tim Parenti wrote:
perhaps whenever the check generates "identical from now on"
errors fatally, it could add a more helpful diagnostic that says something
along the lines of "This may be expected if time has passed since the
release was generated, consider setting CHECK_NOW_TIMESTAMP".
Sounds good. I installed the attached proposed patch to do something along
those lines.
From e29969d3f327f129ec4aebaa9c7aee96c46f8e3b Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Tue, 3 Nov 2026 22:37:25 -0800
Subject: [PROPOSED] =?UTF-8?q?Give=20advice=20for=20=E2=80=98make=20now.ck?=
=?UTF-8?q?=E2=80=99=20failures?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Suggested by Tim Parenti in:
https://lists.iana.org/hyperkitty/list/[email protected]/message/R4XDBOBBLD6RRIABZQUA6H5ZVWRP7YP3/
* checknow.awk: If "identical from now on" diagnostics were
generated, output advice for fixing them.
---
checknow.awk | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/checknow.awk b/checknow.awk
index 8139ad57..a92cd487 100644
--- a/checknow.awk
+++ b/checknow.awk
@@ -35,7 +35,7 @@ BEGIN {
zone2 = zonenow[data]
if (zone2) {
printf "zones %s and %s identical from now on\n", zone, zone2
- status = 1
+ identical = status = 1
} else
zonenow[data] = zone
}
@@ -55,5 +55,15 @@ END {
printf "%s=%s\n", now, zones[data] >>now_out
}
}
+ if (identical) {
+ print ""
+ print "To suppress \"identical from now on\" failures"
+ print "you can set CHECK_NOW_TIMESTAMP to spoof the clock, e.g.:"
+ print ""
+ print " release_time=$(awk '/^Release /{print $4 \"T\" $5 $6; exit}' NEWS)"
+ print " make CHECK_NOW_TIMESTAMP=$(date -d$release_time +%s) check"
+ print ""
+ print "Better yet, you can remove the duplicates from zonenow.tab."
+ }
exit status
}
--
2.53.0