From 08072d1445f6573fd1b52afd5608a1fb68cd7e80 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 8 May 2009 18:56:46 +0000 Subject: [PATCH] Importing NanoBlogger post "warning: Clock skew detected" --- posts/warning:__Clock_skew_detected.mdwn | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 posts/warning:__Clock_skew_detected.mdwn 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]] -- 2.26.2