<p dir="ltr">This looks like a file lock issue. Just to double check, but do you have the build folder excluded from the antivirus scanner? </p>
<br><div class="gmail_quote"><div dir="ltr">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:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="m_7025554732098999573WordSection1">
<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_7025554732098999573Code">[230 of 232] Compiling Distribution.PackageDescription.Parsec ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parsec.hs, bootstrapping\Distribution\PackageDescription\Parsec.o )<u></u><u></u></p>
<p class="m_7025554732098999573Code">[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )<u></u><u></u></p>
<p class="m_7025554732098999573Code">[232 of 232] Compiling Main ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )<u></u><u></u></p>
<p class="m_7025554732098999573Code">Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...<u></u><u></u></p>
<p class="m_7025554732098999573Code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7025554732098999573Code">Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7025554732098999573Code">utils/genprimopcode/<a href="http://ghc.mk:19" target="_blank">ghc.mk:19</a>: utils/genprimopcode/dist/<a href="http://package-data.mk" target="_blank">package-data.mk</a>: No such file or directory<u></u><u></u></p>
<p class="m_7025554732098999573Code">make[1]: *** [utils/ghc-cabal/<a href="http://ghc.mk:57" target="_blank">ghc.mk:57</a>: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1<u></u><u></u></p>
<p class="m_7025554732098999573Code">make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'<u></u><u></u></p>
<p class="m_7025554732098999573Code">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_7025554732098999573Code">/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/tmp/<u></u><u></u></p>
<p class="m_7025554732098999573Code">total 0<u></u><u></u></p>
<p class="m_7025554732098999573Code">/c/code/HEAD$ sh validate --fast --no-clean<u></u><u></u></p>
<p class="m_7025554732098999573Code">using THREADS=5<u></u><u></u></p>
<p class="m_7025554732098999573Code">make: Entering directory '/c/code/HEAD/utils/checkUniques'<u></u><u></u></p>
<p class="m_7025554732098999573Code">./check-uniques.py ../..<u></u><u></u></p>
<p class="m_7025554732098999573Code">make: Leaving directory '/c/code/HEAD/utils/checkUniques'<u></u><u></u></p>
<p class="m_7025554732098999573Code">===--- building phase 0<u></u><u></u></p>
<p class="m_7025554732098999573Code">make --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=0 phase_0_builds<u></u><u></u></p>
<p class="m_7025554732098999573Code">"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -optc-Wall -optc-Werror -optc-fno-stack-protector \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -hide-all-packages \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -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_7025554732098999573Code"> --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -no-user-package-db \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -DCABAL_VERSION=2,0,0,2 \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -DCABAL_PARSEC \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -DBOOTSTRAPPING \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -odir bootstrapping \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -hidir bootstrapping \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/Cabal/Cabal \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/binary/src \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/filepath \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/hpc \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/mtl \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/text \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> libraries/text/cbits/cbits.c \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -Ilibraries/text/include \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/parsec \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> <u></u><u></u></p>
<p class="m_7025554732098999573Code">Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...<u></u><u></u></p>
<p class="m_7025554732098999573Code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7025554732098999573Code">Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7025554732098999573Code">make[1]: *** [utils/ghc-cabal/<a href="http://ghc.mk:57" target="_blank">ghc.mk:57</a>: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1<u></u><u></u></p>
<p class="m_7025554732098999573Code">make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'<u></u><u></u></p>
<p class="m_7025554732098999573Code">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_7025554732098999573Code">/c/code/HEAD$ sh validate --fast --no-clean<u></u><u></u></p>
<p class="m_7025554732098999573Code">using THREADS=5<u></u><u></u></p>
<p class="m_7025554732098999573Code">make: Entering directory '/c/code/HEAD/utils/checkUniques'<u></u><u></u></p>
<p class="m_7025554732098999573Code">./check-uniques.py ../..<u></u><u></u></p>
<p class="m_7025554732098999573Code">make: Leaving directory '/c/code/HEAD/utils/checkUniques'<u></u><u></u></p>
<p class="m_7025554732098999573Code">===--- building phase 0<u></u><u></u></p>
<p class="m_7025554732098999573Code">make --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=0 phase_0_builds<u></u><u></u></p>
<p class="m_7025554732098999573Code">"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -optc-Wall -optc-Werror -optc-fno-stack-protector \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -hide-all-packages \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -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_7025554732098999573Code"> --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -no-user-package-db \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -DCABAL_VERSION=2,0,0,2 \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -DCABAL_PARSEC \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -DBOOTSTRAPPING \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -odir bootstrapping \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -hidir bootstrapping \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/Cabal/Cabal \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/binary/src \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/filepath \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/hpc \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/mtl \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/text \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> libraries/text/cbits/cbits.c \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -Ilibraries/text/include \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> -ilibraries/parsec \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> \<u></u><u></u></p>
<p class="m_7025554732098999573Code"> <u></u><u></u></p>
<p class="m_7025554732098999573Code">Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...<u></u><u></u></p>
<p class="m_7025554732098999573Code">"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7025554732098999573Code">"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe<u></u><u></u></p>
<p class="m_7025554732098999573Code">"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"<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>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>