Bug#1136323: Bug#1138991: misdetcs .zip as "Microsoft OOXML"

Rene Engelhard rene at debian.org
Sat Jun 6 10:55:07 BST 2026


Hi,

Am 06.06.26 um 11:12 schrieb Christoph Biedl:
> About the # that brought you here: Did I understand correctly
> strip-nondeterminism adjusts the timestamps in the file listing of a

strip-nondeterminism seems to work when called manually.

dh_strip_nondeterminism doesn't. (uses file).

> simple .zip file- but not if it's OOXML?

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


> Then aligning that might be a way out of your current problem.

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



More information about the Reproducible-builds mailing list