<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">&lt;<a href="mailto:paul@mad-scientist.net" target="_blank">paul@mad-scientist.net</a>&gt;</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>
&gt; Hi all; I&#39;m getting this error most, but not every, time I run cmake on<br>
&gt; my main Windows build system:<br>
&gt;<br>
&gt; 28&gt;CUSTOMBUILD : CMake error : Cannot restore timestamp D:\build-dir\MASTER-BRANCHES30-WINDOWS\BaseTest\CMakeFiles\generate.stamp<br>
&gt;<br>
&gt; It happens for different targets as well, not always the same one.<br>
<br>
</div><div class="im">&gt; commit 2dc17f88dd2de900154f153f521b803ec9b7c377<br>
&gt; Author: Brad King &lt;<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>&gt;<br>
&gt; Date:   2013-02-12 10:46:22 -0500<br>
<br>
</div>We&#39;re still seeing this, pretty often.  This is a very serious problem<br>
for us as it&#39;s causing spurious build failures.<br>
<br>
I&#39;ve looked into the code and added debugging.  For example if the<br>
RenameFile() fails, I&#39;ve printed the system error.  The error always<br>
appears to be &quot;No such file or directory&quot;.<br>
<br>
I&#39;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&#39;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&#39;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>