Bug#1093513: strip-nondeterminism: Claims to normalize `.mo` file when it in fact does not change it

Chris Lamb lamby at debian.org
Mon Jan 20 11:05:44 GMT 2025


Hi Niels,

> I am not sure why this happened because at first glance, the 
> `gettext.pm` handler does seem to the correct guards in place. 

As you imply, the "Normalizing da.mo" message is highly misleading:
it's printed *before* calling the normalizer in all cases, and simply
denotes that we are just about to call into the format-specific code.

I'll change it to "Calling normalizer for $filename" shortly.

> Nevertheless, it must be returning a truth value, since the message appears.

Contrary to what you write here, the normalizer is not returning a
truth value for da.mo — see my previous paragraph. Of course, it is
understandable you thought this given the message is, as you write,
rather misleading. :)

The main question that remains is whether there is anything in da.mo
that should be normalized. If there is, then there is an additional
bug in the normalizer (and not just the bug in the phrasing of the
message).


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list