Source: isbg Version: 2.1.5-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that isbg could not be built reproducibly. This is because it embeds the value of "xdg_cache_home" in the documentation which invariably points to something like: /home/lamby/.cache ... and thus varies depending on the build user. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/0003_Reproducible_Build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/0003_Reproducible_Build.patch 2019-11-11 11:52:43.548983198 +0100 @@ -0,0 +1,14 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2019-11-11 + +--- isbg-2.1.5.orig/docs/conf.py ++++ isbg-2.1.5/docs/conf.py +@@ -74,6 +74,7 @@ autodoc_default_flags = ['members'] + autodoc_docstring_signature = False + autodoc_mock_imports = [] + autodoc_warningiserror = True ++autodoc_default_options = {'exclude-members': 'xdg_cache_home'} + + # Enable nitpicky mode - which ensures that all references in the docs + # resolve. --- a/debian/patches/series 2019-11-11 11:42:24.730246719 +0100 --- b/debian/patches/series 2019-11-11 11:52:42.620973241 +0100 @@ -1,2 +1,3 @@ 0001_Intersphinx_Local_Inventory.patch 0002_No_Network_Call.patch +0003_Reproducible_Build.patch