Open Bug 1882663 Opened 1 year ago Updated 9 months ago

Unable to type when bootstrap is asking for a build type on Windows

Categories

(Firefox Build System :: Bootstrap Configuration, defect, P5)

defect

Tracking

(Not tracked)

People

(Reporter: chunmin, Unassigned)

Details

I am not able to type anything when the bootstrap is asking me to choose a build type in Windows' start-shell.

When I followed the steps here: https://firefox-source-docs.mozilla.org/setup/windows_build.html to setup a Windows development environment (with python3 bootstrap.py --vcs=git), I got stuck when I needed to select a build type. I cannot type anything, so the start-shell keep hanging in this step:

Please choose the version of Firefox you want to build (see note above):
  1. Firefox for Desktop Artifact Mode [default]
  2. Firefox for Desktop
  3. GeckoView/Firefox for Android Artifact Mode
  4. GeckoView/Firefox for Android
  5. SpiderMonkey JavaScript engine
Your choice:

I've tried to do this in a new shell, by running ./mach bootstrap directly instead of bootstrap.py from wget, but I encountered the same problem. No key can get into the shell :(

Before running to this step, the shell is able to get all my keyboard input.

Very odd. I'm assuming you're on default settings and this is with MinTTY. Can you try setting the environment variable USE_MINTTY=0 and then opening a new shell?

If that fixes it, maybe you have some MinTTY setting that's non-standard? Re-enable it and right click the window, then hit Options... and look through there. Maybe try changing the terminal type?

I'm not really sure what else could be the problem, so if disabling MinTTY works, maybe just stick to that workaround for now.

Severity: -- → S4
Priority: -- → P5

(In reply to Alex Hochheiden [:ahochheiden] (needinfo? me) from comment #1)
The cause seems like in this command: python3 bootstrap.py --vcs=git. If I simply run python3 bootstrap.py, the everything works fine.

Summary: Unable to type when bootstrap is asking for a build type → Unable to type when bootstrap is asking for a build type on Windows

The problem persists on the new laptop I got.

The problem only occurs if the the vcs is configured to git via python3 bootstrap.py --vcs=git. If I leave the vcs as the default hg, then it works fine.

You need to log in before you can comment on or make changes to this bug.