[Scummvm-devel] PATH on buildbot

Willem Jan Palenstijn wjp at usecode.org
Wed May 25 22:53:00 CEST 2011


On Wed, May 25, 2011 at 10:18:05PM +0200, Max Horn wrote:
> 
> Am 25.05.2011 um 20:39 schrieb Willem Jan Palenstijn:
> 
> > Hi all,
> > 
> > I'm going to make some random observations here hoping that someone who knows
> > the buildbot design can fix things...
> > 
> > 
> > This is the master-lenny-x86_64 build:
> > 
> >> From http://buildbot.scummvm.org/builders/master-lenny-x86_64/builds/166/steps/configure/logs/stdio :
> > 
> >  PATH=<snip a lot>
> >  [...]
> >  Looking for sdl-config... /opt/toolchains/motomagx/arm-eabi2/bin/sdl-config
> >  [...]
> > 
> This looks suspiciously like *my* PATH variable (except with debian-lenny
> tucked in front of it)... I wonder if that's so because I restarted buildbot
> from my account (to be precise: I logged in with my account, then sudo'ed
> myself to root, then restarted buildbot). I.e. it looks as if it inherited my
> env. BAD

Ah, that makes sense. (A 'sudo su -' should get rid of your env, though.)

> So somebody needs to restart it once more, but with a clean PATH. And to
> prevent disasters like that in the future, we should in fact set an initial
> minimal PATH for all ports... That would also help catch mistakes like the
> one you report on below. I guess just putting "/bin" in there should be
> enough... I'll experiment with it.

Thanks. It looks like it also needs /usr/bin for (at least) /usr/bin/make.

-Willem Jan




More information about the Scummvm-devel mailing list