Bug#840111: stumpwm: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Oct 8 11:09:09 UTC 2016


Source: stumpwm
Version: 2:0.9.9-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: build-path
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that stumpwm 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	2016-10-08 11:39:20.931861470 +0100
--- b/debian/rules	2016-10-08 12:07:50.672470532 +0100
@@ -36,6 +36,9 @@
 	dh_testroot
 	dh_clean
 	dh_installdirs $(clc-files) $(doc-dir)/examples $(bin-dir) usr/share/xsessions
+	# Rewrite source-registry post-build to ensure the correct runtime
+	# path, does not leak the build path, and is reproducible.
+	sed -i -e 's@\((:directory "\)[^\"]*\(")\)@\1/$(clc-files)\2 at g' load-stumpwm.lisp
 	dh_install $(pkg).asd $(clc-files)
 	dh_install *.lisp $(clc-files)
 	dh_install debian/stumpwm.desktop usr/share/xsessions/


More information about the pkg-common-lisp-devel mailing list