Bug#908365: Package fails to build reproducibly

Michael Biebl biebl at debian.org
Tue Sep 11 02:42:20 BST 2018

Am 10.09.18 um 19:22 schrieb Chris Lamb:
> 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,

The binaries have a builtin check, which tests if they are executed from
the build directory, and if so, use the data files from the build
directory. Otherwise they use the datafiles from

 overiddable by the
> said env var? That would avoid the ugly requirement to set it manually
> at the very least.

If you run the test directly from the build directory, it's reasonable
to assume that you actually want to use the data files from the build
directory as well and not the ones from the installed system.
Atm the binaries auto-detect that by encoding the build directory into
the binary.

Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20180911/a6d1e8a9/attachment.sig>

More information about the Reproducible-builds mailing list