Bug#856860: archvsync: please make the build reproducible
Chris Lamb
lamby at debian.org
Sun Mar 5 16:57:45 UTC 2017
Source: archvsync
Version: 20170204
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that archvsync could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2017-03-05 16:45:47.705903597 +0000
--- b/debian/rules 2017-03-05 16:54:28.296978100 +0000
@@ -17,5 +17,6 @@
override_dh_builddeb:
dh_builddeb
- tar -c -C debian/ftpsync-tar distrib | gzip -n > ../$(TARNAME)
+ find debian/ftpsync-tar -print0 | xargs -0r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
+ (cd debian/ftpsync-tar && find -print0 | LC_ALL=C sort -z | tar --no-recursion --null -T - -c) | gzip -n > ../$(TARNAME)
dpkg-distaddfile $(TARNAME) raw-ftpsync -
More information about the Reproducible-bugs
mailing list