Control: block -1 by 791815 Control: tag -1 + patch Hi!
Marco d'Itri: > On Apr 23, Jérémy Bobbio <lu...@debian.org> wrote: > > The attached patch sets a revision date for each manpage to avoid the > > current date to be captured. Once applied, kmod can be built > > reproducibly in our current experimental framework. > Rejected: this patch requires to be manually regenerated for every > release. > If this cannot be fixed in gtk-doc then a proper post-processor which > modifies the installed tree in debian/ should be written. Unless I have missed something, the culprit seems to be xsltproc or the docbook stylesheets, not gtk-doc. Dhole implemented support for SOURCE_DATE_EPOCH [1] in libxslt. With the attached patch, kmod can be built reproducibly with our experimental toolchain. Please note that manually exporting SOURCE_DATE_EPOCH would not be required if kmod was using dh instead of the old style debhelper. [1]: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal Thanks, -- Lunar .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
--- kmod-21/debian/rules 2015-07-05 21:53:21.000000000 +0200 +++ kmod-21/debian/rules 2015-09-15 21:01:23.000000000 +0200 @@ -5,6 +5,8 @@ BUILD_UDEB := 1 +SOURCE_DATE_EPOCH = $(shell dpkg-parsechangelog -SDate | date -f - +%s) +export SOURCE_DATE_EPOCH D := $(CURDIR)/debian/kmod DK := $(CURDIR)/debian/libkmod2
signature.asc
Description: Digital signature