[SR-1629] build-script freezes when using Python installed via Homebrew #44238
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
build-script
Area → utils: The build script
utils
Area: the build system and other accessory scripts under the "utils" directory
Attachment: Download
Additional Detail from JIRA
md5: 0e5ea92f8a215a4db63a74faf7d82438
Issue Description:
Environment
Steps to reproduce
1. Install Python via Homebrew:
brew install python
2. Run
build-script -x
(starting with a clean tree; or also add-c
)Observed
The build proceeds for a while, but eventually freezes with all 8 workers sitting in Python processes (see attached screenshot).
Pressing
⌃C
and re-runningbuild-script -x
will often freeze at a slightly different command, but it's always agyb
line (line breaks are my own addition):Breaking with
⌃C
results in this stack trace:Manually running the above
gyb
command from a shell seems to succeed.Workaround
Running
brew unlink python
to revert to the system version of Python seems to resolve the issue.The text was updated successfully, but these errors were encountered: