Article View: linux.debian.bugs.dist
Article #6220Bug#1155386: strip-nondeterminism: wrong result for .clj files and odd -T values
From: Rob Browning
Date: Wed, 25 Nov 2026 22:30
Date: Wed, 25 Nov 2026 22:30
36 lines
2862 bytes
2862 bytes
Package: strip-nondeterminism Version: 1.14.1-2 While packaging clojure 1.12.7, I happened to notice that the resulting jar ran "time clojure -e ''" much more slowly than expected. Looking inside the jar, I saw that the .clj files had the same timestamps as their corresponding .class files when they should have had an older timestamp. I wondered if this might be due to the 2s jar/zip timestamp granularity, and so I tested it directly, using the sbuild's timestamp via strip-nondeterminism -T 1788559311 clojure.jar This demonstrated the problem (.clj and .class files had the same timestamps). Then I tried strip-nondeterminism -T 1788559310 clojure.jar which worked correctly (.class files were newer than corresponding .clj files). Without fully understanding the context, I wondered if, given the 2s granularity, this decrement isn't large enough: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/blob/763f4f83710b1a072e96a476f064203738d68522/lib/File/StripNondeterminism/handlers/jar.pm#L123 cf. https://bugs.debian.org/877418 Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
Technical Details
Message-ID:
<O3tEZ-e9lk-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Rob Browning <rlb@defaultvalue.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155386: strip-nondeterminism: wrong result for .clj files and odd -T values Date: Wed, 25 Nov 2026 23:30:01 +0100 Message-ID: <O3tEZ-e9lk-1@gated-at.bofh.it> X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 25 22:23:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: Rob Browning <rlb@defaultvalue.org>, 1155386@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: reproducible-builds@lists.alioth.debian.org X-Debian-Pr-Message: report 1155386 X-Debian-Pr-Package: strip-nondeterminism X-Debian-Pr-Source: strip-nondeterminism MIME-Version: 1.0 Content-Type: text/plain X-Greylist: delayed 459 seconds by postgrey-1.37 at buxtehude; Wed, 25 Nov 2026 22:21:30 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005085 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 36 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 25 Nov 2026 16:13:49 -0600 X-Original-Message-ID: <87pkvsh84i.fsf@trouble.defaultvalue.org>