[Scons-users] VB: SCons fails to build
Bill Deegan
bill at baddogconsulting.com
Tue Oct 9 12:07:26 EDT 2018
Can you provide a sample SConstruct this happens with?
It's possible the error is in some command string you're passing.
And/or you're trying to run a binary which isn't in the default PATH set by
SCons, so you either need to copy the PATH from your shell and/or add the
path to
env['ENV']['PATH'] or use the full path to the tool
On Tue, Oct 9, 2018 at 10:57 AM Kristian Kinderlöv via Scons-users <
scons-users at scons.org> wrote:
> 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.
> _______________________________________________
> 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/20181009/a7b84865/attachment.html>
More information about the Scons-users
mailing list