Source: eo-spell Version: 2.1.2000.02.25-49 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that eo-spell could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, eo-spell can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff -urNad eo-spell.orig/eo-spell-2.1.2000.02.25/debian/rules eo-spell/eo-spell-2.1.2000.02.25/debian/rules --- eo-spell.orig/eo-spell-2.1.2000.02.25/debian/rules 2015-02-24 23:41:52.915265838 +0000 +++ eo-spell/eo-spell-2.1.2000.02.25/debian/rules 2015-02-24 23:43:09.602659095 +0000 @@ -53,7 +53,7 @@ cp README debian/README.ispell cp legumin.l3 debian/legumin.l3.ispell cat $(MUNCHED_WORDS) | sort -uf > kune.txt - gzip -9 -c kune.txt > $(TMP_BUILD)/esperanto.mwl.gz + gzip -9n -c kune.txt > $(TMP_BUILD)/esperanto.mwl.gz cp eo.aff $(TMP_BUILD)/esperanto.aff # Create ispell latin3 munched wordlist and affix file @@ -65,14 +65,14 @@ ispellaff2myspell --charset=latin3 --myheader=debian/eo_ALL.header eo-latin3.aff > $(TMP_BUILD)/eo.aff # Copy aspell affix file with preferred name and prepare .cwl - cat $(TMP_BUILD)/eo.wl | prezip -s -c | gzip -9 -c > $(TMP_BUILD)/eo.cwl.gz + cat $(TMP_BUILD)/eo.wl | prezip -s -c | gzip -9n -c > $(TMP_BUILD)/eo.cwl.gz cp $(TMP_BUILD)/eo.aff $(TMP_BUILD)/eo_affix.dat install -m 0644 debian/aspell/eo.dat debian/aspell/eo.multi $(TMP_BUILD) # Build stuff for aspell cx pseudocharset buildhash kune.txt eo.aff eo.hash cat kune.txt | ispell -d ./eo -e | tr -s ' ' '\n' | sort -u > $(TMP_BUILD)/eo-cx.wl - cat $(TMP_BUILD)/eo-cx.wl | grep -v -e "-'$$" | prezip -s -c | gzip -9 -c > $(TMP_BUILD)/eo-cx.cwl.gz + cat $(TMP_BUILD)/eo-cx.wl | grep -v -e "-'$$" | prezip -s -c | gzip -9n -c > $(TMP_BUILD)/eo-cx.cwl.gz install -m 0644 debian/aspell/eo-cx.dat debian/aspell/eo-cx.multi $(TMP_BUILD) touch $@