<p dir="auto"><a href="https://github.com/JuliaLang/julia/tree/master/contrib/install.sh">https://github.com/JuliaLang/julia/tree/master/contrib/install.sh</a> has a line that depends on output coming from <code class="notranslate">cp</code>.<br>
In Ubuntu, if the locale is set to <code class="notranslate">en_US.UTF-8</code> then <code class="notranslate">cp -va</code> outputs fancy Unicode quote symbols that are not accounted for by the rest of the script causing <code class="notranslate">make install</code> to fail:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cp -va file1 file2
‘file1’ -&gt; ‘file2’"><pre class="notranslate"><code class="notranslate">$ cp -va file1 file2
‘file1’ -&gt; ‘file2’
</code></pre></div>
<p dir="auto">It looks like it's the chmod command that's returning status 1. This is with commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/ac7ac0b5fd2cf916aa0d58d45db622fa314405aa/hovercard" href="https://github.com/JuliaLang/julia/commit/ac7ac0b5fd2cf916aa0d58d45db622fa314405aa"><tt>ac7ac0b</tt></a>.</p>
<p dir="auto">I added an echo to see what command it's actually running at the end, and it looks like somehow there's some weird characters showing up at the beginning and end.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="chmod 755 ��/home/sfr/local/src/julia/julia-ac7ac0b5fd/bin/julia�� 2&gt;/dev/null
chmod 755 ��/home/sfr/local/src/julia/julia-ac7ac0b5fd/bin/julia-debug�� 2&gt;/dev/null"><pre class="notranslate"><code class="notranslate">chmod 755 ��/home/sfr/local/src/julia/julia-ac7ac0b5fd/bin/julia�� 2&gt;/dev/null
chmod 755 ��/home/sfr/local/src/julia/julia-ac7ac0b5fd/bin/julia-debug�� 2&gt;/dev/null
</code></pre></div>