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

mg at ncp-e.com mg at ncp-e.com
Mon Sep 28 12:29:19 EDT 2015


>    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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150928/feceba78/attachment.pgp>


More information about the Scons-users mailing list