Closed
Bug 1870249
Opened 2 years ago
Closed 2 years ago
`./mach bootstrap` fails if mercurial is not installed
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Firefox Build System
Bootstrap Configuration
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1870175
People
(Reporter: saschanaz, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
> ./mach bootstrap
Error running mach:
mach bootstrap
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke ``./mach busted`` to check if this issue is already on file. If it
isn't, please use ``./mach busted file bootstrap`` to report it. If ``./mach busted`` is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
FileNotFoundError: [WinError 2] The system cannot find the file specified
File "D:\gecko\python\mozboot\mozboot\mach_commands.py", line 50, in bootstrap
bootstrapper.bootstrap(command_context.settings)
File "d:\gecko\python\mozboot\mozboot\bootstrap.py", line 358, in bootstrap
check_for_hgrc_state_dir_mismatch(state_dir)
File "d:\gecko\python\mozboot\mozboot\bootstrap.py", line 175, in check_for_hgrc_state_dir_mismatch
result = subprocess.run(
^^^^^^^^^^^^^^^
File "C:\Users\sasch\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\gecko\third_party\python\sentry_sdk\sentry_sdk\integrations\stdlib.py", line 190, in sentry_patched_popen_init
rv = old_popen_init(self, *a, **kw) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sasch\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\sasch\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sentry event ID: 9a75174e7c2b4933b8d1ee951100587b
Reverting bug 1842692 fixes it.
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Component: Mach Core → Bootstrap Configuration
You need to log in
before you can comment on or make changes to this bug.
Description
•