Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clock skew detected. Your build may be incomplete.???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sun Jul 24, 2011 6:53 am    Post subject: Clock skew detected. Your build may be incomplete.??? Reply with quote

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
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 972
Location: New Zealand

PostPosted: Sun Jul 24, 2011 8:20 am    Post subject: Reply with quote

Network file sharing? The computers' clocks are out of sync.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7467

PostPosted: Sun Jul 24, 2011 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 47896
Location: 56N 3W

PostPosted: Sun Jul 24, 2011 1:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
eLusive
n00b
n00b


Joined: 09 Oct 2012
Posts: 4

PostPosted: Wed Nov 21, 2012 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2464
Location: イタリアのロディで

PostPosted: Tue Dec 06, 2016 8:13 pm    Post subject: Reply with quote

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??? :P
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum