Source: eo-spell Version: 3.7-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: datetime X-Debbugs-Cc: reproducible-b...@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 `. `'` la...@debian.org / chris-lamb.co.uk `-
--- 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 <la...@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