|
Re: Running Shell Commands: msg#00031python.buildbot.devel
On a related note I ran the command as /bin/sh -c "(make allmodconfig > .config)" in the workdir and all went well. I am not entirely sure what is going on where to debug it the way in which a ShellCommand gets executed is hard to follow. -Brandon On 22:36 Tue 10 May , Brandon Philips wrote: > Hi- > > I changed the command to look like: > > config = s(step.ShellCommand, command="make allmodconfig > .config", > description="making .config", descriptionDone="made .config") > > But the .config file does not get the expected text into the file and > the following error is created: > > nd 'make allmodconfig > .config' in dir > /home/philips/buildbot-slave/linus-gw/build (timeout 1200 secs) > .config:2: *** missing separator. Stop. > make[1]: *** [allmodconfig] Error 2 > program finished with exit code 2 > > > make[1]: Entering directory > `/home/philips/buildbot-slave/linus-gw/build' > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/split-include > HOSTCC scripts/basic/docproc > make[1]: Leaving directory `/home/philips/buildbot-slave/linus-gw/build' > > Odd, I don't know what to make of it. > > Any ideas? > > -Brandon > > > On 18:08 Mon 09 May , Brandon Philips wrote: > > I need to run `make allmodconfig > .config` using ShellCommand but I keep > > getting the following errors: > > > > command '['(make allmodconfig > .config)']' in dir > > /home/philips/projects/bigit/slave/full/build (timeout 1200 secs) > > Upon execvpe (make allmodconfig > .config) ['(make allmodconfig > > > .config)'] in environment id -1216986820: > > Traceback (most recent call last): > > File "/usr/lib/python2.3/site-packages/twisted/internet/process.py", > > line 674, in __init__ > > os.execvpe(command, args, environment) > > File "/usr/lib/python2.3/os.py", line 345, in execvpe > > _execvpe(file, args, env) > > File "/usr/lib/python2.3/os.py", line 374, in _execvpe > > func(fullname, *argrest) > > OSError: [Errno 2] No such file or directory > > program finished with exit code 1 > > > > Any ideas? > > > > > > Thanks, > > > > Brandon > >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Running Shell Commands: 00031, Brandon Philips |
|---|---|
| Next by Date: | py.test and buildbot: 00031, Paul Warren |
| Previous by Thread: | Re: Running Shell Commandsi: 00031, Brandon Philips |
| Next by Thread: | Re: Running Shell Commands: 00031, Brian Warner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |