Bug#804729: pbuilder: please make the build reproducible

Mattia Rizzolo mattia at mapreri.org
Tue Nov 10 23:48:14 UTC 2015


control: tag -1 + pending

On Tue, Nov 10, 2015 at 11:42:02PM +0100, Reiner Herrmann wrote:
> The PDF documentation is varying in the /ID field (but not the Creation/Modification
> time fields). After some debugging I found out that dblatex (which generates
> the tex file that is used to build the pdf), is building the documentation
> in a random directory.
> Since our pdflatex honours SOURCE_DATE_EPOCH, the Creation/Modification times
> did not differ. But the absolute source file path (which is random) is also
> part of the /ID calculation.

PDF are too complex :|

> The attached patch fixes the unreproducibility by telling dblatex to build in
> a deterministic path.

\o/
Thanks very much, already committed :)

> -	dblatex $<
> +	dblatex --tmpdir=docbuild $<


I'm curious, though, where did you find this --tmpdir?  The manpages I
read lack this option...

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151110/3fe0d23f/attachment.sig>


More information about the Pbuilder-maint mailing list