{"id":2188,"date":"2010-02-05T16:38:05","date_gmt":"2010-02-06T00:38:05","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=2188"},"modified":"2010-02-05T16:38:05","modified_gmt":"2010-02-06T00:38:05","slug":"30-hour-do-nothing-build","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/30-hour-do-nothing-build\/","title":{"rendered":"30-hour Do-nothing Build"},"content":{"rendered":"<p>I have a habit of prepending &#8216;time&#8217; to all of my &#8216;make&#8217; commands in order to keep a rough estimate of how long build jobs take.<\/p>\n<p>Adhering to this custom, I performed a &#8216;make&#8217; command on a project that didn&#8217;t actually require any rebuilding. So how does the following happen?<\/p>\n<pre>\r\n$ time make -j5\r\n\r\n[...]\r\n\r\nreal    <font color=\"red\">1770m35.893s<\/font>\r\nuser    0m12.408s\r\nsys     0m11.692s\r\n<\/pre>\n<p>Answer: The machine (virtual machine, actually) had just been started, had a grossly out-of-sync clock, and must have synced to the time server during that narrow window that the build was occurring:<\/p>\n<pre>\r\nmake[2]: Warning: File `...' has modification time 1.8e+04 s in the future\r\nmake[2]: warning:  Clock skew detected.  Your build may be incomplete.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>It takes a long time to do nothing<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2188","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=2188"}],"version-history":[{"count":2,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2188\/revisions"}],"predecessor-version":[{"id":2190,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2188\/revisions\/2190"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=2188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=2188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=2188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}