[Debichem-devel] Bug#883376: p4vasp: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Dec 3 08:01:23 UTC 2017


Source: p4vasp
Version: 0.3.30+dfsg-1
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 p4vasp could not be built reproducibly.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-12-03 07:29:06.409689521 +0000
--- b/debian/rules	2017-12-03 07:58:18.698995407 +0000
@@ -27,6 +27,8 @@
 	# Permissions:
 	find $(DESTDIR)/usr -type f -exec chmod 644 {} \;
 	chmod 755 $(DESTDIR)/usr/share/p4vasp/data/database
+	# Strip absolute build-path from generated file
+	sed -i -e 's@$(DESTDIR)@@g' $(DESTDIR)/usr/bin/p4v
 
 override_dh_auto_clean:
 	make cleanall


More information about the Debichem-devel mailing list