Closed Bug 1652736 Opened 3 months ago Closed 3 months ago

`python3 bootstrap.py --vcs=git` fails with "ModuleNotFoundError: No module named 'mozversioncontrol'"

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

Desktop
Linux
defect

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mbrodesser, Assigned: rstewart)

Details

Attachments

(1 file)

Following https://firefox-source-docs.mozilla.org/setup/linux_build.html#one-line-bootstrapping (with the command adapted to python3).

STR:

  1. Execute wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O bootstrap.py && python3 bootstrap.py --vcs=git
  2. When "Please choose the version of Firefox you want to build:" requires input, type "2".
  3. When "Would you like to run a few configuration steps to ensure Git is
    optimally configured?" is shown, type "Y".

Expected:
bootstrapping succeeds.

Actual:
fails with

Traceback (most recent call last):
  File "bootstrap.py", line 206, in <module>
    sys.exit(main(sys.argv))
  File "bootstrap.py", line 197, in main
    dasboot.bootstrap()
  File "/tmp/tmpvy1gckct/mozboot/bootstrap.py", line 545, in bootstrap
  File "/tmp/tmpvy1gckct/mozboot/bootstrap.py", line 810, in configure_git
ModuleNotFoundError: No module named 'mozversioncontrol'
Assignee: nobody → rstewart
Status: NEW → ASSIGNED
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4fd63426ba9d
Remove import of `mozversioncontrol` which breaks standalone `bootstrap.py` r=nalexander
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.