[Scons-users] repositories, scons doesn't start the search from the beginning

Dan McNaul danmcnaul at gmail.com
Mon Mar 16 14:22:50 EDT 2015


I apologize.  I didn’t follow your procedures of posting this here first.  I already created issue 3000 for this. I consider this a bug.  It has been around for a long time.  The tests are using
scons_2.3.4.

When using repositories, scons builds the "official" root correctly.  When
developers try to use the repository, scons does not identify header changes
correctly.

In the attached test cases, hdr1.h includes hdrA.h and hdr1.h uses stuff from
hdrA.h.  MyMain.c includes hdr1.h.  If you edget hdrA.h into your home dir (see
testcase1 in home1/g1r1/src/include) and make a change to it, scons misses the
change to the dependency and reports it is up to date.  (see home1/g1r1/bld.out).

To over come this, the developer has to recognize this behavior and also edget
hdr1.h (see testcase2 in home2/g1r1/src/include) for scons to realize it needs
to rebuild "stuff".  (see home2/g1r1/bld.out)

It appears that scons is not restarting it's repository search logic from the
beginning of all the paths to find headers included in other headers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150316/41bb8f31/attachment.html>


More information about the Scons-users mailing list