Bug#1000532: sphinxcontrib-jsmath: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Nov 24 16:10:59 GMT 2021


Source: sphinxcontrib-jsmath
Version: 1.0.1-2
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-jsmath 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:08:45.984989045 -0800
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2021-11-24
+
+--- sphinxcontrib-jsmath-1.0.1.orig/setup.cfg
++++ sphinxcontrib-jsmath-1.0.1/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	2021-11-24 08:03:57.056819762 -0800
--- b/debian/patches/series	2021-11-24 08:08:45.256988641 -0800
@@ -1 +1,2 @@
 fix_test_warnings.patch
+reproducible_build.patch


More information about the Reproducible-bugs mailing list