Bug#1068375: ludevit: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Apr 4 10:36:33 BST 2024


Source: ludevit
Version: 9.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because it ships an .egg file in the binary package that
contains files varying by the current time. A patch is attached that
follows dh-python by specifying --single-version-externally-managed
and --root=/ such that the .egg file is not created.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2024-04-04 10:18:55.680431222 +0100
--- b/debian/rules	2024-04-04 10:35:51.167758995 +0100
@@ -33,7 +33,7 @@
 	dh_testroot
 	dh_prep
 	dh_installdirs
-	python3 setup.py install --no-compile --prefix $(CURDIR)/debian/ludevit/usr
+	python3 setup.py install --no-compile --single-version-externally-managed --root=/ --prefix $(CURDIR)/debian/ludevit/usr
 
 
 # Build architecture-independent files here.


More information about the Reproducible-bugs mailing list