[Scons-users] Catching 'None' dependencies

Gary Oberbrunner garyo at oberbrunner.com
Sun Apr 27 12:01:20 EDT 2014


On Sun, Apr 27, 2014 at 12:35 AM, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:


> I'm having some trouble tracking down a bug in my SConscript that causes

> an implicit dependency on '/some/path/None', which fails because such a

> file doesn't exist. The 'None' comes from an inadvertent null value

> somewhere, but I'm having trouble finding where it is.

>

> Is there any way for SCons to abort immediately upon seeing a dependency

> on 'None' so that it's easier to track down this bug? Currently, it

> goes ahead and inserts it into the dependency graph, and only halfway

> into the build it aborts because it can't find the non-existent file.

>

> I can't think of an obvious way to do this today, but I bet if you can

find the right place, we can put an explicit check for None there and save
others from going through this.

--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140427/20afe62e/attachment-0001.html


More information about the Scons-users mailing list