Open
Bug 1473516
Opened 7 years ago
Updated 3 years ago
Mach bootstrap CalledProcessError: Command '[u'/usr/local/bin/brew', u'list']' returned non-zero exit status 1
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Firefox Build System
Bootstrap Configuration
Tracking
(Not tracked)
NEW
People
(Reporter: vporof, Unassigned)
Details
(Keywords: in-triage)
Running ./mach bootstrap on a fresh macOS 10.13.5 install yields the following error: https://pastebin.mozilla.org/9089160
Running again with sudo yields the following error: https://pastebin.mozilla.org/9089161
My environment:
brew --version
Homebrew 1.6.9
Homebrew/homebrew-core (git revision 94f7; last commit 2018-07-05)
My gecko-dev head: a4fb127451ad
https://github.com/victorporof/gecko-dev
Comment 1•7 years ago
|
||
And what do you see when you run `brew list` directly?
Flags: needinfo?(vporof)
| Reporter | ||
Comment 2•7 years ago
|
||
brew list
autoconf@2.13 libffi pcre2 watchman
fish llvm python xz
gdbm mercurial python@2 yasm
git node readline
gnu-tar openssl sqlite
icu4c pcre terminal-notifier
Flags: needinfo?(vporof)
| Reporter | ||
Comment 3•7 years ago
|
||
FWIW my main python version is 2.7.15 (first one in path), which was installed via homebrew.
Updated•7 years ago
|
Flags: needinfo?(gps)
Comment 4•7 years ago
|
||
I'm, uh, not sure why it doesn't like the output of `brew list`. And I'm unable to reproduce this.
I think the best we can do is improve the error reporting in bootstrap to give you better tools to debug.
Flags: needinfo?(gps)
Updated•7 years ago
|
Component: Mach Core → Bootstrap Configuration
| Reporter | ||
Comment 5•7 years ago
|
||
Workaround:
1. delete `$MOZCONFIG`
2. delete `~/.mozconfig`
3. just use a `mozconfig` file in your root directory.
Any combination of 1 and 2 makes mach unhappy.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•