<div dir="ltr">do you have antivirus software that you can disable?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 2:43 PM, Paul Smith <span dir="ltr"><<a href="mailto:paul@mad-scientist.net" target="_blank">paul@mad-scientist.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, 2013-04-21 at 00:32 -0400, Paul Smith wrote:<br>
> Hi all; I'm getting this error most, but not every, time I run cmake on<br>
> my main Windows build system:<br>
><br>
> 28>CUSTOMBUILD : CMake error : Cannot restore timestamp D:\build-dir\MASTER-BRANCHES30-WINDOWS\BaseTest\CMakeFiles\generate.stamp<br>
><br>
> It happens for different targets as well, not always the same one.<br>
<br>
</div><div class="im">> commit 2dc17f88dd2de900154f153f521b803ec9b7c377<br>
> Author: Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>><br>
> Date: 2013-02-12 10:46:22 -0500<br>
<br>
</div>We're still seeing this, pretty often. This is a very serious problem<br>
for us as it's causing spurious build failures.<br>
<br>
I've looked into the code and added debugging. For example if the<br>
RenameFile() fails, I've printed the system error. The error always<br>
appears to be "No such file or directory".<br>
<br>
I've also added a check on the open of the temp file so that if it<br>
fails, I print the reason: previously there was no check for that.<br>
However, that code never executes so it seems that's not the problem.<br>
<br>
Currently my suspicion is that the name of the temp file is not unique<br>
enough: somehow multiple concurrent runs of this function are using the<br>
same temp file name. I've added output to print the temp file name<br>
always, not just when a failure happens, but it will take a bit of time<br>
to get into our build system.<br>
<br>
Anyone have any other ideas?<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>