[Scons-users] VB: SCons fails to build

Kristian Kinderlöv Kristian.Kinderlov at husqvarnagroup.com
Tue Oct 9 10:57:19 EDT 2018


Hi all,

When I build I get the error from Scons: "No such file or directory".  From the debugger I found out that the function exec_subprocess in SCons/platform/posix.py get an exception from the subprocess.Popen call, see below. The same build system work fine on an Arch Linux or MSYS. So something with the combination of Ubuntu and SCons causes this problem.

Has anyone experience the same problem and/or have an solution for this?

posix.py:
....
63 def exec_subprocess(l, env):
64     proc = subprocess.Popen(l, env = env, close_fds = True)
65     return proc.wait()
...

>From the debugger:

> /usr/lib/python2.7/subprocess.py(929)_execute_child()
-> try:
(Pdb) r
--Return--
> /usr/lib/python2.7/subprocess.py(1047)_execute_child()->None
-> raise child_exception
(Pdb) r
OSError: OSError(...rectory')
> /usr/lib/python2.7/subprocess.py(394)__init__()
-> errread, errwrite)

Versions used:

  *   Version of SCons : script: v3.0.1.74b2c53bc42290e911b334a6b44f187da698a668,
  *   Version of Python : Python 2.7.15rc1
  *   Platform Ubuntu 18.04



The information in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If you are not an intended recipient, you are strictly prohibited from reading, disclosing, distributing, copying or using this email or any of its contents, in any way whatsoever. If you have received this email in error, please contact the sender by reply email and destroy all copies of the original message. Please also be advised that emails are not a secure form for communication, and may contain errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20181009/608ca656/attachment-0001.html>


More information about the Scons-users mailing list