Bug#1111497: neon27: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Aug 18 17:19:44 BST 2025


Source: neon27
Version: 0.35.0-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
neon27 could not be built reproducibly.

This was because the manual pages embedded the current build date. A
patch is attached to seed this value from SOURCE_DATE_EPOCH if
available.

 [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	2025-08-18 09:14:38.753243662 -0700
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2025-08-18
+
+--- neon27-0.35.0.orig/autogen.sh
++++ neon27-0.35.0/autogen.sh
+@@ -7,7 +7,7 @@ if test ! -f .version; then
+    # Building from SVN rather than in a release
+    echo 0.0.0-dev > .version
+    # for the documentation:
+-   date +"%e %B %Y" | tr -d '\n' > doc/date.xml
++   LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%e %B %Y" | tr -d '\n' > doc/date.xml
+    echo 0.0.0-dev > doc/version.xml
+ fi
+ set -e
--- a/debian/patches/series	2025-08-18 08:55:48.358502148 -0700
--- b/debian/patches/series	2025-08-18 09:14:35.293197149 -0700
@@ -3,3 +3,4 @@
 skip_racy_test.patch
 test_search_key_cwd.patch
 no_external_man_entity.patch
+reproducible_build.patch


More information about the Reproducible-bugs mailing list