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

