Bug#859103: strip-nondeterminism: does not replace all timestamps in zip archives

Chris Lamb chris at reproducible-builds.org
Tue Jun 2 17:19:57 BST 2026


Rene Engelhard wrote:

> According to https://wiki.debian.org/ReproducibleBuilds/TimestampsInZip
> (dh-)strip-non-determinism should fix this, which it doesn't.

Just as v. quick experiment, I extracted images_helpimg.zip from the
libreoffice-help-common package and my local strip-nondeterminism
checkout from Git was able to normalise it:

  $ cp images_helpimg.zip  images_helpimg.orig.zip 
  $ PERL5LIB=lib/ bin/strip-nondeterminism --verbose -T 503575200 images_helpimg.zip 
  $ diffoscope images_helpimg.orig.zip images_helpimg.zip | grep 85-Dec | head 
  │ +-rw-r--r--  2.0 unx     1810 b- stor 85-Dec-16 10:00 media/helpimg/area1.png
  │ +-rw-r--r--  2.0 unx     1759 b- stor 85-Dec-16 10:00 media/helpimg/area2.png
  │ +-rw-r--r--  2.0 unx     1654 b- stor 85-Dec-16 10:00 media/helpimg/bg/feldalle.png
  │ +-rw-r--r--  2.0 unx      454 b- stor 85-Dec-16 10:00 media/helpimg/bg/feldbrei.png
  │ +-rw-r--r--  2.0 unx      755 b- stor 85-Dec-16 10:00 media/helpimg/bg/feldcolo.png
  │ +-rw-r--r--  2.0 unx     3752 b- stor 85-Dec-16 10:00 media/helpimg/bg/names_as_addressing.png
  │ +-rw-r--r--  2.0 unx     1745 b- stor 85-Dec-16 10:00 media/helpimg/bg/sheettabs.png
  │ +-rw-r--r--  2.0 unx     1151 b- stor 85-Dec-16 10:00 media/helpimg/bg/swh00117.png
  │ +-rw-r--r--  2.0 unx      734 b- stor 85-Dec-16 10:00 media/helpimg/bg/zellvor.png
  │ +-rw-r--r--  2.0 unx      937 b- stor 85-Dec-16 10:00 media/helpimg/border_ca_1.png
                                          ^^^^^^^^^

> The LO build *does* run dh_strip_nondeterminism though

Can you confirm that? From an admittedly *very* quick glance at the packaging, I
don't actually see a call to strip-nondetermism, and none seems to be implied
via dh(1). I could very easily be missing something.


Best wishes,

-- 
      o
    ⬋   ⬊      Chris Lamb
   o     o     reproducible-builds.org 💠
    ⬊   ⬋
      o



More information about the Reproducible-builds mailing list