Source: libevocosm
Version: 4.0.2-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that libevocosm could not be built reproducibly.

The attached patch removes generated files which include the path, etc.
from the build system. Once applied, libevocosm can be built
reproducibly
in our reproducible toolchain.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --no-dereference -urNad libevocosm.orig/libevocosm-4.0.2/debian/rules 
libevocosm/libevocosm-4.0.2/debian/rules
--- libevocosm.orig/libevocosm-4.0.2/debian/rules       2015-06-24 
17:22:04.619788837 +0100
+++ libevocosm/libevocosm-4.0.2/debian/rules    2015-06-24 17:35:24.169576678 
+0100
@@ -89,13 +89,11 @@
 
        # Add here commands to install the package into debian/tmp
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+       for X in $(CURDIR)/examples/*; do make -C $${X} distclean; done
        mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libevocosm-dev/examples
        cp -r examples $(CURDIR)/debian/tmp/usr/share/doc/libevocosm-dev
        mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libevocosm-dev/html
        cp -r docs/html/* 
$(CURDIR)/debian/libevocosm-dev/usr/share/doc/libevocosm-dev/html
-       rm -f $(CURDIR)/debian/temp/usr/bin/runfuncopt
-       rm -f $(CURDIR)/debian/tmp/usr/share/doc/libevocosm-dev/examples/*.o
-       rm -f 
$(CURDIR)/debian/tmp/usr/share/doc/libevocosm-dev/examples/runfuncopt
 
 
 # Build architecture-independent files here.
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to