Bug#908365: Package fails to build reproducibly

Chris Lamb lamby at debian.org
Thu Sep 13 08:51:50 BST 2018


Hi Vagrant,

> Is it plausible to strip the embedded build directory information out of
> the test binaries with the binaries shipped in the package, since they
> will almost certainly not have access to the original build directory,
> and it interferes with the reproducibility of the test package...

But why not hardcode said path to "/usr/lib/systemd/tests/testdata" as
now but then temporarily override this during the build-time tests? I
believe this was suggested — although perhaps a little too clumsy —
earlier in this thread/bug#.

(That will mean they Just Work in autopkgtests and for users.)


Regards,

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



More information about the Reproducible-builds mailing list