[Scons-users] Issue with scons on AIX - what is error 6?

Gary Oberbrunner garyo at oberbrunner.com
Mon Jun 11 16:35:46 EDT 2012


On Mon, Jun 11, 2012 at 12:57 PM, TOM TANNER (BLOOMBERG/ LONDON) <
ttanner2 at bloomberg.net> wrote:


> one of my builders runs a c++ program and checks the output. ...

> and SCons says this:

> res is 0

> scons: *** [path to my program] Error -6

> scons: internal stack trace:

> ...

> File "/opt/swt/install/scons-2.1.0/lib/scons-2.1.0/SCons/Executor.py",

> line 343, in do_execute

> raise status

> scons: building terminated because of errors.

>

> What is error -6? and why is it coming up when my program has returned

> zero.

> _______________________________________________

>


Hi Tom -- SCons should be using the exit status of your program, but in the
normal case of a program that returns an error you don't get a stack trace
from SCons, so I think something else is going on. Are you sure your
program is the exact target/action causing the error? You can turn on
--taskmastertrace=- to see more details. If that doesn't help, try adding
a print stmt into do_execute in /opt/swt/install/scons-2.1.0/
lib/scons-2.1.0/SCons/Executor.py. I'd start by printing act, and target
(or maybe str(target[0]).)

--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120611/2c0a55d0/attachment.htm>


More information about the Scons-users mailing list