<div dir="ltr">Oh sorry, I missed the ls line, I'll try building master.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 4, 2017 at 5:24 PM, Simon Peyton Jones <span dir="ltr"><<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" vlink="purple" link="blue">
<div class="m_7642486609588982954WordSection1">
<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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Also this behaviour is new.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Simon<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><u></u> <u></u></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:<a href="mailto:lonetiger@gmail.com" target="_blank">lonetiger@gmail.com</a>]
<br>
<b>Sent:</b> 04 October 2017 14:17<br>
<b>To:</b> Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>>; <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<b>Subject:</b> Re: More windows<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></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?
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></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" target="_blank">ghc-devs@haskell.org</a>> wrote:<u></u><u></u></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">Now in my Windows build, staring with “sh validate –fast –no-clean” I get<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">[230 of 232] Compiling Distribution.<wbr>PackageDescription.Parsec ( libraries\Cabal\Cabal\<wbr>Distribution\<wbr>PackageDescription\Parsec.hs, bootstrapping\Distribution\<wbr>PackageDescription\Parsec.o )<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\<wbr>Distribution\Simple.hs, bootstrapping\Distribution\<wbr>Simple.o )<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">[232 of 232] Compiling Main ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">Linking utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe ...<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">Unable to open utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">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">packa<wbr>ge-data.mk</a>:
No such file or directory<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">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/<wbr>tmp/ghc-cabal.exe] Error 1<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe'<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make: *** [Makefile:123: all] Error 2<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Simply repeating, thus “sh validate –fast”, I then get the same error<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/<wbr>tmp/<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">total 0<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">/c/code/HEAD$ sh validate --fast --no-clean<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">using THREADS=5<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make: Entering directory '/c/code/HEAD/utils/<wbr>checkUniques'<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">./check-uniques.py ../..<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make: Leaving directory '/c/code/HEAD/utils/<wbr>checkUniques'<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">===--- building phase 0<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">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<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -optc-Wall -optc-Werror -optc-fno-stack-protector \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -hide-all-packages \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -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 \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -no-user-package-db \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -Wall -fno-warn-unused-imports -fno-warn-warnings-<wbr>deprecations \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -DCABAL_VERSION=2,0,0,2 \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -DCABAL_PARSEC \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -DBOOTSTRAPPING \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -odir bootstrapping \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -hidir bootstrapping \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> bootstrapping/Cabal/<wbr>Distribution/Parsec/Lexer.hs \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/Cabal/Cabal \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/binary/src \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/filepath \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/hpc \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/mtl \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/text \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> libraries/text/cbits/cbits.c \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -Ilibraries/text/include \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/parsec \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> <u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">Linking utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe ...<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">Unable to open utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">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/<wbr>tmp/ghc-cabal.exe] Error 1<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe'<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make: *** [Makefile:123: all] Error 2<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">But trying “sh validate –fast” once more succeeds:<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">/c/code/HEAD$ sh validate --fast --no-clean<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">using THREADS=5<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make: Entering directory '/c/code/HEAD/utils/<wbr>checkUniques'<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">./check-uniques.py ../..<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">make: Leaving directory '/c/code/HEAD/utils/<wbr>checkUniques'<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">===--- building phase 0<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">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<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -optc-Wall -optc-Werror -optc-fno-stack-protector \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -hide-all-packages \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -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 \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -no-user-package-db \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -Wall -fno-warn-unused-imports -fno-warn-warnings-<wbr>deprecations \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -DCABAL_VERSION=2,0,0,2 \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -DCABAL_PARSEC \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -DBOOTSTRAPPING \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -odir bootstrapping \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -hidir bootstrapping \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> bootstrapping/Cabal/<wbr>Distribution/Parsec/Lexer.hs \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/Cabal/Cabal \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/binary/src \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/filepath \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/hpc \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/mtl \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/text \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> libraries/text/cbits/cbits.c \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -Ilibraries/text/include \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> -ilibraries/parsec \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> \<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code"> <u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">Linking utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe ...<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">"cp" utils/ghc-cabal/dist/build/<wbr>tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7642486609588982954m7025554732098999573code">"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot --with-ghc="c:/fp/ghc-8.0.2/<wbr>bin/ghc.exe" --with-ghc-pkg="c:/fp/ghc-8.0.<wbr>2/bin/ghc-pkg" --package-db=C:/code/HEAD/<wbr>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.<wbr>1/lib/extralibs/bin/HsColour" --configure-option=CFLAGS="-<wbr>Wall -fno-stack-protector -Wno-error=inline" --configure-option=LDFLAGS="
" --configure-option=CPPFLAGS=" <wbr> " --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/<wbr>lib/../mingw/bin/gcc.exe"
--with-ld="C:/fp/ghc-8.0.2/<wbr>lib/../mingw/bin/ld.exe" --with-ar="C:/fp/ghc-8.0.2/<wbr>lib/../mingw/bin/ar.exe" --with-alex="/c/fp/HP-8.0.1/<wbr>lib/extralibs/bin/alex" --with-happy="/c/fp/HP-8.0.1/<wbr>lib/extralibs/bin/happy"<u></u><u></u></p>
<p class="MsoNormal">…etc etc<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I’m stumped.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Simon<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">______________________________<wbr>_________________<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-<wbr>bin/mailman/listinfo/ghc-devs</a><u></u><u></u></p>
</blockquote>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>