[Scons-users] Decider which checks md5 checksums unexpectedly detecting changed/invalid ones

Gary Oberbrunner garyo at oberbrunner.com
Wed Sep 25 09:48:57 EDT 2013


Hi Tom -- I'm not ignoring you, but the issues you raise require some
thought. Just wanted to let you know.


On Mon, Sep 23, 2013 at 5:04 AM, Tom Tanner (BLOOMBERG/ LONDON) <
ttanner2 at bloomberg.net> wrote:


> Replying to myself again:

>

> The problem appears to be to do with copying something from the cache: If

> you copy a file from the cache, the timestamp can go backwards rather than

> forwards. So the '(time.time() - mtime) > max_drift' test can spuriously

> return true (especially if max_drift is quite low because you have a stable

> clock over your network, as recommended by the 'GoFastButton' on the wiki).

>

> I am at a bit of a loss here, as what the wiki seems to say (only cache

> the signature if) and what the code seem to do (use the cached signature

> if) appear to be rather different.

>

> The option appears to be to either (1) set the max_drift to negative or

> (2) to force the sig to be recalculated after a build in the built()

> function in Node/__init__.py. You certainly need to do the later if you've

> got the max drift set to 0, or you'll get wrong builds. But I'm not sure

> what get_max_drift_csig is actually meant to be doing.

>

> Help would be appreciated as I want my build to be both fast an accurate.

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>



--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130925/31a3fb76/attachment.html


More information about the Scons-users mailing list