mach boostrap fail : subprocess.CalledProcessError: Command '['/usr/local/bin/hg', '--version']' returned non-zero exit status 1.
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Tracking
(Not tracked)
People
(Reporter: alwu, Unassigned)
Details
Fail to run bootstrap
on latest Nightly.
subprocess.CalledProcessError: Command '['/usr/local/bin/hg', '--version']' returned non-zero exit status 1.
File "/Users/awu/gecko-dev/mozilla-central/python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
bootstrapper.bootstrap()
File "/Users/awu/gecko-dev/mozilla-central/python/mozboot/mozboot/bootstrap.py", line 464, in bootstrap
self.instance.install_system_packages()
File "/Users/awu/gecko-dev/mozilla-central/python/mozboot/mozboot/osx.py", line 188, in install_system_packages
_, hg_modern, _ = self.is_mercurial_modern()
File "/Users/awu/gecko-dev/mozilla-central/python/mozboot/mozboot/base.py", line 558, in is_mercurial_modern
our = self._parse_version(hg, 'version', self._hg_cleanenv())
File "/Users/awu/gecko-dev/mozilla-central/python/mozboot/mozboot/base.py", line 530, in _parse_version
return self._parse_version_impl(path, name, env, "--version")
File "/Users/awu/gecko-dev/mozilla-central/python/mozboot/mozboot/base.py", line 521, in _parse_version_impl
universal_newlines=True)
File "/Users/awu/gecko-dev/mozilla-central/python/mozboot/mozboot/base.py", line 449, in check_output
return subprocess.check_output(*args, **kwargs)
File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
Comment 1•4 years ago
|
||
My guess is what precedes the error will tell you what's actually wrong, which is probably that your install of mercurial is broken.
That being said, it would be better if this was handled more gracefully.
Reporter | ||
Comment 2•4 years ago
|
||
This issue has been solved on my side after I reset my python and hg. Thank you.
Description
•