[Reproducible-builds] Bug#779627: Bug#779627: dh-strib-nondeterminism: Don't fail with errornous files
Jérémy Bobbio
lunar at debian.org
Thu Mar 19 11:53:55 UTC 2015
Ole Streicher:
> The python-astropy package contains an invalid gzip file for testing
> purposes (astropy/utils/tests/data/invalid.dat.gz). The reproducibility
> check fails here with
>
> dh_strip_nondeterminism
> debian/python-astropy/usr/lib/python2.7/dist-packages/astropy/utils/tests/data/invalid.dat.gz: Malformed gzip file at /usr/share/perl5/File/StripNondeterminism/handlers/gzip.pm line 83.
> debian/rules:14: recipe for target 'binary' failed
> make: *** [binary] Error 255
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
>
> Full log:
>
> https://reproducible.debian.net/rbuild/sid/amd64/python-astropy_0.4.2-2.rbuild.log
>
> Since there is no rule that forbids invalid compressed files,
> dh_strip_nondererminism should not fail here.
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 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
--
Lunar .''`.
lunar at debian.org : :Ⓐ : # apt-get install anarchism
`. `'`
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150319/75146fde/attachment-0001.sig>
More information about the Reproducible-builds
mailing list