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

Rene Engelhard rene at debian.org
Tue Jun 2 17:57:51 BST 2026


clone 859103 -1
reassign 859103 -1 dh-strip-nondeterminism
found -1 1.15.0-1
retitle 859103 dh-strip-nondeterminism: does not replace all timestamps in zip archives (since file 5.47?)
thanks

Hi,

Am 02.06.26 um 18:35 schrieb Rene Engelhard:
> Am 02.06.26 um 18:19 schrieb Chris Lamb:
>>> 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.
> ??
> 
> rene at frodo:~$ wget "https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=all&ver=4%3A26.2.4.2-1&stamp=1780358607&raw=1"
> --2026-06-02 18:31:07-- https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=all&ver=4%3A26.2.4.2-1&stamp=1780358607&raw=1
> Auflösen des Hostnamens buildd.debian.org (buildd.debian.org)… 2607:f8f0:614:1::1274:62, 209.87.16.62
> Verbindungsaufbau zu buildd.debian.org (buildd.debian.org)|2607:f8f0:614:1::1274:62|:443 … verbunden.
> HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
> Länge: 60481725 (58M) [text/plain]
> Wird in »fetch.php?pkg=libreoffice&arch=all&ver=4:26.2.4.2-1&stamp=1780358607&raw=1« gespeichert.
> 
> fetch.php?pkg=libreoffice&arch=all&ver= 100%[=============================================================================>] 57,68M  10,6MB/s    in 6,2s
> 
> 2026-06-02 18:31:14 (9,30 MB/s) - »fetch.php?pkg=libreoffice&arch=all&ver=4:26.2.4.2-1&stamp=1780358607&raw=1« gespeichert [60481725/60481725]
> 
> rene at frodo:~$ grep -A 5 dh_strip fetch.php\?pkg\=libreoffice\&arch\=all\&ver\=4\:26.2.4.2-1\&stamp\=1780358607\&raw\=1
> dh_strip_nondeterminism -i
>      Normalized debian/libreoffice-l10n-af/usr/lib/libreoffice/program/resource/af/LC_MESSAGES/xsc.mo
>      Normalized debian/libreoffice-l10n-af/usr/lib/libreoffice/program/resource/af/LC_MESSAGES/wpt.mo
>      Normalized debian/libreoffice-l10n-af/usr/lib/libreoffice/program/resource/af/LC_MESSAGES/wiz.mo
>      Normalized debian/libreoffice-l10n-af/usr/lib/libreoffice/program/resource/af/LC_MESSAGES/vcl.mo
>      Normalized debian/libreoffice-l10n-af/usr/lib/libreoffice/program/resource/af/LC_MESSAGES/uui.mo
> 
> 
> and libreoffice-help-common is arch-indep. So yes, it does. It even does stuff for .mo files :)

Oh, dear. is dh-strip-determinism using file to check whether a .zip is really a .zip? That could explain it..:

root at frodo:/usr/share/libreoffice/share/config# file *.zip
images_colibre.zip:          Zip archive data, made by v2.0 UNIX, extract using at least v2.0, last modified Jun 01 2026 20:32:26, uncompressed size 412, method=store
images_colibre_dark.zip:     Zip archive data, made by v2.0 UNIX, extract using at least v2.0, last modified Jun 01 2026 20:32:26, uncompressed size 372, method=store
images_colibre_dark_svg.zip: Zip archive data, made by v2.0 UNIX, extract using at least v2.0, last modified Jun 01 2026 20:32:26, uncompressed size 802, method=deflate
images_colibre_svg.zip:      Zip archive data, made by v2.0 UNIX, extract using at least v2.0, last modified Jun 01 2026 20:32:26, uncompressed size 884, method=deflate
images_helpimg.zip:          Zip archive data, made by v2.0 UNIX, extract using at least v2.0, last modified Jun 01 2026 21:34:46, uncompressed size 1810, method=store
root at frodo:/usr/share/libreoffice/share/config# apt upgrade
The following packages were automatically installed and are no longer required:
   libpoppler-cpp2  libpoppler147  libxmlsec1-gnutls10310  libxmlsec1-openssl10310
Use 'sudo apt autoremove' to remove them.

Upgrading:
   adduser     ca-certificates  file              libcmis-dev  libmagic-mgc    libraptor2-0    python3-numpy      r-cran-tidyselect
   apparmor    dh-apparmor      libapparmor1      libgif7      libmagic1t64    libraptor2-dev  python3-numpy-dev  xserver-common
   base-files  dh-cargo         libcmis-0.6-6t64  libgit2-1.9  libopenmpt0t64  python3-build   python3-packaging  xvfb

Summary:
   Upgrading: 24, Installing: 0, Removing: 0, Not Upgrading: 0
   Download size: 18.3 MB
   Space needed: 5276 kB / 74.7 GB available

Continue? [Y/n]
Get:1 http://deb.debian.org/debian unstable/main amd64 base-files amd64 14.2 [88.0 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 python3-numpy amd64 1:2.4.6+ds-1 [7333 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 python3-numpy-dev amd64 1:2.4.6+ds-1 [136 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 adduser all 3.156 [212 kB]
Get:5 http://deb.debian.org/debian unstable/main amd64 ca-certificates all 20260601 [134 kB]
Get:6 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.47-3 [42.9 kB]
Get:7 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.47-3 [111 kB]
Get:8 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.47-3 [346 kB]
Get:9 http://deb.debian.org/debian unstable/main amd64 apparmor amd64 4.1.7-4 [709 kB]
Get:10 http://deb.debian.org/debian unstable/main amd64 dh-apparmor all 4.1.7-4 [9780 B]
Get:11 http://deb.debian.org/debian unstable/main amd64 dh-cargo all 34 [9864 B]
Get:12 http://deb.debian.org/debian unstable/main amd64 libapparmor1 amd64 4.1.7-4 [36.2 kB]
Get:13 http://deb.debian.org/debian unstable/main amd64 libcmis-dev amd64 0.6.3-1 [635 kB]
Get:14 http://deb.debian.org/debian unstable/main amd64 libcmis-0.6-6t64 amd64 0.6.3-1 [469 kB]
Get:15 http://deb.debian.org/debian unstable/main amd64 libgif7 amd64 6.1.3-1 [46.1 kB]
Get:16 http://deb.debian.org/debian unstable/main amd64 libgit2-1.9 amd64 1.9.4+ds-1 [561 kB]
Get:17 http://deb.debian.org/debian unstable/main amd64 libopenmpt0t64 amd64 0.8.7-1 [932 kB]
Get:18 http://deb.debian.org/debian unstable/main amd64 libraptor2-dev amd64 2.0.16-7 [212 kB]
Get:19 http://deb.debian.org/debian unstable/main amd64 libraptor2-0 amd64 2.0.16-7 [178 kB]
Get:20 http://deb.debian.org/debian unstable/main amd64 python3-packaging all 26.2-1 [84.1 kB]
Get:21 http://deb.debian.org/debian unstable/main amd64 python3-build all 1.5.0-1 [71.2 kB]
Get:22 http://deb.debian.org/debian unstable/main amd64 r-cran-tidyselect amd64 1.2.1+dfsg-3 [224 kB]
Get:23 http://deb.debian.org/debian unstable/main amd64 xserver-common all 2:21.1.23-1 [2451 kB]
Get:24 http://deb.debian.org/debian unstable/main amd64 xvfb amd64 2:21.1.23-1 [3260 kB]
Fetched 18.3 MB in 2s (11.0 MB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = (unset),
	LC_NUMERIC = (unset),
	LC_COLLATE = (unset),
	LC_TIME = (unset),
	LC_MESSAGES = (unset),
	LC_MONETARY = (unset),
	LC_ADDRESS = (unset),
	LC_IDENTIFICATION = (unset),
	LC_MEASUREMENT = (unset),
	LC_PAPER = (unset),
	LC_TELEPHONE = (unset),
	LC_NAME = (unset),
	LANG = "de_DE.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
Error: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
(Reading database ... 128425 files and directories currently installed.)
Preparing to unpack .../base-files_14.2_amd64.deb ...
Unpacking base-files (14.2) over (14.1) ...
Setting up base-files (14.2) ...
(Reading database ... 128425 files and directories currently installed.)
Preparing to unpack .../python3-numpy_1%3a2.4.6+ds-1_amd64.deb ...
Unpacking python3-numpy (1:2.4.6+ds-1) over (1:2.4.4+ds-2) ...
Preparing to unpack .../python3-numpy-dev_1%3a2.4.6+ds-1_amd64.deb ...
Unpacking python3-numpy-dev:amd64 (1:2.4.6+ds-1) over (1:2.4.4+ds-2) ...
Preparing to unpack .../archives/adduser_3.156_all.deb ...
Unpacking adduser (3.156) over (3.155) ...
Setting up adduser (3.156) ...
Installing new version of config file /etc/adduser.conf ...
(Reading database ... 128426 files and directories currently installed.)
Preparing to unpack .../00-ca-certificates_20260601_all.deb ...
Unpacking ca-certificates (20260601) over (20260223) ...
Preparing to unpack .../01-file_1%3a5.47-3_amd64.deb ...
Unpacking file (1:5.47-3) over (1:5.46-5+b2) ...
Preparing to unpack .../02-libmagic1t64_1%3a5.47-3_amd64.deb ...
Unpacking libmagic1t64:amd64 (1:5.47-3) over (1:5.46-5+b2) ...
Preparing to unpack .../03-libmagic-mgc_1%3a5.47-3_amd64.deb ...
Unpacking libmagic-mgc (1:5.47-3) over (1:5.46-5+b2) ...
Preparing to unpack .../04-apparmor_4.1.7-4_amd64.deb ...
Unpacking apparmor (4.1.7-4) over (4.1.7-2) ...
Preparing to unpack .../05-dh-apparmor_4.1.7-4_all.deb ...
Unpacking dh-apparmor (4.1.7-4) over (4.1.7-2) ...
Preparing to unpack .../06-dh-cargo_34_all.deb ...
Unpacking dh-cargo (34) over (33) ...
Preparing to unpack .../07-libapparmor1_4.1.7-4_amd64.deb ...
Unpacking libapparmor1:amd64 (4.1.7-4) over (4.1.7-2) ...
Preparing to unpack .../08-libcmis-dev_0.6.3-1_amd64.deb ...
Unpacking libcmis-dev (0.6.3-1) over (0.6.2-4) ...
Preparing to unpack .../09-libcmis-0.6-6t64_0.6.3-1_amd64.deb ...
Unpacking libcmis-0.6-6t64 (0.6.3-1) over (0.6.2-4) ...
Preparing to unpack .../10-libgif7_6.1.3-1_amd64.deb ...
Unpacking libgif7:amd64 (6.1.3-1) over (5.2.2-1+b2) ...
Preparing to unpack .../11-libgit2-1.9_1.9.4+ds-1_amd64.deb ...
Unpacking libgit2-1.9:amd64 (1.9.4+ds-1) over (1.9.3+ds-1+b1) ...
Preparing to unpack .../12-libopenmpt0t64_0.8.7-1_amd64.deb ...
Unpacking libopenmpt0t64:amd64 (0.8.7-1) over (0.8.6-1) ...
Preparing to unpack .../13-libraptor2-dev_2.0.16-7_amd64.deb ...
Unpacking libraptor2-dev:amd64 (2.0.16-7) over (2.0.16-6+b3) ...
Preparing to unpack .../14-libraptor2-0_2.0.16-7_amd64.deb ...
Unpacking libraptor2-0:amd64 (2.0.16-7) over (2.0.16-6+b3) ...
Preparing to unpack .../15-python3-packaging_26.2-1_all.deb ...
Unpacking python3-packaging (26.2-1) over (26.0-1) ...
Preparing to unpack .../16-python3-build_1.5.0-1_all.deb ...
Unpacking python3-build (1.5.0-1) over (1.4.0-1) ...
Preparing to unpack .../17-r-cran-tidyselect_1.2.1+dfsg-3_amd64.deb ...
Unpacking r-cran-tidyselect (1.2.1+dfsg-3) over (1.2.1+dfsg-2) ...
Preparing to unpack .../18-xserver-common_2%3a21.1.23-1_all.deb ...
Unpacking xserver-common (2:21.1.23-1) over (2:21.1.22-1) ...
Preparing to unpack .../19-xvfb_2%3a21.1.23-1_amd64.deb ...
Unpacking xvfb (2:21.1.23-1) over (2:21.1.22-1) ...
Setting up libapparmor1:amd64 (4.1.7-4) ...
Setting up libmagic-mgc (1:5.47-3) ...
Setting up libmagic1t64:amd64 (1:5.47-3) ...
Setting up libraptor2-0:amd64 (2.0.16-7) ...
Setting up file (1:5.47-3) ...
Setting up r-cran-tidyselect (1.2.1+dfsg-3) ...
Setting up apparmor (4.1.7-4) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up ca-certificates (20260601) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL
2 added, 25 removed; done.
Setting up dh-cargo (34) ...
Setting up python3-packaging (26.2-1) ...
Setting up libcmis-0.6-6t64 (0.6.3-1) ...
Setting up python3-numpy-dev:amd64 (1:2.4.6+ds-1) ...
Setting up libgit2-1.9:amd64 (1.9.4+ds-1) ...
Setting up python3-numpy (1:2.4.6+ds-1) ...
Setting up libgif7:amd64 (6.1.3-1) ...
Setting up libcmis-dev (0.6.3-1) ...
Setting up libraptor2-dev:amd64 (2.0.16-7) ...
Setting up xserver-common (2:21.1.23-1) ...
Setting up python3-build (1.5.0-1) ...
Setting up dh-apparmor (4.1.7-4) ...
Setting up libopenmpt0t64:amd64 (0.8.7-1) ...
Setting up xvfb (2:21.1.23-1) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.42-16) ...
Processing triggers for ca-certificates (20260601) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for ca-certificates-java (20260311) ...
done.
root at frodo:/usr/share/libreoffice/share/config# file *.zip
images_colibre.zip:          Microsoft OOXML
images_colibre_dark.zip:     Microsoft OOXML
images_colibre_dark_svg.zip: Zip archive data, made by v2.0 UNIX, extract using at least v2.0, last modified Jun 01 2026 20:32:26, uncompressed size 802, method=deflate
images_colibre_svg.zip:      Zip archive data, made by v2.0 UNIX, extract using at least v2.0, last modified Jun 01 2026 20:32:26, uncompressed size 884, method=deflate
images_helpimg.zip:          Microsoft OOXML
root at frodo:/usr/share/libreoffice/share/config#

I agree that for files which might be .zips that can be a problem (see #1136323) but these are .zip files.

Regards,
  

Rene



More information about the Reproducible-builds mailing list