==> Installing hhvm/hhvm/hhvm-4.124 dependency: python@3.9
==> Pouring python@3.9--3.9.7.catalina.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
rm '/usr/local/bin/2to3'
==> Pouring python@3.9--3.9.7.catalina.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
rm '/usr/local/bin/2to3'
Description
For example, https://github.com/hhvm/hh-clilib/runs/3526321802?check_suite_focus=true : the hhvm package has a transitive dependency on the python@3.9 package:
Notably:
brew update; brew upgrade
on my local mac (intel, macos 11.5.2) has no problemsThis could be a change to homebrew triggering this.
Virtual environments affected
Image version and build link
Environment: macos-10.15 Version: 20210831.3
https://github.com/hhvm/hh-clilib/runs/3526321802
Is it regression?
Yes - same image version though: https://github.com/hhvm/hh-clilib/runs/3513952202?check_suite_focus=true
Expected behavior
python 3.9 installed without errors
Actual behavior
Repro steps
brew tap hhvm/hhvm; brew install hhvm-4.124