Discussion:
[CMake] question about "clock skew detected. Your build may be incomplete"
WangPing
2007-12-07 22:16:43 UTC
Permalink
Dear cmake experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run 'make', it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the "clock skew detected. Your build may be incomplete" message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message "clock skew detected. Your build may be incomplete"? Best Regards,ping wang
_________________________________________________________________
Óà Live Search ËÑŸ¡ÌìÏÂ×ÊѶ£¡
http://www.live.com/?searchOnly=true
Karthik Krishnan
2007-12-07 22:24:50 UTC
Permalink
Your system time is probably incorrect. One possible reason is that the
timestamp of the files that make is compiling is newer than the current
time.

"Hello world" programs (as the name suggest) are simply meant to display
"Hello world".. as a warm welcome :) (
http://en.wikipedia.org/wiki/Hello_world_program)

Regards
--
karthik

PS:
Please google your queries before posting them on the list.
Post by WangPing
I am a new user for ITK and cmake. Today I downloaded ITK and cmake and
followed the instruction to build ITK, when I finannly run make, it always
clock skew detected. Your build may be incomplete
I do not know if my ITK will have problem. After the ITK is done, I tried
to build the HelloWorld.cxx from the ITK instruction, it still gave the
"clock skew detected. Your build may be incomplete" message, but finally
the HelloWorld application was produced. When I typied ./HelloWorld, it
showed: ITK Hello World! no anything else.
Is there anybody could tell me if my itk has problem? How to get rid of
the warning message "clock skew detected. Your build may be incomplete"?
Best Regards,
ping wang
------------------------------
ÇáËɰÑHotmailÏÂÔØµœ±ŸµØ£¬ÊÔÊÔ Windows Live Mail¡£ Á¢ŒŽ³¢ÊÔ£¡ <http://get.live.com/wl/all>
_______________________________________________
Insight-users mailing list
http://www.itk.org/mailman/listinfo/insight-users
--
Karthik Krishnan
R&D Engineer,
Kitware Inc.
Ph: 518 371 3971 x119
518 698 3045 (cell)
Fax: 518 371 3971
James Bigler
2007-12-07 22:27:56 UTC
Permalink
I've also seen this using a local disk (so the system time should be consistent) for my own (not ITK) projects. It may be the file system type, because I've mostly seen it using
cygwin on a fat32 file system.

James
Post by Karthik Krishnan
Your system time is probably incorrect. One possible reason is that the
timestamp of the files that make is compiling is newer than the current
time.
"Hello world" programs (as the name suggest) are simply meant to display
"Hello world".. as a warm welcome :) (
http://en.wikipedia.org/wiki/Hello_world_program)
Regards
--
karthik
Please google your queries before posting them on the list.
Post by WangPing
I am a new user for ITK and cmake. Today I downloaded ITK and cmake and
followed the instruction to build ITK, when I finannly run make, it always
clock skew detected. Your build may be incomplete
I do not know if my ITK will have problem. After the ITK is done, I tried
to build the HelloWorld.cxx from the ITK instruction, it still gave the
"clock skew detected. Your build may be incomplete" message, but finally
the HelloWorld application was produced. When I typied ./HelloWorld, it
showed: ITK Hello World! no anything else.
Is there anybody could tell me if my itk has problem? How to get rid of
the warning message "clock skew detected. Your build may be incomplete"?
Best Regards,
ping wang
------------------------------
ÇáËɰÑHotmailÏÂÔØµ½±¾µØ£¬ÊÔÊÔ Windows Live Mail¡£ Á¢¼´³¢ÊÔ£¡ <http://get.live.com/wl/all>
_______________________________________________
Insight-users mailing list
http://www.itk.org/mailman/listinfo/insight-users
------------------------------------------------------------------------
_______________________________________________
CMake mailing list
http://www.cmake.org/mailman/listinfo/cmake
WangPing
2007-12-08 01:52:47 UTC
Permalink
I run this on the local linux disk, it should be linux format (not fat format), I do not know how to deal with the problem.> Date: Fri, 7 Dec 2007 15:27:56 -0700> From: ***@cs.utah.edu> Subject: Re: [CMake] Re: [Insight-users] question about "clock skew detected. Your build may be incomplete"> CC: insight-***@itk.org; ***@cmake.org> > I've also seen this using a local disk (so the system time should be consistent) for my own (not ITK) projects. It may be the file system type, because I've mostly seen it using > cygwin on a fat32 file system.> > James> > Karthik Krishnan wrote:> > Your system time is probably incorrect. One possible reason is that the> > timestamp of the files that make is compiling is newer than the current> > time.> > > > "Hello world" programs (as the name suggest) are simply meant to display> > "Hello world".. as a warm welcome :) (> > http://en.wikipedia.org/wiki/Hello_world_program)> > > > Regards> > --> > karthik> > > > PS:> > Please google your queries before posting them on the list.> > > > On 12/7/07, WangPing <***@hotmail.com> wrote:> >> Dear ITK experts:> >>> >> I am a new user for ITK and cmake. Today I downloaded ITK and cmake and> >> followed the instruction to build ITK, when I finannly run make, it always> >> gave many warning message as below:> >>> >> clock skew detected. Your build may be incomplete> >>> >> I do not know if my ITK will have problem. After the ITK is done, I tried> >> to build the HelloWorld.cxx from the ITK instruction, it still gave the> >> "clock skew detected. Your build may be incomplete" message, but finally> >> the HelloWorld application was produced. When I typied ./HelloWorld, it> >> showed: ITK Hello World! no anything else.> >>> >> Is there anybody could tell me if my itk has problem? How to get rid of> >> the warning message "clock skew detected. Your build may be incomplete"?> >>> >> Best Regards,> >> ping wang> >>> >> ------------------------------> >> ÇáËɰÑHotmailÏÂÔØµœ±ŸµØ£¬ÊÔÊÔ Windows Live Mail¡£ Á¢ŒŽ³¢ÊÔ£¡ <http://get.live.com/wl/all>> >>> >> _______________________________________________> >> Insight-users mailing list> >> Insight-***@itk.org> >> http://www.itk.org/mailman/listinfo/insight-users> >>> >>> > > > > > > > ------------------------------------------------------------------------> > > > _______________________________________________> > CMake mailing list> > ***@cmake.org> > http://www.cmake.org/mailman/listinfo/cmake> _______________________________________________> CMake mailing list> ***@cmake.org> http://www.cmake.org/mailman/listinfo/cmake
_________________________________________________________________
甹 Live Search 搜尜倩䞋资讯
http://www.live.com/?searchOnly=true
WangPing
2007-12-08 01:50:32 UTC
Permalink
I used date to check the time of the linux machine, the date and time is correct. I still do not understand why I got this message.


Date: Fri, 7 Dec 2007 17:24:50 -0500From: ***@kitware.comTo: ***@hotmail.comSubject: Re: [Insight-users] question about "clock skew detected. Your build may be incomplete"CC: insight-***@itk.org; ***@cmake.orgYour system time is probably incorrect. One possible reason is that the timestamp of the files that make is compiling is newer than the current time."Hello world" programs (as the name suggest) are simply meant to display "Hello world".. as a warm welcome :) ( http://en.wikipedia.org/wiki/Hello_world_program)Regards --karthikPS:Please google your queries before posting them on the list.
On 12/7/07, WangPing <***@hotmail.com> wrote:

Dear ITK experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run make, it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the "clock skew detected. Your build may be incomplete" message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message "clock skew detected. Your build may be incomplete"? Best Regards,ping wang

ÇáËɰÑHotmailÏÂÔØµœ±ŸµØ£¬ÊÔÊÔ Windows Live Mail¡£ Á¢ŒŽ³¢ÊÔ£¡_______________________________________________Insight-users mailing listInsight-***@itk.orghttp://www.itk.org/mailman/listinfo/insight-users-- Karthik KrishnanR&D Engineer,Kitware Inc.Ph: 518 371 3971 x119 518 698 3045 (cell)Fax: 518 371 3971
_________________________________________________________________
ÐÂÒ»ŽúµÄWindows Live ÖØ×°ÍÆ³öÈ«ÐÂµÄÆßÖÖÎäÆ÷£¡
http://get.live.cn
Jesper Eskilson
2007-12-10 21:42:36 UTC
Permalink
Post by Karthik Krishnan
Your system time is probably incorrect. One possible reason is that the
timestamp of the files that make is compiling is newer than the current
time.
If the local time is correct and no network filesystems are involved,
then I would guess that there is a file somewhere with a modification
time in the future, but GNU make will notify the user if that is the case:

$ make
cc foo.c -o foo
$ touch --date=tomorrow foo.c
$ make
make: Warning: File `foo.c' has modification time 8.6e+04 s in the future
cc foo.c -o foo
make: warning: Clock skew detected. Your build may be incomplete.

WangPing, can you reproduce this with a trivial makefile?

Makefile:
foo: foo.c
$(CC) $< -o $@

foo.c:
int main() { return 0; }

This does not sound CMake-related to me.

--
/Jesper

Alan W. Irwin
2007-12-08 02:11:38 UTC
Permalink
Post by WangPing
Dear cmake experts: I am a new user for ITK and cmake. Today I downloaded
ITK and cmake and followed the instruction to build ITK, when I finannly run
'make', it always gave many warning message as below: clock skew detected.
Your build may be incomplete I do not know if my ITK will have problem.
After the ITK is done, I tried to build the HelloWorld.cxx from the ITK
instruction, it still gave the "clock skew detected. Your build may be
incomplete" message, but finally the HelloWorld application was produced.
When I typied ./HelloWorld, it showed: ITK Hello World! no anything else.
Is there anybody could tell me if my itk has problem? How to get rid of the
warning message "clock skew detected. Your build may be incomplete"?

That warning message usually means your date/time is grossly incorrect. For
example, one guy's message I found with google got the message when the date
on his computer was 3 years (!) wrong.

Does the "date" command give you a reasonable date/time?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
WangPing
2007-12-08 02:14:03 UTC
Permalink
The date /time on my local workstation is correct, probably due to NFS system, the work directory is a NFS folder on other server, maybe the date/time on this server is incorrect? I can check it later.
_________________________________________________________________
Óà Live Search ËÑŸ¡ÌìÏÂ×ÊѶ£¡
http://www.live.com/?searchOnly=true
Alan W. Irwin
2007-12-08 05:30:01 UTC
Permalink
Post by WangPing
The date /time on my local workstation is correct, probably due to NFS
system, the work directory is a NFS folder on other server, maybe the
date/time on this server is incorrect? I can check it later.

Inconsistent dates/times between NFS server and local machine
is another likely cause.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
Jesper Eskilson
2007-12-10 21:29:31 UTC
Permalink
Post by WangPing
The date /time on my local workstation is correct, probably due to NFS
system,
Do you mean NTP? NFS does not keep your local computer time correct.
Post by WangPing
the work directory is a NFS folder on other server, maybe the
date/time on this server is incorrect? I can check it later.
NFS is probably the *primary* cause of clock skew, and GNU make can be
pretty picky about how close the clocks need to be. (Note that a local
clock which is out-of-date won't cause clock skew in itself, since
everything will be out-of-date by the same amount.)

Also note that if the build succeeds, you probably have nothing to worry
about. (Unless you're hacking in the code yourself, then make may have
failed to rebuild any out-of-date files.)

--
/Jesper
Continue reading on narkive:
Loading...