Bug#977154: cctools: reproducible builds: python files contain different content depending on parallelism
Vagrant Cascadian
vagrant at reproducible-builds.org
Fri Dec 11 20:18:17 GMT 2020
Source: cctools
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Various .py files contain different code dependending on the level of
parallelism of the build.
The attached patch to debian/rules passes --no-parallel to dh, which
results in a reproducible build, but it is unclear weather the resulting
code is "correct", as some files contain additional code compared to
builds done with parallelism.
In general, I've found the parallel builds to produce the same code as
other parallel builds with different levels of parallelism, but clearly
different than serial builds.
Presumably there are jobs when run in parallel complete in a relatively
consistent order (e.g. two jobs, one very fast and one very slow), but
different than when run in serial (e.g. the slow job runs first?). I
have attached diffoscope output from a serial vs. parallel build.
Thanks for maintaining cctools!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-debian-rules-Disable-parallel-builds-to-avoid-change.patch
Type: text/x-diff
Size: 634 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201211/8b55f239/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: experiment-1.diffoscope.out
Type: application/octet-stream
Size: 37987 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201211/8b55f239/attachment-0001.obj>
-------------- 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/20201211/8b55f239/attachment-0001.sig>
More information about the Reproducible-bugs
mailing list