Bug#905598: llvm-bcanalyzer diffs its own tempfile names

2018-08-06 Thread Chris Lamb
tags 905598 + pending
thanks

Thanks for the report. :)  Fixed in Git, pending upload:

  
https://salsa.debian.org/reproducible-builds/diffoscope/commit/1599b01d1cc7f9aef47131ecb86b2db49b0154c1

  diffoscope/comparators/llvm.py | 5 +
  1 file changed, 5 insertions(+)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#905598: llvm-bcanalyzer diffs its own tempfile names

2018-08-06 Thread Christoph Berg
Package: diffoscope
Version: 99
Severity: normal

Hi,

just when postgresql-10 was almost reproducible (and I hope to really
weed the remaining `uname -m` bits in the upload on Thursday),
postgresql-11 came around which adds JIT for SQL queries via LLVM. For
this, LLVM bytecode (.bc) files are stored which are then compiled at
runtime.

Looking at
https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd64/postgresql-11.html
I noticed that the diff of the .bc files (which differ because they
store the build paths), there's a bit there the `llvm-bcanalyzer -dump`
output itself introduces a path, which is then reported as difference:

Summary of 
/srv/reproducible-results/rbuild-debian/tmp.Xss3ZdRPQz/dbd-tmp-3DqxLmN/diffoscope_wmjtu2i8/tmpdktglxs6/0/8.bc:
Summary of 
/srv/reproducible-results/rbuild-debian/tmp.Xss3ZdRPQz/dbd-tmp-3DqxLmN/diffoscope_wmjtu2i8/tmpwintfm2m/0/8.bc:

Christoph