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                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to