<div dir="ltr"><div>I don't think it is good to remove modules from the OTP installation and then proceed to call it Erlang/OTP. Likewise, it is bad to split OTP into many submodules so people can mix'n'match subparts of the installation. Often, this adds another step for newcomers to the language since they are missing important parts of the installation.<br><br></div>I'd much rather you patch the affected files. For instance by replacing the timestamps with SHA256 checksums ( crypto:hash(sha256, File) ), since this will still make the files change, yet be deterministic in their generation.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 14, 2016 at 11:43 AM, Mikael Pettersson <span dir="ltr"><<a href="mailto:mikpelinux@gmail.com" target="_blank">mikpelinux@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Pjotr Prins writes:<br>
 > Dear all,<br>
 ><br>
 > At <a href="http://biobeat.org/report.html" rel="noreferrer" target="_blank">http://biobeat.org/report.html</a> a diffoscope of two builds on GNU<br>
 > Guix of Erlang 19.0-rc2 (made by leo). It turns out some files are<br>
 > still different between builds. Some .script files contain time stamps<br>
 > like:<br>
 ><br>
 >     %% script generated at {2016,6,11}{19,5,37}<br>
 ><br>
 > The snmp, otp_mips, os_mon, gs modules also injects time stamps.<br>
 ><br>
 > And some beam files in cosNotification and cosProperty introduce<br>
 > differences.<br>
 ><br>
 > I think none of these modules is critical and we can safely purge<br>
 > these modules from GNU Guix so it becomes deterministic (we only<br>
 > accept deterministic software packages) for the time being. Do you<br>
 > agree?<br>
<br>
</span>No.<br>
<br>
I acknowledge your need for deterministic builds, but the solution<br>
ought to be to eliminate the source of the non-determinism, not the<br>
files themselves.  So:<br>
<br>
1. Patch whatever inserts these time stamps to not do that, or<br>
2. Post-process affected files and remove the time stamps.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">J.</div>
</div>