<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.Code, li.Code, div.Code
{mso-style-name:Code;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">OK. How do I “try with python2 instead”?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US">SImon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> lonetiger@gmail.com [mailto:lonetiger@gmail.com]
<br>
<b>Sent:</b> 30 June 2016 10:12<br>
<b>To:</b> Simon Peyton Jones <simonpj@microsoft.com><br>
<b>Cc:</b> ghc-devs@haskell.org<br>
<b>Subject:</b> RE: Msys2 64: progress<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi Simon,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Could you try with python2 instead? (If it’s installed I think the testsuite would pick it up automatically).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Python3 is marked as experimental in the testsuite<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">PYTHON3 = sys.version_info >= (3, 0)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">if PYTHON3:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> print("*** WARNING: running testsuite using Python 3.\n"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "*** Python 3 support is experimental. See Trac #9184.")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And based on that trac, it routinely breaks..<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Tamar<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From: </span></b><span lang="EN-US"><a href="mailto:simonpj@microsoft.com">Simon Peyton Jones</a><br>
<b>Sent: </b>Thursday, June 30, 2016 08:28<br>
<b>To: </b><a href="mailto:simonpj@microsoft.com">Simon Peyton Jones</a>; <a href="mailto:lonetiger@gmail.com">
lonetiger@gmail.com</a><br>
<b>Cc: </b><a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<b>Subject: </b>RE: Msys2 64: progress<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoNormal">Tamar, Luke, David, Andrey, and others<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OK that was it! Now I can build GHC…. Real progress.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But I still can’t validate:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">sh validate<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">using THREADS=5<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">make: Entering directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">./check-uniques.py ../..<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> File "./check-uniques.py", line 39, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> uniques = find_uniques(glob.glob(os.path.join(top_dir, 'compiler', 'prelude', '*.hs')))<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> File "./check-uniques.py", line 15, in find_uniques<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> ms = unique_re.findall(open(f).read())<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> return codecs.ascii_decode(input, self.errors)[0]<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:red">UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 15185: ordinal not in range(128)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">make: *** [Makefile:8: check] Error 1<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">make: Leaving directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">/c/code/HEAD$<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal">Any ideas about what might be happening? The Python version is 3.4.3.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
<p class="MsoNormal"><a name="_MailEndCompose"></a><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> ghc-devs [<a href="mailto:ghc-devs-bounces@haskell.org">mailto:ghc-devs-bounces@haskell.org</a>]
<b>On Behalf Of </b>Simon Peyton Jones via ghc-devs<br>
<b>Sent:</b> 29 June 2016 12:08<br>
<b>To:</b> <a href="mailto:lonetiger@gmail.com">lonetiger@gmail.com</a><br>
<b>Cc:</b> <a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<b>Subject:</b> RE: Msys2 64: progress<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Aha! That sounds <b><i>very</i></b> plausible. I’ll try. Maybe it’s a path-ordering thing.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It would be very cool if ‘configure’ checked that ‘find’ was the find it was expecting, not Windows find. Dunno how to do that, but that check would have saved us a lot of time.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(For most other utils, weget, curl etc, there is no Windows program with the same name. But for ‘find’, there is.)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a href="mailto:lonetiger@gmail.com">
lonetiger@gmail.com</a> [<a href="mailto:lonetiger@gmail.com">mailto:lonetiger@gmail.com</a>]
<br>
<b>Sent:</b> 29 June 2016 11:35<br>
<b>To:</b> Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com">simonpj@microsoft.com</a>><br>
<b>Cc:</b> <a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<b>Subject:</b> RE: Msys2 64: progress<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi Simon,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I think you’re right, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">That pattern in the error is the one we pass to find<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">find "${base_dir}" -name "*.tar.xz" -exec tar xfJ {} \;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">on line 334 of configure.ac which is supposed to unpack the files.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">That the download script doesn’t output nothing makes sense now since the hashes of the files match.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I *<b>think</b>* what’s going on here is that for some reason you don’t have findutils installed and it’s instead using<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">The windows “find” utility, which generates that error.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>