Author Topic: Problems compiling due to clock skew  (Read 2590 times)

0 Members and 1 Guest are viewing this topic.

Offline Thom

Quote
I tried the clean target and find / touch, neither resolved the issue.

I think you pointed me in the right direction tho. Compiling on a virtualBox VM using Vagrant, which shares a host folder with VM, and that's where the compile is taking place.

I'll try moving the source tree off the shared folder and onto the native VM disk to see if that fixes it.

Thx BM  8)

That fixed it. I have observed that VM platforms don't perform well when it comes to shared disk resources. Not only is the timestamp problem resolved but the build takes a fraction of the time it did using the shared drive.
« Last Edit: January 22, 2015, 06:31:28 pm by Thom »
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline bytemaster

If you are building on a network drive that could be the issue. 

Also if your clock changed while you were compiling it could be an issue.

make clean; make should fix any potential issues.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline Thom

Quote
Linking C static library libeasylzma_static.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 24%] Built target easylzma_static
Scanning dependencies of target fc
make[2]: Warning: File `libraries/fc/CMakeFiles/fc.dir/depend.make' has modification time 2.2 s in the future

I tried this at the top of the build tree: find . -type f | xargs -n 5 touch but it still occurs. I googled the issue but can't find the actual cause. Most say they resolved the problem with a clean / touch.

Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html