🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6237

Bug#1155386: strip-nondeterminism: wrong result for .clj files and odd -T values

#6237
From: Chris Lamb
Date: Thu, 26 Nov 2026 00:40
31 lines
4074 bytes
Hi Rob,

> 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
> [..]

Nice investigation work. :)

And it seems like my 2017 comment in jar.pm was misleading. The ZIP
specification itself uses the MS-DOS timestamp format, so it is not
relevant whether the file is extracted to any filesystem (FAT/NTFS/ext4)
or not.

I'll push a fix now, correcting that comment also. I will release this
coming Friday.

Thanks for reminding me about the rather cute "$timestamp--;" fix. Having
to subtract 2 makes the whole fix even more of a weird quirk .

(Incidentally, should we be running this with .cljc files as well? The
current regex is only matching .clj.)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-
Technical Details
Message-ID: <O3vGN-eawi-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <O3tEZ-e9lk-1@gated-at.bofh.it> <O3tEZ-e9lk-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: "Chris Lamb" <lamby@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155386: strip-nondeterminism: wrong result for .clj files and odd -T values
Date: Thu, 26 Nov 2026 01:40:01 +0100
Message-ID: <O3vGN-eawi-3@gated-at.bofh.it>
References: <O3tEZ-e9lk-1@gated-at.bofh.it> <O3tEZ-e9lk-1@gated-at.bofh.it>
X-Original-To: "Rob Browning" <rlb@defaultvalue.org>, 1155386@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 26 00:37:20 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: "Chris Lamb" <lamby@debian.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: followup 1155386
X-Debian-Pr-Package: strip-nondeterminism
X-Debian-Pr-Source: strip-nondeterminism
X-Me-Sender: <xms:3H4Haz_ExaZtD3b28emyt2-57df32GVQY7kowJClogdSvmI1bJXeYw>
    <xme:3H4Ha6j8Jxi9BPj_JEtIM0u7WS02Fh_qz9mIHXcabDI0T6ePo8vUWmjdmgnC5qgDC
    3hngV6jpfrIHi__XsYgBpgPqBCnCZu-x0gWvT2KlunzcZ84Dg>
X-Me-Proxy-Cause: dmFkZTE4EnkRehm5T+eePGe+xOh8BuRmj1tjMaMM+lWbm0Awwmk5QzVBKl1DZTrHjw7sAu
    Wa/fZ7r15Yc6zRfYYJ3/GK2togB2QsgBrmDriKmwoIignHAcfA1DaLvU8/Eb3yAL0eYiF7
    OdzJ+vC8JYqayE7aNVBdWV9/ngJWc9M29UCEpqn20Fq1ZVRa+mwSRpQruDwXpNjlPbYIDL
    QSphNqwAHEUFQL59y591UYuqUdeA301svRN3Jd5vskyHP1FoznchldpxszxpJ4R4I0t9dH
    MigUFoDfJU8UA3dycKdYH/p6CI5xuHRZLtzT5vdKiRaz3lrZsg5pM4ZVkyiaKsnNa1vmGd
    kkQA3X5GuHjbVFeddfhH7+fO3Dwk4nd2omaml+zyas2OyY4SoDCw+kjYKUNarowSOsjoXY
    dd8Ft9+gaNUIHfEXJRq1qa+dWfJWTGirF6RaFbkkfyKJKiqxCLh4g9TGAHirYvek+xxGAR
    2A7zUiov8gL0IRXFXGsGBv5zzXNt4b7uU19X8cRCcKsapfO+mEpzlC57v70ALmBo5XBmvp
    ybO+iQI+JU1yfqTX8Qr05/437H9FS0BGu5YpbwYWPG3TKafbSMHNLqxcBt9O5zV9wtDnGj
    mtT0RAYet7NjujWGlov4xpWFnGsxUPZ5ijuoxCJ79MyHmI/N2ykQ0PcBepRQ
X-Me-Proxy: <xmx:3H4Hayq5lWtL54v-i3-QKx180pmxFK5UlA__4GKoVvsNQPSGtUizDw>
    <xmx:3H4Ha-nbrZmY3Hda3ITxOcbrjpazGS_l7_7Z1UOSrpvqxe4oxPeXwg>
    <xmx:3H4Ha-x1LFXa0e02M2uz1KDfLeN8-QN8CArTX--T5_LgRKojOfyguQ>
    <xmx:3H4Ha-koCDFZlGFLPsN_vpFICFsaRTdv5gnYhCBeJdWmlbGCbBLN-w>
    <xmx:3H4Ha_dzm9VAbo_g4Xu0Eqjt_WRPYPVrf_BThdke2eZNFmnWigKlm-Xx>
Feedback-ID: i61d64b6b:Fastmail
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
X-Threadid: AKdva5TTnhnJ
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Debian-User: lamby
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005111
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 31
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 25 Nov 2026 16:35:13 -0800
X-Original-Message-ID: <32026b60-1041-4175-9cb2-a5d3aa235b50@app.fastmail.com>
X-Original-References: <87pkvsh84i.fsf@trouble.defaultvalue.org> <87pkvsh84i.fsf@trouble.defaultvalue.org>