[Scons-users] Scons Implicity Dependency not found issue

Mats Wichmann mats at wichmann.us
Wed Oct 24 19:42:59 EDT 2018


On 10/24/2018 02:29 PM, Hua Yanghao wrote:
> Hi Mats and all, finally I extract out the essence of my build system
> and come up with a simple setup that can reproduce the same issue
> easily:
> https://github.com/yanghao/scons_incremental_build_fail
> 
> Please follow the README.md file there to reproduce the issue (100%
> success rate on my side, scons 3.0.1).


So it seems what you have is a "priming" build has deposited a copy of a
header in a variant tree.  When the original header is removed, scons
gets confused - I assume it doesn't just start from "what it looks like
now" in your build/a but tries to check if build/a in any way needs
resyncing with what it is shadowing.  And it doesn't have the
information to do that - build/a/include/test.h exists but
a/include/test.h does not.

does that accurately describe the scenario in your original problem, or
is it just an artifact of trying to build the reproducer?




More information about the Scons-users mailing list