From: W. Trevor King Date: Fri, 8 May 2009 18:56:46 +0000 (+0000) Subject: Importing NanoBlogger post "warning: Clock skew detected" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=08072d1445f6573fd1b52afd5608a1fb68cd7e80;p=blog.git Importing NanoBlogger post "warning: Clock skew detected" --- diff --git a/posts/warning:__Clock_skew_detected.mdwn b/posts/warning:__Clock_skew_detected.mdwn new file mode 100644 index 0000000..a87511e --- /dev/null +++ b/posts/warning:__Clock_skew_detected.mdwn @@ -0,0 +1,29 @@ +[[!meta title="warning: Clock skew detected"]] +[[!meta date="2009-05-08 14:56:46"]] +I was running `make` to build [Comedi](http://www.comedi.org/) against +the current Hardy kernel, and it died with + + ... + make[1]: Warning: File `Makefile' has modification time 1.1e+02 s in the future + make[1]: Nothing to be done for `clean-am'. + make[1]: warning: Clock skew detected. Your build may be incomplete. + make[1]: Leaving directory `/thor/wking/src/lab/comedi/comedi-build' + make: warning: Clock skew detected. Your build may be incomplete. + +“No problem,” thinks I, since I'd just rebooted into the new kernel, +but I'd pulled the source in under the old kernel. I'll just `touch` +all the files to make sure their times are in the past. + +Nope. Same error. Turns out my `touch` is from the future: + + $ date; ll include/Makefile; touch include/Makefile; ll include/Makefile; date + Fri May 8 10:48:35 EDT 2009 + -rw-r--r-- 1 wking wking 15540 2009-05-08 10:48 include/Makefile + -rw-r--r-- 1 wking wking 15540 2009-05-08 10:50 include/Makefile + Fri May 8 10:48:35 EDT 2009 + +This is because my files are NFS mounted from another computer, and +the clocks were out of sync by two minutes. Time to setup +[NTP](http://www.ntp.org/) for the lab LAN ;). + +[[!tag linux]]