Skip to content

error message with using pr-pull label in homebrew tap #4938

Discussion options

You must be logged in to vote

The error seems to be from https://github.com/FreeCAD/homebrew-freecad/actions/runs/7049670165/job/19188671058?pr=446#step:4:462:

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'

This is an issue with the GitHub Actions' macOS runner image; some of the Python symlinks are overwritten. Running brew unlink python && brew link --overwrite python before pr-pull is a workaround (it's also used in Homebrew/brew's CI).

Is there any specific reason you are running the pr-pull action on macOS? This problem shou…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ipatch
Comment options

Answer selected by ipatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants