[pkg-gnupg-maint] Bug#806494: gnupg: please make the build reproducible

intrigeri intrigeri at debian.org
Sun Jun 5 11:07:34 UTC 2016


Control: tag -1 + patch

Hi,

Werner Koch wrote (04 Jun 2016 16:23:11 GMT) :
> On Sat,  4 Jun 2016 14:25, intrigeri at debian.org said:

>> Werner, could this change be backported to GnuPG 1.x? (I do realize
>> that it's not merely about ya2tm.c, since e.g. doc/Makefile.am is
>> also affected.)

> If it is only to update yat2m and a small fix in the Makefile, a tested
> patch would be appreciated.

I gave it a try and AFAICT it won't be a small fix in the Makefile:
the yat2m-stamp changes depend on defs.inc, defsincdate, mkdefsinc and
friends. Then mkdefsinc.c imported from the v2.x tree does not compile
as-is. I gave up at that point, and I'm not convinced that it's worth
investing more time to fix this upstream in the v1.x tree, given that
the problem is solved in the v2.x one already.

So, maybe it's acceptable to carry a very simple Debian-only solution
for GnuPG v1.x, until it is fully replaced by v2.x? The attached patch
does that, by updating yat2m to the one included in 2.1.11, and
patching doc/Makefile.am to pass it --date $SOURCE_DATE_EPOCH
(initialized in debian/rules for now).

Cheers,
-- 
intrigeri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-man-pages-not-embed-a-build-time-dependent-time.patch
Type: text/x-diff
Size: 6333 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20160605/47b1e411/attachment-0001.patch>


More information about the pkg-gnupg-maint mailing list