[Reproducible-builds] [PATCH 0/2] More reproducible document builds

Ben Hutchings ben at decadent.org.uk
Tue Sep 1 22:47:12 UTC 2015


This series fixes a couple more reproducibility bugs:

1. The 'mandocs' target always creates dummy man pages in the source
tree.  Aside from their very existence being a nasty hack, and the
wrong-ness of writing to the source tree, they contain a build
timestamp and if we build a package of the source later it won't be
reproducible.  This moves them to the same place as all the other man
pages are built.

(Moving the dummy man pages shouldn't cause a problem for
reproducibility of the man page packages, because the dummies are in
section 1 and not section 9. However the dummies still don't get
cleaned properly.)

2. The current locale affects the encoding of HTML pages.

With these patches (and the previous set) applied, Debian's package of
Linux 4.2 is fully reproducible:
https://reproducible.debian.net/rb-pkg/experimental/amd64/linux.html

Ben.

Ben Hutchings (2):
  Documentation: Avoid creating man pages in source tree
  DocBook: Use a fixed encoding for output

 Documentation/DocBook/Makefile | 6 ++++++
 Makefile                       | 2 +-
 scripts/Makefile               | 7 +++++--
 scripts/check-lc_ctype.c       | 6 ++++++
 scripts/kernel-doc             | 9 +++++----
 5 files changed, 23 insertions(+), 7 deletions(-)
 create mode 100644 scripts/check-lc_ctype.c

-- 
Ben Hutchings
The first rule of tautology club is the first rule of tautology club.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150901/1ab63539/attachment.sig>


More information about the Reproducible-builds mailing list