artemp/mapnik — Issue #264: Scons rebuilds unchanged targets
Author: artemp
Created: 2011-10-11 16:08:01+00:00
State: open
Labels: Scons_Build_Scripts

I've been noticing on linux that after recent changes in trunk that scons is sometimes now failing to sense previously built targets, such that:

{{{
$ python scons/scons.py # compiles everything
$ sudo python scons/scons.py install # compiles again before installing
}}}
I may be botching the scons temp files inside the new configure code whereby I change the permissions. The idea behind changing the permissions is such that the .sconsign and other scons build files are never owned by root so that if a user rebuilds (after installing as root and a few things are recompiled) they won't get messed up build targets during dependency checking and won't get permission denied errors to those temp files.

I'll look into this more when I check out #261