bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #58975] spv produces irreproducible build


From: Friedrich Beckmann
Subject: PSPP-BUG: [bug #58975] spv produces irreproducible build
Date: Thu, 20 Aug 2020 17:52:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

Follow-up Comment #2, bug #58975 (project pspp):

I guess the irreproducible build comes from the xml-parser-generator. Each run
produces different output files:


fredo:spv fritz$ python3 xml-parser-generator detail-xml.grammar header spvdx
> detail-xml-parser.h.1
fredo:spv fritz$ python3 xml-parser-generator detail-xml.grammar header spvdx
> detail-xml-parser.h.2
fredo:spv fritz$ diff -q detail-xml-parser.h.1 detail-xml-parser.h.2
Files detail-xml-parser.h.1 and detail-xml-parser.h.2 differ
fredo:spv fritz$ 


I think the reason is that the iteration over dicts is by design randomized:

http://jimmycallin.com/2016/01/03/make-your-python3-code-reproducible/



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58975>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]