Re: VB: SCons fails to build
Bill Deegan <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CAEyG4CH-JvKWFjdo6RhGSz-+8J7PxWx2Gi-nixC9Z5Gjw7y1rg@mail.gmail.com> |
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 < [email protected]> 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 > [email protected] > https://pairlist4.pair.net/mailman/listinfo/scons-users > _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users