Bug#908365: Package fails to build reproducibly

Chris Lamb lamby at debian.org
Mon Sep 10 18:22:09 BST 2018

Hi Michael,

> Now, I could try and convince upstream to not embed ABS_BUILD_DIR into
> the binary and maybe let the build system pass the build dir as env var.
> This would make those test-binaries a bit more cumbersome to use though,
> because you'd have to manually set the env var if you directly execute
> the test by hand.

Hm, could you not install the test data to /usr/systemd/private/path/
whatever and then make the tests default to this, overiddable by the
said env var? That would avoid the ugly requirement to set it manually
at the very least.

> Since the "systemd-tests" package is a bit special, could we somehow
> exclude that (basically all binaries from /usr/lib/systemd/tests) from
> the reproducibility checks

Alas not, and moreover we deliberately and by policy have no concept
of "partial" reproducibility or anything that requires a tool (beyond
cmp or sha1sum, etc). 

Best wishes,

     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk

More information about the Reproducible-builds mailing list