[Scons-users] Catching 'None' dependencies
Dirk Bächle
tshortik at gmx.de
Mon Apr 28 13:33:03 EDT 2014
On 28.04.2014 19:07, H. S. Teoh wrote:
>
> [...]
>
> Unfortunately this didn't help. All it does is to indicate which
> sequence of nodes lead to the node that depends on 'None', but by this
> point the dependency graph has already been constructed. What I need to
> know is which part of the SConscript / SConstruct is responsible for
> adding this wrong dependency into the graph in the first place.
>
> Is there a way, inside an SConscript, to extract the current list of
> dependencies for a particular node?
The list of implicit dependencies for each Node is built during the
"build phase", by scanning files as soon as they exist. So, checking
them in the "read phase" while parsing SConstructs/SConscripts won't help.
Do you have custom scanners/builders in your setup? Maybe you can track
this further down by specifying targets explicitly, like "scons mylib".
Are there subtrees of your dependency graph, that don't create the
"None" node? This might give you a further clue about where the error
comes from...
Dirk
More information about the Scons-users
mailing list