<div dir="ltr">Can you try running the offending command with -v to see which step breaks? I tried running it locally under strace but did not see any file renames either.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 28, 2014 at 6:37 PM, Páli Gábor János <span dir="ltr"><<a href="mailto:pali.gabor@gmail.com" target="_blank">pali.gabor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2014-10-26 18:17 GMT+01:00 Gintautas Miliauskas <<a href="mailto:gintautas@miliauskas.lt">gintautas@miliauskas.lt</a>>:<br>
> Maybe it's something silly like one process not having enough<br>
> time to clean up and close the file before the next command tries to move<br>
> it? I'd add a sleep before the mv and see if that helps.<br>
<br>
</span>I am far from understanding all the details of the problem, but I<br>
believe the move operation originates from the ghc-cabal binary.  For<br>
what it is worth, I could not even find the place in the sources where<br>
the referenced MoveFileEx is called:<br>
<br>
"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot ""<br>
--with-ghc="/ghc-7.6.3/bin/ghc.exe"<br>
--with-ghc-pkg="/ghc-7.6.3/bin/ghc-pkg"<br>
--package-db=C:/msys32/home/ghc-builder/work/builder/tempbuild/build/libraries/bootstrapping.conf<br>
--disable-library-for-ghci --enable-library-vanilla<br>
--enable-library-for-ghci --disable-library-profiling --disable-shared<br>
--with-hscolour="/c/Users/ghc-builder/AppData/Roaming/cabal/bin/HsColour"<br>
--configure-option=CFLAGS=" -U__i686 -march=i686 -fno-stack-protector<br>
 " --configure-option=LDFLAGS="   " --configure-option=CPPFLAGS="   "<br>
--gcc-options=" -U__i686 -march=i686 -fno-stack-protector       "<br>
--constraint "binary == 0.7.1.0"   --constraint "Cabal == 1.21.1.0"<br>
--constraint "hpc == 0.6.0.2"   --constraint "bin-package-db ==<br>
0.0.0.0"   --constraint "hoopl == 3.10.0.2"   --constraint<br>
"transformers == 0.4.1.0"<br>
--with-gcc="C:/msys32/ghc-7.6.3/lib/../mingw/bin/gcc.exe"<br>
--configure-option=--with-cc="C:/msys32/ghc-7.6.3/lib/../mingw/bin/gcc.exe"<br>
--with-ar="C:/msys32/ghc-7.6.3/lib/../mingw/bin/ar.exe"<br>
--with-alex="/c/Users/ghc-builder/AppData/Roaming/cabal/bin/alex"<br>
--with-happy="/c/Users/ghc-builder/AppData/Roaming/cabal/bin/happy"<br>
Configuring binary-0.7.1.0...<br>
ghc-cabal.exe: dist-boot\setup-config3736.tmp: MoveFileEx<br>
"dist-boot\\setup-config3736.tmp" "dist-boot\\setup-config":<br>
permission denied (Access is denied.)<br>
libraries/binary/<a href="http://ghc.mk:3" target="_blank">ghc.mk:3</a>: recipe for target<br>
'libraries/binary/dist-boot/<a href="http://package-data.mk" target="_blank">package-data.mk</a>' failed<br>
<span class=""><br>
> Does the build<br>
> proceed if you try "make" without cleaning the repository, or does it hang<br>
> again at the same spot?<br>
<br>
</span>It is fully reproducible by the subsequent make(1) invocations as<br>
well, that is, yes, it hangs at the same spot.<br>
<br>
2014-10-28 17:18 GMT+01:00 Gintautas Miliauskas<br>
<<a href="mailto:gintautas.miliauskas@gmail.com">gintautas.miliauskas@gmail.com</a>>:<br>
<span class="">> Any luck with getting the Windows continuous builds back up and running?<br>
<br>
</span>No, not yet.  But I will keep posted on the results.<br>
<span class=""><br>
> I'd be willing to try to help out if remote access is available<br>
<br>
</span>I think this could be arranged.<br>
<span class=""><br>
> although the<br>
> build environment should be updated first in case that's the source of the<br>
> trouble.<br>
<br>
</span>Right, I will contact you off-list about this once I moved to<br>
toolchain versions to the ones recommended at the Windows build page.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Gintautas Miliauskas
</div>