<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:purple;
        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:11.0pt;
        font-family:"Calibri",sans-serif;}
p.m7025554732098999573code, li.m7025554732098999573code, div.m7025554732098999573code
        {mso-style-name:m_7025554732098999573code;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle21
        {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-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;}
@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="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt">As you’ll see the directory is empty when the crash happens.  And yes the folder is excluded.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Also this behaviour is new.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><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"> Phyx [mailto:lonetiger@gmail.com]
<br>
<b>Sent:</b> 04 October 2017 14:17<br>
<b>To:</b> Simon Peyton Jones <simonpj@microsoft.com>; ghc-devs@haskell.org<br>
<b>Subject:</b> Re: More windows<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>This looks like a file lock issue. Just to double check, but do you have the build folder excluded from the antivirus scanner?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Oct 4, 2017, 13:57 Simon Peyton Jones via ghc-devs <<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Now in my Windows build, staring with “sh validate –fast –no-clean” I get<o:p></o:p></p>
<p class="m7025554732098999573code">[230 of 232] Compiling Distribution.PackageDescription.Parsec ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parsec.hs, bootstrapping\Distribution\PackageDescription\Parsec.o )<o:p></o:p></p>
<p class="m7025554732098999573code">[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )<o:p></o:p></p>
<p class="m7025554732098999573code">[232 of 232] Compiling Main             ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )<o:p></o:p></p>
<p class="m7025554732098999573code">Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...<o:p></o:p></p>
<p class="m7025554732098999573code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<o:p></o:p></p>
<p class="m7025554732098999573code">Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<o:p></o:p></p>
<p class="m7025554732098999573code">utils/genprimopcode/<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk%3A19&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=RBB0ZLl%2FEYwO7EfcTXr%2FKugBfnr1ecN%2Febs0rAKu1VE%3D&reserved=0" target="_blank">ghc.mk:19</a>:
 utils/genprimopcode/dist/<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpackage-data.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=QeEhyXBxi5n%2FhisTO6hX309ZFk47ek5NtGVDBNKbWLY%3D&reserved=0" target="_blank">package-data.mk</a>:
 No such file or directory<o:p></o:p></p>
<p class="m7025554732098999573code">make[1]: *** [utils/ghc-cabal/<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk%3A57&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=8qZlM0TvQvcySuregiRG5Ip%2FOR%2BVDAM6Dad1hUNEB%2FQ%3D&reserved=0" target="_blank">ghc.mk:57</a>:
 utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1<o:p></o:p></p>
<p class="m7025554732098999573code">make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'<o:p></o:p></p>
<p class="m7025554732098999573code">make: *** [Makefile:123: all] Error 2<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Simply repeating, thus “sh validate –fast”, I then get the same error<o:p></o:p></p>
<p class="m7025554732098999573code">/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/tmp/<o:p></o:p></p>
<p class="m7025554732098999573code">total 0<o:p></o:p></p>
<p class="m7025554732098999573code">/c/code/HEAD$ sh validate --fast --no-clean<o:p></o:p></p>
<p class="m7025554732098999573code">using THREADS=5<o:p></o:p></p>
<p class="m7025554732098999573code">make: Entering directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></p>
<p class="m7025554732098999573code">./check-uniques.py ../..<o:p></o:p></p>
<p class="m7025554732098999573code">make: Leaving directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></p>
<p class="m7025554732098999573code">===--- building phase 0<o:p></o:p></p>
<p class="m7025554732098999573code">make --no-print-directory -f <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=npxwtvhNnwLposvw%2B3k6rdhcQHEW7erd10hWCi5bvjg%3D&reserved=0" target="_blank">
ghc.mk</a> phase=0 phase_0_builds<o:p></o:p></p>
<p class="m7025554732098999573code">"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \<o:p></o:p></p>
<p class="m7025554732098999573code">       -optc-Wall -optc-Werror -optc-fno-stack-protector \<o:p></o:p></p>
<p class="m7025554732098999573code">        \<o:p></o:p></p>
<p class="m7025554732098999573code">       -hide-all-packages \<o:p></o:p></p>
<p class="m7025554732098999573code">       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \<o:p></o:p></p>
<p class="m7025554732098999573code">       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \<o:p></o:p></p>
<p class="m7025554732098999573code">       -no-user-package-db \<o:p></o:p></p>
<p class="m7025554732098999573code">       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \<o:p></o:p></p>
<p class="m7025554732098999573code">       -DCABAL_VERSION=2,0,0,2 \<o:p></o:p></p>
<p class="m7025554732098999573code">       -DCABAL_PARSEC \<o:p></o:p></p>
<p class="m7025554732098999573code">       -DBOOTSTRAPPING \<o:p></o:p></p>
<p class="m7025554732098999573code">       -odir  bootstrapping \<o:p></o:p></p>
<p class="m7025554732098999573code">       -hidir bootstrapping \<o:p></o:p></p>
<p class="m7025554732098999573code">       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/Cabal/Cabal \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/binary/src \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/filepath \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/hpc \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/mtl \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/text \<o:p></o:p></p>
<p class="m7025554732098999573code">       libraries/text/cbits/cbits.c \<o:p></o:p></p>
<p class="m7025554732098999573code">       -Ilibraries/text/include \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/parsec \<o:p></o:p></p>
<p class="m7025554732098999573code">        \<o:p></o:p></p>
<p class="m7025554732098999573code">       <o:p></o:p></p>
<p class="m7025554732098999573code">Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...<o:p></o:p></p>
<p class="m7025554732098999573code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<o:p></o:p></p>
<p class="m7025554732098999573code">Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<o:p></o:p></p>
<p class="m7025554732098999573code">make[1]: *** [utils/ghc-cabal/<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk%3A57&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=8qZlM0TvQvcySuregiRG5Ip%2FOR%2BVDAM6Dad1hUNEB%2FQ%3D&reserved=0" target="_blank">ghc.mk:57</a>:
 utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1<o:p></o:p></p>
<p class="m7025554732098999573code">make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'<o:p></o:p></p>
<p class="m7025554732098999573code">make: *** [Makefile:123: all] Error 2<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">But trying “sh validate –fast” once more succeeds:<o:p></o:p></p>
<p class="m7025554732098999573code">/c/code/HEAD$ sh validate --fast --no-clean<o:p></o:p></p>
<p class="m7025554732098999573code">using THREADS=5<o:p></o:p></p>
<p class="m7025554732098999573code">make: Entering directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></p>
<p class="m7025554732098999573code">./check-uniques.py ../..<o:p></o:p></p>
<p class="m7025554732098999573code">make: Leaving directory '/c/code/HEAD/utils/checkUniques'<o:p></o:p></p>
<p class="m7025554732098999573code">===--- building phase 0<o:p></o:p></p>
<p class="m7025554732098999573code">make --no-print-directory -f <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=npxwtvhNnwLposvw%2B3k6rdhcQHEW7erd10hWCi5bvjg%3D&reserved=0" target="_blank">
ghc.mk</a> phase=0 phase_0_builds<o:p></o:p></p>
<p class="m7025554732098999573code">"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \<o:p></o:p></p>
<p class="m7025554732098999573code">       -optc-Wall -optc-Werror -optc-fno-stack-protector \<o:p></o:p></p>
<p class="m7025554732098999573code">        \<o:p></o:p></p>
<p class="m7025554732098999573code">       -hide-all-packages \<o:p></o:p></p>
<p class="m7025554732098999573code">       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \<o:p></o:p></p>
<p class="m7025554732098999573code">       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \<o:p></o:p></p>
<p class="m7025554732098999573code">       -no-user-package-db \<o:p></o:p></p>
<p class="m7025554732098999573code">       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \<o:p></o:p></p>
<p class="m7025554732098999573code">       -DCABAL_VERSION=2,0,0,2 \<o:p></o:p></p>
<p class="m7025554732098999573code">       -DCABAL_PARSEC \<o:p></o:p></p>
<p class="m7025554732098999573code">       -DBOOTSTRAPPING \<o:p></o:p></p>
<p class="m7025554732098999573code">       -odir  bootstrapping \<o:p></o:p></p>
<p class="m7025554732098999573code">       -hidir bootstrapping \<o:p></o:p></p>
<p class="m7025554732098999573code">       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/Cabal/Cabal \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/binary/src \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/filepath \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/hpc \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/mtl \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/text \<o:p></o:p></p>
<p class="m7025554732098999573code">       libraries/text/cbits/cbits.c \<o:p></o:p></p>
<p class="m7025554732098999573code">       -Ilibraries/text/include \<o:p></o:p></p>
<p class="m7025554732098999573code">       -ilibraries/parsec \<o:p></o:p></p>
<p class="m7025554732098999573code">        \<o:p></o:p></p>
<p class="m7025554732098999573code">       <o:p></o:p></p>
<p class="m7025554732098999573code">Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...<o:p></o:p></p>
<p class="m7025554732098999573code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<o:p></o:p></p>
<p class="m7025554732098999573code">"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe<o:p></o:p></p>
<p class="m7025554732098999573code">"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot --with-ghc="c:/fp/ghc-8.0.2/bin/ghc.exe" --with-ghc-pkg="c:/fp/ghc-8.0.2/bin/ghc-pkg"  --package-db=C:/code/HEAD/libraries/bootstrapping.conf --disable-library-for-ghci
 --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour="/c/fp/HP-8.0.1/lib/extralibs/bin/HsColour" --configure-option=CFLAGS="-Wall -fno-stack-protector    -Wno-error=inline" --configure-option=LDFLAGS=" 
 " --configure-option=CPPFLAGS="   " --gcc-options="-Wall -fno-stack-protector    -Wno-error=inline   "   --constraint "binary == 0.8.5.1"   --constraint "text == 1.2.3.0"   --constraint "transformers == 0.5.4.0"   --constraint "mtl == 2.2.2"   --constraint
 "parsec == 3.1.12"   --constraint "Cabal == 2.0.0.2"   --constraint "hpc == 0.6.0.3"   --constraint "ghc-boot-th == 8.3"   --constraint "ghc-boot == 8.3"   --constraint "template-haskell == 2.13.0.0"   --constraint "ghci == 8.3" --with-gcc="C:/fp/ghc-8.0.2/lib/../mingw/bin/gcc.exe"
 --with-ld="C:/fp/ghc-8.0.2/lib/../mingw/bin/ld.exe" --with-ar="C:/fp/ghc-8.0.2/lib/../mingw/bin/ar.exe" --with-alex="/c/fp/HP-8.0.1/lib/extralibs/bin/alex" --with-happy="/c/fp/HP-8.0.1/lib/extralibs/bin/happy"<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">…etc etc<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’m stumped.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Simon<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=HPj0gcQlqItY7XC0CON1Fv5clpmEINCnYSqLHgsr06U%3D&reserved=0" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>