Source: landslide
Version: 1.1.3-0.0
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@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
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- 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

Reply via email to