Re: Where can build scripts be found?
On 2017-01-25 14:05 -0800, Thomas Nyberg wrote:
> I'm trying to compile my own version of icedove to see if I can
> understand certain bugs I'm running into (at the moment I just get
> random crashes, so I can't really report anything useful). I tried the
> following steps on a new machine:
> $ mkdir $HOME/icedove
> $ cd $HOME/icedove/
> $ sudo apt-get install devscripts
> $ sudo apt-get build-dep icedove
> $ apt-get source icedove
> $ cd icedove-45.6.0/
> $ build -b -uc -us
I think you mean debuild rather than build in the last step, otherwise this
> line 29, in <module>
> raise Exception('Could not detect environment shell!')
> Exception: Could not detect environment shell!
This seems to be a recurring problem in Mozilla's build process, it
fails because SHELL is not set in the environment. You can work around
that by passing --preserve-envvar=SHELL to debuild.