Source: ccze Version: 0.2.1-2 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 the "reproducible builds" effort [1], we have noticed that ccze could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, ccze can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff -urNad ccze.orig/ccze-0.2.1/debian/rules ccze/ccze-0.2.1/debian/rules --- ccze.orig/ccze-0.2.1/debian/rules 2015-02-07 11:13:13.417894748 +0000 +++ ccze/ccze-0.2.1/debian/rules 2015-02-07 11:15:52.240894135 +0000 @@ -48,15 +48,15 @@ ## Install debian-specific stuff # ..the changelogs.. find . -name 'ChangeLog*' -maxdepth 1 -print0 | xargs -r0 -i@ \ - sh -c "gzip -9fc @ >${PKGDIR}/usr/share/doc/${PACKAGE}/@.gz" + sh -c "gzip -9fcn @ >${PKGDIR}/usr/share/doc/${PACKAGE}/@.gz" ln -sf ChangeLog.gz ${PKGDIR}/usr/share/doc/${PACKAGE}/changelog.gz - gzip -9fc debian/changelog >${PKGDIR}/usr/share/doc/${PACKAGE}/changelog.Debian.gz + gzip -9fcn debian/changelog >${PKGDIR}/usr/share/doc/${PACKAGE}/changelog.Debian.gz # ..the copyright file.. install -m 0644 debian/copyright ${PKGDIR}/usr/share/doc/${PACKAGE} ## Gzip manual pages and info docs - gzip -9f ${PKGDIR}/usr/share/man/man1/ccze.1 \ - ${PKGDIR}/usr/share/man/man1/ccze-cssdump.1 \ - ${PKGDIR}/usr/share/man/man7/ccze-plugin.7 + gzip -9fn ${PKGDIR}/usr/share/man/man1/ccze.1 \ + ${PKGDIR}/usr/share/man/man1/ccze-cssdump.1 \ + ${PKGDIR}/usr/share/man/man7/ccze-plugin.7 ## Strip binaries ifeq (,$(findstring nostrip,${DEB_BUILD_OPTIONS})) strip --remove-section=.comment --remove-section=.note \
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds