[Buildbot-devel] Running Shell Commands

Brandon Philips brandon at ifup.org
Wed May 11 05:36:50 UTC 2005


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://buildbot.net/pipermail/devel/attachments/20050510/353bb844/attachment.bin>


More information about the devel mailing list