On Thu, Feb 02, 2017 at 08:10:59AM -0500, Ted Mielczarek wrote:
> On Thu, Feb 2, 2017, at 12:18 AM, Rushikesh Jogdand wrote:
> > I'm trying to build mozilla on Ubuntu 16.10 
> > 
> > I did following:- 
> > 1. run ```bootstrap.py``` 
> > 2. clone mozilla-central repo 
> > 3. make mach executable <chmod 777 mach> 
> > 4. run ./mach build 
> > 
> > I'm getting following error:- 
> > https://gist.githubusercontent.com/Rushi98/2852849c13b246e992eb8e407c4dd540/raw/4703db8b267eb7a6c15dada65f296d3b87ebfe15/error
> 
> 
> Hi Rushikesh,
> 
> That error is coming from the build system trying to run config.guess:
> https://dxr.mozilla.org/mozilla-central/source/build/autoconf/config.guess
> 
> Is that file not marked as executable in your checkout? It should be! We
> could definitely have a better error message for that, but it's a pretty
> unlikely error. Is there a reason you had to chmod mach, as well? Both
> of those files are committed with 0755 permissions in the repository:
> https://hg.mozilla.org/mozilla-central/file/1d025ac534a6333a8170a59a95a8a3673d4028ee/mach
> https://hg.mozilla.org/mozilla-central/file/1d025ac534a6333a8170a59a95a8a3673d4028ee/build/autoconf/config.guess

The executable bit on that file doesn't actually matter. We execute it
with a call through sh directly. So the error would be on executing sh,
not config.guess.

Rushikesh, can you give more mach build output, specifically, anything
that precedes the error.

Mike
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to