View previous topic :: View next topic |
Author |
Message |
padoor Advocate


Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sun Jul 24, 2011 6:53 am Post subject: Clock skew detected. Your build may be incomplete.??? |
|
|
Code: | make[1]: warning: Clock skew detected. Your build may be incomplete.
localtux linux # make && make modules_install
make[2]: Warning: File `scripts/basic/.fixdep.cmd' has modification time 4616 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File `scripts/kconfig/.zconf.tab.o.cmd' has modification time 4642 s in the future
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
|
i tried remerging gentoo-sources after setting the clock
still iget the same clock skew warning
what it means and how do i avoid the skew? _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
 |
whig l33t

Joined: 27 Nov 2004 Posts: 972 Location: New Zealand
|
Posted: Sun Jul 24, 2011 8:20 am Post subject: |
|
|
Network file sharing? The computers' clocks are out of sync. |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7467
|
Posted: Sun Jul 24, 2011 8:58 am Post subject: |
|
|
it's just a warning that might show some problem, but in most case, it's still just a warning and it could happen easy: date your computer at X+1, build your kernel, date your computer to X : now clock skew detect because file your are trying to build were build in a date later than now.
it's really common when doing first kernel from livecd with bios date higher than current date. And you'll see it when rebuilding the kernel in your clean gentoo where your date is set properly.
i don't see a real problem here. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47896 Location: 56N 3W
|
Posted: Sun Jul 24, 2011 1:29 pm Post subject: |
|
|
padoor,
The problem comes from two conditions:-
1. Your clock has been set backward in time
2. You are building something that you have built before.
Heres what happens with the kernel as an example. You set your clock back an hour or two. Now you go into make menuconfig and change some settings, then do the usual build.
Make looks at the timestamps on the .o files and finds that they are all newer than the contributing .c and .h files and the .config file.
So make visits the entire tree and compiles nothing.
You are left with your old kernel from your updated .config because time went backwards.
*NIX time must only increment to avoid issues like this. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
eLusive n00b

Joined: 09 Oct 2012 Posts: 4
|
Posted: Wed Nov 21, 2012 10:06 pm Post subject: |
|
|
This caught me out... I was recompiling my kernel to include ethernet drivers, then stressing out about none of them working.
Turns out the above post is correct; make checks when the file was created, and if it's newer, it doesn't touch it... or something like that. Anyway, I used the quick hack over at cydeways to touch all the files inside my kernel dir, which updates all the times.
http://www.cydeweys.com/blog/2007/08/27/fixing-clock-skew-problems-in-gnulinux/
Hopefully this helps a few people who came to the forum instead of going to a blog from 2007 (like I did)  |
|
Back to top |
|
 |
bandreabis Advocate


Joined: 18 Feb 2005 Posts: 2464 Location: イタリアのロディで
|
Posted: Tue Dec 06, 2016 8:13 pm Post subject: |
|
|
eLusive wrote: | This caught me out... I was recompiling my kernel to include ethernet drivers, then stressing out about none of them working.
Turns out the above post is correct; make checks when the file was created, and if it's newer, it doesn't touch it... or something like that. Anyway, I used the quick hack over at cydeways to touch all the files inside my kernel dir, which updates all the times.
http://www.cydeweys.com/blog/2007/08/27/fixing-clock-skew-problems-in-gnulinux/
Hopefully this helps a few people who came to the forum instead of going to a blog from 2007 (like I did)  |
May I say I love you???  _________________ Il numero di post non fa di me un esperto! Anzi! |
|
Back to top |
|
 |
|