MantisBT - CMake
View Issue Details
0015876CMakeCMakepublic2015-12-09 15:382016-06-10 14:31
A. Jesse Jiryu Davis 
Kitware Robot 
normalmajorrandom
closedmoved 
Visual Studio 2013WindowsWindows 7
CMake 3.2.2 
 
0015876: "Cannot restore timestamp"
Appears that bug 0013639 wasn't completely fixed, or has experienced a regression. With CMake 3.2.2 I very occasionally see this error at the end of an otherwise successful build on Windows:

CUSTOMBUILD : CMake error : Cannot restore timestamp CMakeFiles\generate.stamp
CMakeLists.txt with multiple add_library commands.
No tags attached.
Issue History
2015-12-09 15:38A. Jesse Jiryu DavisNew Issue
2015-12-09 16:56A. Jesse Jiryu DavisNote Added: 0039966
2015-12-10 08:27Brad KingNote Added: 0039967
2016-06-10 14:29Kitware RobotNote Added: 0042898
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0039966)
A. Jesse Jiryu Davis   
2015-12-09 16:56   
In fact this is on Windows 2008R2 in Amazon EC2.
(0039967)
Brad King   
2015-12-10 08:27   
An undocumented feature was added in CMake 3.0 that may help with this:

 Windows: Make file delete/rename retry configurable
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7b1f966a [^]

Try setting the registry entries mentioned in the commit message.
(0042898)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.