<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Ah. Alert definitely NOT lifted.</p>
<p>ROTDs and the beta release, ** on GitHub's release section ** do
NOT have mercury_compile.c under compiler/</p>
<p>Packages do not have the same checksums as on the official
Mercury Language download page.</p>
<p>So actually the 'mangled' package/build failures of my prior
messages were just caused by the fact that I downloaded an
incomplete package from GitHub then turned to the official dl page
believing packages were identical. They are not:<br>
</p>
<p>Proof:</p>
<p><span style="font-family:monospace"><span
style="font-family:monospace"> </span></span><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">mkdir a
&& cd a && </span></span></span></span><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">wget
<a class="moz-txt-link-freetext" href="https://dl.mercurylang.org/rotd/mercury-srcdist-rotd-2022-01-25.tar.gz">https://dl.mercurylang.org/rotd/mercury-srcdist-rotd-2022-01-25.tar.gz</a>
&&</span></span> </span></span></span></span><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">tar
xzvf </span></span></span></span></span><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">mercury-srcdist-rotd-2022-01-25.tar.gz
</span></span></span></span></span></span></span>&&
cd -</span><br>
</span></span></span></p>
<p><span style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"> mkdir b && cd b
&& </span></span></span><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> wget
<a class="moz-txt-link-freetext" href="https://github.com/Mercury-Language/mercury-srcdist/archive/refs/tags/rotd-2022-01-25.tar.gz">https://github.com/Mercury-Language/mercury-srcdist/archive/refs/tags/rotd-2022-01-25.tar.gz</a> </span></span></span><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">
&& </span></span>tar xzvf
rotd-2022-01-25.tar.gz</span></span></span></span> </span></span></span><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> </span>&&
cd -<br>
</span></span></span></span></span></span></p>
<div class="moz-cite-prefix"><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> diff -r a/</span></span><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">mercury-srcdist-rotd-2022-01-25
b/</span></span></span></span><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">mercury-srcdist-rotd-2022-01-25
| grep mercury_compile.c<br>
</span></span></span></span></span></span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"></span></span></span></span></span></span><span
style="color:#000000;background-color:#ffffff;"><span
style="color:#000000;background-color:#ffffff;"><br>
</span></span></div>
<div class="moz-cite-prefix"><span
style="color:#000000;background-color:#ffffff;"><span
style="color:#000000;background-color:#ffffff;">Copy-paste and
run, you'll find (in a French locale ;) ):</span></span></div>
<div class="moz-cite-prefix"><br>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">
Seulement dans
a/mercury-srcdist-rotd-2022-01-25/compiler: </span><span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">mercury_compile.c</span><span
style="color:#000000;background-color:#ffffff;">
</span><br>
Seulement dans
a/mercury-srcdist-rotd-2022-01-25/compiler: <span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">mercury_compile.c</span><span
style="color:#000000;background-color:#ffffff;">_date</span><br>
</span></span></span></span></span></span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="font-family:monospace"><br>
</span></span></span></span></span></span></div>
<div class="moz-cite-prefix"><span
style="color:#000000;background-color:#ffffff;"><span
style="color:#000000;background-color:#ffffff;">Huh.
Checksums...</span></span><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="font-family:monospace"><br>
</span></span></span></span></span></span></div>
<div class="moz-cite-prefix"><span
style="color:#000000;background-color:#ffffff;"><span
style="color:#000000;background-color:#ffffff;"><br>
</span></span></div>
<div class="moz-cite-prefix"><span
style="color:#000000;background-color:#ffffff;"><span
style="color:#000000;background-color:#ffffff;">Fabrice</span></span><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="font-family:monospace"><br>
</span></span></span></span></span></span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="font-family:monospace"><br>
</span></span></span></span></span></span></div>
<blockquote type="cite"
cite="mid:e984fd23-366d-2494-10d0-743147eb0ddc@gmail.com">Alert
lifted.
<br>
<br>
compiler/mercury_compile.c was mangled in the downloaded package,
with a very few other files.
<br>
<br>
Downloaded a fresh package, reconfigured and rebuilt OK.
<br>
<br>
Note:
<br>
<br>
It might be a nice idea to add (at least for releases) checksum
files on the Mercury download webpage. Or, alternatively, a
CHECKSUM file at the package root.
<br>
<br>
Adding commit IDs is not enough for users to avoid such issues as,
mercury_compile.c is only shipped in the package, not in the git
source code (by design, I assume).
<br>
<br>
Fabrice
<br>
<br>
<br>
<blockquote type="cite">
<br>
On Sun, 23 Jan 2022, Fabrice Nicol wrote:
<br>
<br>
<blockquote type="cite">Sure, I was just looking into it.
<br>
<br>
Attached are both config.log.beta and config.log.20.06.1,
corresponding to each build.
<br>
</blockquote>
<br>
Unfortunately, they don't tell me much. Can you confirm that
the
<br>
pre-generated C file compiler/mercury_compile.c is present.
<br>
<br>
Julien.
<br>
</blockquote>
</blockquote>
</body>
</html>