- Package:
- dh-strip-nondeterminism
- Source:
- dh-strip-nondeterminism
- Submitter:
- Gioele Barabucci
- Date:
- 2026-06-06 09:57:02 UTC
- Severity:
- normal
dh_strip_nondeterminism currently ignores all zip-based file types produced or used by LibreOffice (for example template files, or color palettes), although it is able to remove timestamps and other sources of nondeterminism from other zip-based file formats. This hinders the reproducibility of many packages that build and ship LibreOffice files (for instance libreoffice-commons and libreoffice-l10n-*). This issue is in part due to the fact that `file` is not able to properly tell these files apart from normal (or apparently malformed) zip files, as reported in <https://bugs.debian.org/1136317>. Regards,
what filename endings have those files? so maybe this bug should be reassigned to src:file?
what filename endings have those files? so maybe this bug should be reassigned to src:file?
The sure ones are .bau, .dat, .so{b,p}. Then there are a couple extra
that will need further inspection.
1136317 blocks this bug. dh_strip_nondeterminism will need extra code to
handle these file extensions. As far as I can see from the code,
dh_strip_nondeterminism does not blindly strip timestamps & Co. from all
zip-based file types.
Hi, Am 06.06.26 um 11:12 schrieb Christoph Biedl: strip-nondeterminism seems to work when called manually. dh_strip_nondeterminism doesn't. (uses file). Yes, that seems to be the the essence for dh_strip_nondeterminism. If it's not detected as zip file is not done. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136323, too The problem is that it relies solely on file. I'd argue .zip being enough to know it's a .zip and be done. Just testing https://people.debian.org/~rene/manual-strip-nondeterminism.diff (for probably even more file endings, though), but that of course does not scale. Regards, Rene