Discussion:
Bug#942009: stgit: please make the build reproducible
Add Reply
Chris Lamb
2019-10-08 23:40:01 UTC
Reply
Permalink
Source: stgit
Version: 0.19-1
Severity: wishlist
Tags: patch
User: reproducible-***@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-***@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed
that stgit could not be built reproducibly.

This is because the contents of the dynamically-compiled Bash
completion script was not being generated in a deterministic manner,
as well as the cmdlist.py module.

Patch attached.

[0] https://reproducible-builds.org/


Regards,
--
,''`.
: :' : Chris Lamb
`. `'` ***@debian.org / chris-lamb.co.uk
`-
Chris Lamb
2019-10-09 00:20:01 UTC
Reply
Permalink
forwarded 942009 https://github.com/ctmarinas/stgit/pull/43
thanks

I've forwarded this upstream here:

https://github.com/ctmarinas/stgit/pull/43


Regards,
--
,''`.
: :' : Chris Lamb
`. `'` ***@debian.org / chris-lamb.co.uk
`-
Maximiliano Curia
2019-10-09 13:10:02 UTC
Reply
Permalink
Post by Chris Lamb
Source: stgit
Version: 0.19-1
Severity: wishlist
Tags: patch
Usertags: randomness
Whilst working on the Reproducible Builds effort [0] we noticed
that stgit could not be built reproducibly.
This is because the contents of the dynamically-compiled Bash
completion script was not being generated in a deterministic manner,
as well as the cmdlist.py module.
Patch attached.
Thanks. I thought that (python3 > 3.6)'s sets also preserved their
insertion order (as dictionaries do), apparently not. We could probably
request that to cpython, that should fix some other set related
reproducibility issues.

Happy hacking,
--
Saludos /\/\ /\ >< `/
Loading...