Source: xtrkcad Version: 1:4.0.2-2 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 xtrkcad could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, xtrkcad 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 --git a/app/lib/Makefile b/app/lib/Makefile index 9d46c69..8ba78bf 100644 --- a/app/lib/Makefile +++ b/app/lib/Makefile @@ -44,7 +44,7 @@ xtrkcad.lyt: mklyt @./mklyt xtrkcad xtrkcad.upd: - ( date "+%Y%m%d" ; \ + ( LC_ALL=C date --utc --date="`dpkg-parsechangelog -SDate -l../../debian/changelog`" "+%Y%m%d" ; \ for f in `make --no-print-director -f params/Makefile xtps` ; do \ echo $$f ; done ) > xtrkcad.upd