Bug#1136323: dh_strip_nondeterminism does not process LibreOffice zip-based files

Gioele Barabucci gioele at svario.it
Mon May 18 12:25:06 BST 2026


On 18/05/26 13:16, Holger Levsen wrote:
> On Mon, May 11, 2026 at 10:46:03PM +0200, Gioele Barabucci wrote:
>> 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.
> 
> what filename endings have those files?

The sure ones are .bau, .dat, .so{b,p}. Then there are a couple extra 
that will need further inspection.

>> 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>.
> 
> so maybe this bug should be reassigned to src:file?

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.

-- 
Gioele Barabucci



More information about the Reproducible-builds mailing list