Bug#1000531: sphinxcontrib-applehelp: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Nov 24 16:11:08 GMT 2021


Source: sphinxcontrib-applehelp
Version: 1.0.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
sphinxcontrib-applehelp could not be built reproducibly.

This is because it uses the tag_date feature of Python eggs which gets
encoded into the binary package in a number of ways (eg. directory
names, etc.)

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible_build.patch	1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/reproducible_build.patch	2021-11-24 08:09:06.445000382 -0800
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2021-11-24
+
+--- sphinxcontrib-applehelp-1.0.2.orig/setup.cfg
++++ sphinxcontrib-applehelp-1.0.2/setup.cfg
+@@ -1,6 +1,6 @@
+ [egg_info]
+ tag_build = .dev
+-tag_date = true
++tag_date = false
+ 
+ [aliases]
+ release = egg_info -Db ''
--- a/debian/patches/series	1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/series	2021-11-24 08:09:05.801000025 -0800
@@ -0,0 +1 @@
+reproducible_build.patch


More information about the Reproducible-bugs mailing list