[Scons-users] Errors in parallel builds after updating from SCons 2.3.0 -> 2.3.5

Bill Deegan bill at baddogconsulting.com
Mon Sep 28 12:34:48 EDT 2015


Your target node for the Command is None.
That's likely your issue. You're specifying None as a Node object.

You should likely use Value(None) or something like that.
Search for "Value(" in http://scons.org/doc/production/HTML/scons-man.html

-Bill

On Mon, Sep 28, 2015 at 9:29 AM, <mg at ncp-e.com> wrote:

> >    Can you share any code so we can understand what you're talking about?
>
> Of course. I broke it down to this:
>
> ------------------------------------------------------------------------
> env = Environment()
>
> def cmdFunc(target, source, env):
>         fstab_inst = env.Install("./install", "/etc/fstab")
>
> env.Command(
>         "some_cmd",
>         None,
>         cmdFunc,
> )
> ------------------------------------------------------------------------
>
> So I'm adding a new target during execution of the Command builder. It
> works in this example and even in my more complex case. The latter as
> long as I don't use multiple jobs in SCons > 2.3.0.
>
> From the SCons documentation I'm not clear if this kind of code is even
> allowed.
>
> Thanks
>
> Matthias
>
> --
> Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH)
> Entwicklung
>
> NCP engineering GmbH
> Dombühler Straße 2, D-90449, Nürnberg
> Geschäftsführer Peter Söll, HRB-Nr: 77 86 Nürnberg
>
> Telefon: +49 911 9968-153, Fax: +49 911 9968-229
> E-Mail: Matthias.Gerstner at ncp-e.com
> Internet: http://www.ncp-e.com
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150928/6435a32e/attachment-0001.html>


More information about the Scons-users mailing list