Bug#882579: landslide: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Nov 24 06:19:13 UTC 2017


Source: landslide
Version: 1.1.3-0.0
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that landslide could not be built reproducibly.

This is because the tests don't clear up enough after themselves
leaving a "presentation.html" file around which happens to include
the absolute build path.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-11-24 15:06:55.279397736 +0900
--- b/debian/rules	2017-11-24 15:17:59.229108616 +0900
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 export PYBUILD_BEFORE_TEST := ln -s $(CURDIR)/src/landslide/test-data {build_dir}/landslide
-export PYBUILD_AFTER_TEST := rm {build_dir}/landslide/test-data
+export PYBUILD_AFTER_TEST := rm {build_dir}/landslide/test-data {build_dir}/presentation.html
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild


More information about the Reproducible-bugs mailing list