Bug#990910: p7zip: reproducible builds: parallelism triggers differences

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jul 10 23:55:39 BST 2021


Source: p7zip
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Apparently p7zip includes different paths when built in parallel:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/p7zip.html

  /usr/lib/p7zip/7z

  ../../../../CPP/myWindows/StdAfx.h:68
  vs.
  ../../../myWindows/StdAfx.h:68


The attached patch fixes this by disabling parallelism during the build.

With this patch applied, p7zip should be reproducible on
tests.reproducible-builds.org.


It may be possible to dig deeper into p7zip to fix the issues with a
parallel build, but I haven't found a good starting point to do so.


Thanks for maintaining p7zip!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Disable-parallel-builds-to-enable-repro.patch
Type: text/x-diff
Size: 814 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210710/c9f97242/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210710/c9f97242/attachment.sig>


More information about the Reproducible-bugs mailing list