Bug#1068300: eo-spell: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Apr 3 10:28:53 BST 2024
Source: eo-spell
Version: 3.7-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: datetime
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
eo-spell could not be built reproducibly.
This is because the build system embeds the output of calling "date":
â â â âââ ./usr/lib/ispell/esperanto.aff
â â â â @@ -1,13 +1,13 @@
â â â â # -*- coding: latin-3 -*-
â â â â # Nomo: eo.aff
â â â â # Funkcio: Afiksaro por Esperanto-vortaro
â â â â # Komencita: 1997-08-30 de Sergio Pokrovskij <sergio.pokrovskij(^ce)gmail.com>
â â â â # Versio: 3.5
â â â â -# Generita: Tue Apr 2 21:52:24 2024
â â â â +# Generita: Tue Apr 2 21:53:34 2024
Patch attached that replaces this with a call to the Debian-specific
"dpkg-parsechangelog -SDate". However, you could make this distribution
agnostic by calling date(1) seeded by SOURCE_DATE_EPOCH if it existsâ¦
or simply by removing this date entirely.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/1000_reproducible-build.diff 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/1000_reproducible-build.diff 2024-04-03 10:26:23.476786697 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2024-04-03
+
+--- eo-spell-3.7.orig/src/eo-aff.m4
++++ eo-spell-3.7/src/eo-aff.m4
+@@ -123,7 +123,7 @@ divert(0)dnl
+ # Funkcio: Afiksaro por Esperanto-vortaro
+ # Komencita: 1997-08-30 de Sergio Pokrovskij <sergio.pokrovskij(æe)gmail.com>
+ Versio
+-{# Generita:} esyscmd(date)
++{# Generita:} esyscmd(dpkg-parsechangelog -SDate)
+ #
+ # Copyright 1997 -- 2012 Sergio Pokrovskij
+ #
--- a/debian/patches/series 2024-04-03 10:24:24.558673371 +0100
--- b/debian/patches/series 2024-04-03 10:26:22.340766797 +0100
@@ -1 +1,2 @@
0000_change-aff-rules.diff
+1000_reproducible-build.diff
More information about the Reproducible-bugs
mailing list