<html 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:0in;
        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;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Simon,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Could you try with python2 instead? (If it’s installed I think the testsuite would pick it up automatically).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Python3 is marked as experimental in the testsuite</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>PYTHON3 = sys.version_info >= (3, 0)</p><p class=MsoNormal>if PYTHON3:</p><p class=MsoNormal>    print("*** WARNING: running testsuite using Python 3.\n"</p><p class=MsoNormal>          "*** Python 3 support is experimental. See Trac #9184.")</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And based on that trac, it routinely breaks..</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,</p><p class=MsoNormal>Tamar</p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><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</p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Tamar, Luke, David, Andrey, and others<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>OK that was it!  Now I can build GHC…. Real progress.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>But I still can’t validate:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>sh validate<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>using THREADS=5<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>make: Entering directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>./check-uniques.py ../..<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>Traceback (most recent call last):<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>  File "./check-uniques.py", line 39, in <module><o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>    uniques = find_uniques(glob.glob(os.path.join(top_dir, 'compiler', 'prelude', '*.hs')))<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>  File "./check-uniques.py", line 15, in find_uniques<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>    ms = unique_re.findall(open(f).read())<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>  File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>    return codecs.ascii_decode(input, self.errors)[0]<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB 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:.5in'><span lang=EN-GB>make: *** [Makefile:8: check] Error 1<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>make: Leaving directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>/c/code/HEAD$<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Any ideas about what might be happening?   The Python version is 3.4.3.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Simon<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"></a><span lang=EN-GB><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> ghc-devs [mailto:ghc-devs-bounces@haskell.org] <b>On Behalf Of </b>Simon Peyton Jones via ghc-devs<br><b>Sent:</b> 29 June 2016 12:08<br><b>To:</b> lonetiger@gmail.com<br><b>Cc:</b> ghc-devs@haskell.org<br><b>Subject:</b> RE: Msys2 64: progress</p></div></div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Aha!  That sounds <b><i>very</i></b> plausible.   I’ll try.   Maybe it’s a path-ordering thing.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>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></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>(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></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Simon<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> <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</p></div></div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Simon,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I think you’re right, </p><p class=MsoNormal>That pattern in the error is the one we pass to find</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>find "${base_dir}" -name "*.tar.xz" -exec tar xfJ {} \;</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>on line 334 of configure.ac which is supposed to unpack the files. </p><p class=MsoNormal>That the download script doesn’t output nothing makes sense now since the hashes of the files match.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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</p></div><p class=MsoNormal>The windows “find” utility, which generates that error. </p><p class=MsoNormal><o:p> </o:p></p></div></body></html>