[Bug 1049186] New: python-3.6 packages do not build reproducibly
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186 Bug ID: 1049186 Summary: python-3.6 packages do not build reproducibly Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: jmatejek@suse.com Found By: Development Blocker: --- e.g. python-simplejson has one-bit diffs in .pyc files See http://rb.zq1.de/compare.factory-20170713/python-simplejson-compare.out in python3-simplejson.rpm we get -00004e50 68 6f 72 5f 5f da 07 64 65 63 69 6d 61 6c 72 0c |hor__..decimalr.| +00004e50 68 6f 72 5f 5f 5a 07 64 65 63 69 6d 61 6c 72 0c |hor__Z.decimalr.| in python3-simplejson-test.rpm we get the opposite change -00000580 72 13 00 00 00 5a 07 64 65 63 69 6d 61 6c 72 03 |r....Z.decimalr.| +00000580 72 13 00 00 00 da 07 64 65 63 69 6d 61 6c 72 03 |r......decimalr.| and it seems to be related to filesystem ordering, since it built reproducibly when using a filesystem with sorted readdir using disorderfs via reproducible-faketools-filesys from https://build.opensuse.org/package/show/home:bmwiedemann:reproducible/reprod... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c1
Jan Matejek
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c2
--- Comment #2 from Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c3
--- Comment #3 from Jan Matejek
Then maybe the order of processing them makes a difference and we could avoid that by always processing them in the same order.
that's a possibility, but...
Is there asynchronous garbage collection that could matter for the reference counts?
...but you're not supposed to GC references that live inside a deterministically compiled code block. It seems somewhat more likely to me that the filesystem ordering is a red herring and the problem is actually caused by hash randomization (which changes order of elements in dicts, this could lead to something like "first listed element has one more reference because it's first") but we'll see -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c4
--- Comment #4 from Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c5
--- Comment #5 from Jan Matejek
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c10
--- Comment #10 from Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c11
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c12
Matej Cepl
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
Hans-Peter Jansen
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c38
--- Comment #38 from OBSbugzilla Bot
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186
http://bugzilla.opensuse.org/show_bug.cgi?id=1049186#c39
--- Comment #39 from OBSbugzilla Bot
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com