Re: [Reproducible-builds] Bug#782462: Bug#782462: txt2man: does not build reproducibly
tags 782462 pending thanks Hi Jonathan, Jérémy and Reiner, Thanks a lot for your comments and help. I will upload a revision to 1-day delay queue (in few minutes). You can see a diff here[1]. [1] http://anonscm.debian.org/cgit/collab-maint/txt2man.git/commit/?id=8cbd27d64ba12f3ec369ac2607e762490425ffcb Cheers, Eriberto 2015-04-12 15:56 GMT-03:00 Reiner Herrmann rei...@reiner-h.de: On 04/12/2015 07:45 PM, Jérémy Bobbio wrote: Jonathan Wiltshire: +date = $(shell dpkg-parsechangelog -c1 -S date | date +%b %d %Y -f -) I just saw that txt2man uses the format '%d %B %Y' by default [1]. It would be nice to keep this also for txt2man's own manpage. :) [1]: https://sources.debian.net/src/txt2man/1.5.5-4.1/txt2man/#L148 ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] Bug#782462: txt2man: does not build reproducibly
Jonathan Wiltshire: +date = $(shell dpkg-parsechangelog -c1 -S date | date +%b %d %Y -f -) ^ Please add `--utc` or `-u` here. Otherwise you might get different results depending on the timezone. -- Lunar.''`. lu...@debian.org: :Ⓐ : # apt-get install anarchism `. `'` `- signature.asc Description: Digital signature ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] Bug#782462: txt2man: does not build reproducibly
On 04/12/2015 07:45 PM, Jérémy Bobbio wrote: Jonathan Wiltshire: +date = $(shell dpkg-parsechangelog -c1 -S date | date +%b %d %Y -f -) I just saw that txt2man uses the format '%d %B %Y' by default [1]. It would be nice to keep this also for txt2man's own manpage. :) [1]: https://sources.debian.net/src/txt2man/1.5.5-4.1/txt2man/#L148 signature.asc Description: OpenPGP digital signature ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#782471: python-pathlib: please make the build reproducible
Source: python-pathlib Version: 1.0.1-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org Hi! While working on Debian's “reproducible builds” effort [1], we have noticed that python-pathlib doesn't build reproducibly. It embeds the current date into the manpage. The attached patch fixes this by using the latest changelog date as a timestamp that will be embedded. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds diff --git a/debian/rules b/debian/rules index 7c64264..388ace9 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,9 @@ export PYBUILD_NAME=pathlib +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date) +BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + %: dh $@ --with python2,sphinxdoc --buildsystem=pybuild @@ -11,7 +14,7 @@ override_dh_auto_clean: override_dh_auto_build: dh_auto_build - make -C docs html man text + make -C docs html man text SPHINXOPTS=-D today=\$(BUILD_DATE)\ override_dh_auto_test: PYBUILD_TEST_ARGS=-s $(CURDIR) dh_auto_test signature.asc Description: OpenPGP digital signature ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds