[Debian-astro-maintainers] Bug#892496: yt: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Mar 9 18:03:20 UTC 2018


Source: yt
Version: 3.4.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that yt could not be built reproducibly as it includes a generated
file that has non-determinstic contents.

We shouldn't ship the .c file anyway - it is generated from a .pyx
anyway.


Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index d2f12a7..8c64866 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ override_dh_auto_install:
 	dh_auto_install
 	rm $(CURDIR)/debian/python-yt/usr/lib/python*/dist-packages/yt/extern/tqdm/LICENSE
 	rm $(CURDIR)/debian/python3-yt/usr/lib/python*/dist-packages/yt/extern/tqdm/LICENSE
+	rm $(CURDIR)/debian/python-yt/usr/lib/python*/dist-packages/yt/frontends/artio/_artio_caller.c
 	rm $(CURDIR)/debian/python-yt/usr/lib/python*/dist-packages/yt/frontends/artio/artio_headers/LICENSE
 	rm $(CURDIR)/debian/python3-yt/usr/lib/python*/dist-packages/yt/frontends/artio/artio_headers/LICENSE
 	mv $(CURDIR)/debian/python-yt/usr/bin/yt $(CURDIR)/debian/python-yt/usr/bin/yt2


More information about the Debian-astro-maintainers mailing list