Bug#1068372: grokevt: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Apr 4 10:26:53 BST 2024


Source: grokevt
Version: 0.5.0-5
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
grokevt could not be built reproducibly.

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

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/no_egg.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/no_egg.patch	2024-04-04 10:25:05.795926508 +0100
@@ -0,0 +1,17 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2024-04-04
+
+--- grokevt-0.5.0.orig/Makefile
++++ grokevt-0.5.0/Makefile
+@@ -35,8 +35,8 @@ install: all
+ 	cp -r $(BUILD_BIN)/* $(BIN_PREFIX)
+ 	cp -r $(BUILD_ETC)/* $(ETC_PREFIX)
+ 	cp -r $(BUILD_DOC)/* $(DOC_PREFIX)
+-	if [ "x$(PYTHON_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb --prefix $(PREFIX); fi
+-	if [ "x$(PYTHON3_PATH)" != "x" ]; then $(PYTHON3_PATH) grokevt-distutils.py install --install-layout=deb --prefix $(PREFIX); fi
++	if [ "x$(PYTHON_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb --single-version-externally-managed --root=/ --prefix $(PREFIX); fi
++	if [ "x$(PYTHON3_PATH)" != "x" ]; then $(PYTHON3_PATH) grokevt-distutils.py install --install-layout=deb --single-version-externally-managed --root=/ --prefix $(PREFIX); fi
+ 	$(MAKE) -C doc install
+ 
+ 
--- a/debian/patches/series	2024-04-04 10:19:06.124553201 +0100
--- b/debian/patches/series	2024-04-04 10:24:30.719654371 +0100
@@ -1,3 +1,4 @@
 example_configuration_path
 makefile.patch
 python3-shebang.patch
+no_egg.patch


More information about the Reproducible-bugs mailing list