[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
Fri Sep 25 06:26:21 EDT 2015


Hello,

recently I've updated from SCons version 2.3.0 to version 2.3.5 and
since then I'm getting this type of errors when doing parallel builds
with a large number of jobs like '-j 8':

------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/SCons/Action.py", line 1063, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
  File "/home/mg/ncp/src/trunk/tools/python/ncp/scons/helper.py", line 1264, in instThirdParty
    env['tpi'].install(env, env['tpi_instdir'])
  File "/home/mg/ncp/src/trunk/tools/python/ncp/scons/types.py", line 1009, in install
    inst_node = env.Install(instdir, lib.str())[0]
  File "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 224, in __call__
    return self.method(*nargs, **kwargs)
  File "/usr/lib64/python2.7/site-packages/SCons/Tool/__init__.py", line 680, in Install
    return self._InternalInstall(*args, **kw)
  File "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 260, in __call__
    return MethodWrapper.__call__(self, target, source, *args, **kw)
  File "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 224, in __call__
    return self.method(*nargs, **kwargs)
  File "/usr/lib64/python2.7/site-packages/SCons/Tool/install.py", line 381, in InstallBuilderWrapper
    tgt.extend(BaseInstallBuilder(env, target, src, **kw))
  File "/usr/lib64/python2.7/site-packages/SCons/Builder.py", line 631, in __call__
    return self._execute(env, target, source, OverrideWarner(kw), ekw)
  File "/usr/lib64/python2.7/site-packages/SCons/Builder.py", line 555, in _execute
    _node_errors(self, env, tlist, slist)
  File "/usr/lib64/python2.7/site-packages/SCons/Builder.py", line 309, in _node_errors
    if t.get_executor().get_all_targets() != tlist:
AttributeError: 'NoneType' object has no attribute 'get_all_targets'
------------------------------------------------------------------------

I was looking into this but couldn't find any obvious error in my parts
of the code. And it worked fine before the update. So might this be a
new issue within SCons?

The error seems almost always reproducible and is always in the same
spot depending on which target I'm trying to build. The build is running
on Linux if this is of any relevance.

I'm glad for any help.

Best Regards

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/20150925/73560352/attachment.pgp>


More information about the Scons-users mailing list