[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
looks good.

>   File
> "/home/admin/icedove/icedove-45.6.0/mozilla/python/mach/mach/mixin/process.py",
> 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.

Related links:

https://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/2016-January/027040.html
https://bugzilla.mozilla.org/show_bug.cgi?id=1213959

Cheers,
       Sven


Reply to: