[Reproducible-builds] Bug#779627: Bug#779627: dh-strib-nondeterminism: Don't fail with errornous files

Ole Streicher olebole at debian.org
Thu Mar 19 13:03:28 UTC 2015


Hi Jeremy,

On 19.03.2015 12:53, Jérémy Bobbio wrote:
> No rules forbid invalid compressed files but dh_strip_nondeterminism
> will try to normalize everything that can be normalized… Just like
> dh_strip will work on all binary objects it can identify.

I would not argue against that it tries it -- but when it does not
succeed, I do not see a reason why this should result in an error. Why
can't it just silently take the next file?

> I would argue that astropy is a special case here and that it should be
> solved by adding something like the following in `debian/rules`:
> 
> 	override_dh_strip_nondeterminism:
> 		dh_strip_nondeterminism -Xinvalid.dat.gz

This would be a workaround; however I would prefer if the tool would
just not crash in this case. Except there is a good reason why it
*should* crash -- is there a use case for that?

Best regards

Ole



More information about the Reproducible-builds mailing list