<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
.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;}
/* List Definitions */
@list l0
        {mso-list-id:150565574;
        mso-list-type:hybrid;
        mso-list-template-ids:-1249863664 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0D8;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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>To test if it’s AD try (in case my other email didn’t get through):</p><p class=MsoNormal><o:p> </o:p></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-family:Wingdings'><span style='mso-list:Ignore'>Ø<span style='font:7.0pt "Times New Roman"'>  </span></span></span><![endif]><span style='font-family:"Calibri",sans-serif'>you may be hitting a long standing issue some computers have in which the domain controller is being hit for every invocation of commands, causing a slowdown <a href="https://github.com/Alexpux/MSYS2-packages/issues/138">https://github.com/Alexpux/MSYS2-packages/issues/138</a> , Solution 2 from <a href="https://gist.github.com/k-takata/9b8d143f0f3fef5abdab">https://gist.github.com/k-takata/9b8d143f0f3fef5abdab</a> seems to fix it for most people.</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers,</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:ghc-devs@haskell.org">Simon Peyton Jones via ghc-devs</a><br><b>Sent: </b>Tuesday, June 28, 2016 13:47<br><b>To: </b><a href="mailto:david.macek.0@gmail.com">David Macek</a>; <a href="mailto:tamar@zhox.com">tamar@zhox.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 bit: help help!</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>David, Tamar</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for your help.  I'm a bit further forward.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>|  > 1.  I just left the machine for 10-15 mins and lo! the shell windows</p><p class=MsoNormal>|  opened up. It just took a loooong time.</p><p class=MsoNormal>|  </p><p class=MsoNormal>|  I could be something with Active Directory. Cygwin (upon which is</p><p class=MsoNormal>|  MSYS2 based) integrates with AD, but there are numerous (google-able)</p><p class=MsoNormal>|  reports of huge slowdowns related to this.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>|  > 4. As you mention, I then tried msys2_shell.cmd.  It worked -- with</p><p class=MsoNormal>|  a noticeable delay of 5 seconds or so.</p><p class=MsoNormal>|</p><p class=MsoNormal>|  May still be AD-related.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Let's suppose it is AD.  Do you have any idea what I can do about it?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>|  If the post-install script for `filesystem` were able to run, it would</p><p class=MsoNormal>|  inform you that `*_shell.bat` are deprecated and were removed. I see</p><p class=MsoNormal>|  you have `msys2-launcher-git` installed -- you can then use</p><p class=MsoNormal>|  `C:\msys64\mingw64.exe` (and even pin it to the taskbar).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OK... so forget msys2_shell.cmd and use mingw64.exe instead.  I'll try that.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>|  > * how can I debug what's happening with</p><p class=MsoNormal>|  >   that long delay</p><p class=MsoNormal>|  </p><p class=MsoNormal>|  `/etc/nsswitch.conf` allows for some configuration. See</p><p class=MsoNormal>|  <https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-</p><p class=MsoNormal>|  pwdgrp>.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OK.. I see that page. Now what?  What might I do with nsswitch.conf that might help fix or give insight?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Simon</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>_______________________________________________</p><p class=MsoNormal>ghc-devs mailing list</p><p class=MsoNormal>ghc-devs@haskell.org</p><p class=MsoNormal>http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>