Convert to tags from "*" to "tags/*".
[blog.git] / posts / warning:__Clock_skew_detected.mdwn
1 [[!meta  title="warning:  Clock skew detected"]]
2 [[!meta  date="2009-05-08 14:56:46"]]
3 I was running `make` to build [Comedi](http://www.comedi.org/) against
4 the current Hardy kernel, and it died with
5
6     ...
7     make[1]: Warning: File `Makefile' has modification time 1.1e+02 s in the future
8     make[1]: Nothing to be done for `clean-am'.
9     make[1]: warning:  Clock skew detected.  Your build may be incomplete.
10     make[1]: Leaving directory `/thor/wking/src/lab/comedi/comedi-build'
11     make: warning:  Clock skew detected.  Your build may be incomplete.
12
13 “No problem,” thinks I, since I'd just rebooted into the new kernel,
14 but I'd pulled the source in under the old kernel.  I'll just `touch`
15 all the files to make sure their times are in the past.
16
17 Nope.  Same error.  Turns out my `touch` is from the future:
18
19     $ date; ll include/Makefile; touch include/Makefile; ll include/Makefile; date
20     Fri May  8 10:48:35 EDT 2009
21     -rw-r--r-- 1 wking wking 15540 2009-05-08 10:48 include/Makefile
22     -rw-r--r-- 1 wking wking 15540 2009-05-08 10:50 include/Makefile
23     Fri May  8 10:48:35 EDT 2009
24
25 This is because my files are NFS mounted from another computer, and
26 the clocks were out of sync by two minutes.  Time to setup
27 [NTP](http://www.ntp.org/) for the lab LAN ;).
28
29 [[!tag tags/linux]]