-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
work around homebrew python linking issues #1267
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanx. I saw the failure, thought it seemed familiar, and assumed it was a
transient.
I appreciate you taking it to the mat.
…On Mon, Apr 15, 2024, 10:35 AM tsteven4 ***@***.***> wrote:
These seem to be caused by a conflict between links to
Library/Frameworks/Python.framework/Versions/x.y vs. brews
***@***.*** This issue
<actions/setup-python#577> has been open for
over a year.
==> Pouring ***@***.***
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'
To force the link and overwrite all conflicting files:
brew link --overwrite ***@***.***
To list all files that would be deleted:
brew link --overwrite ***@***.*** --dry-run
Possible conflicting files are:
/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3
/usr/local/bin/2to3-3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3-3.12
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3
/usr/local/bin/idle3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3-config
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
This change currently rewrites the following links on macos-13
***@***.***
***@***.***
lrwxr-xr-x 1 root wheel 67 Apr 5 [23](https://github.com/tsteven4/gpsbabel/actions/runs/8690013328/job/23828922259#step:6:24):32 2to3 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/2to3
lrwxr-xr-x 1 root wheel 72 Apr 5 23:32 2to3-3.11 -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/2to3-3.11
lrwxr-xr-x 1 root wheel 72 Apr 5 23:32 2to3-3.12 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/2to3-3.12
lrwxr-xr-x 1 root wheel 68 Apr 5 23:32 idle3 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/idle3
lrwxr-xr-x 1 root wheel 71 Apr 5 23:32 idle3.11 -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/idle3.11
lrwxr-xr-x 1 root wheel 71 Apr 5 23:32 idle3.12 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
lrwxrwxr-x 1 root admin 67 Apr 5 23:32 pip3 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/pip3
lrwxrwxr-x 1 root admin 70 Apr 5 23:32 pip3.11 -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/pip3.11
lrwxrwxr-x 1 root admin 70 Apr 5 23:32 pip3.12 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/pip3.12
lrwxr-xr-x 1 root wheel 69 Apr 5 23:32 pydoc3 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3
lrwxr-xr-x 1 root wheel 72 Apr 5 23:32 pydoc3.11 -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3.11
lrwxr-xr-x 1 root wheel 72 Apr 5 23:32 pydoc3.12 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
lrwxr-xr-x 1 root wheel 70 Apr 5 23:32 python3 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3
lrwxr-xr-x 1 root wheel 77 Apr 5 23:32 python3-config -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3-config
lrwxr-xr-x 1 root wheel 78 Apr 5 23:32 python3-intel64 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3-intel64
lrwxr-xr-x 1 root wheel 73 Apr 5 23:32 python3.11 -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
lrwxr-xr-x 1 root wheel 80 Apr 5 23:32 python3.11-config -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11-config
lrwxr-xr-x 1 root wheel 81 Apr 5 23:32 python3.11-intel64 -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11-intel64
lrwxr-xr-x 1 root wheel 73 Apr 5 23:32 python3.12 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
lrwxr-xr-x 1 root wheel 80 Apr 5 23:32 python3.12-config -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
lrwxr-xr-x 1 root wheel 81 Apr 5 23:32 python3.12-intel64 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-intel64
lrwxr-xr-x 1 runner admin 41 Apr 5 21:30 wheel3 -> ..***@***.***/3.12.2_1/bin/wheel3
lrwxr-xr-x 1 runner admin 42 Apr 5 21:37 wheel3.11 -> ..***@***.***/3.11.9/bin/wheel3.11
lrwxr-xr-x 1 runner admin 44 Apr 5 21:30 wheel3.12 -> ..***@***.***/3.12.2_1/bin/wheel3.12
Unlinking ***@***.***/3.11.9... 5 symlinks removed.
Linking ***@***.***/3.11.9... 11 symlinks created.
Unlinking ***@***.***/3.12.2_1... 13 symlinks removed.
Linking ***@***.***/3.12.2_1... [25](https://github.com/tsteven4/gpsbabel/actions/runs/8690013328/job/23828922259#step:6:26) symlinks created.
***@***.***
***@***.***
lrwxr-xr-x 1 runner admin 39 Apr 15 13:29 2to3 -> ..***@***.***/3.12.2_1/bin/2to3
lrwxr-xr-x 1 runner admin 42 Apr 15 13:29 2to3-3.11 -> ..***@***.***/3.11.9/bin/2to3-3.11
lrwxr-xr-x 1 runner admin 44 Apr 15 13:29 2to3-3.12 -> ..***@***.***/3.12.2_1/bin/2to3-3.12
lrwxr-xr-x 1 runner admin 40 Apr 15 13:29 idle3 -> ..***@***.***/3.12.2_1/bin/idle3
lrwxr-xr-x 1 runner admin 41 Apr 15 13:[29](https://github.com/tsteven4/gpsbabel/actions/runs/8690013328/job/23828922259#step:6:30) idle3.11 -> ..***@***.***/3.11.9/bin/idle3.11
lrwxr-xr-x 1 runner admin 43 Apr 15 13:29 idle3.12 -> ..***@***.***/3.12.2_1/bin/idle3.12
lrwxr-xr-x 1 runner admin 39 Apr 15 13:29 pip3 -> ..***@***.***/3.12.2_1/bin/pip3
lrwxr-xr-x 1 runner admin 40 Apr 15 13:29 pip3.11 -> ..***@***.***/3.11.9/bin/pip3.11
lrwxr-xr-x 1 runner admin 42 Apr 15 13:29 pip3.12 -> ..***@***.***/3.12.2_1/bin/pip3.12
lrwxr-xr-x 1 runner admin 41 Apr 15 13:29 pydoc3 -> ..***@***.***/3.12.2_1/bin/pydoc3
lrwxr-xr-x 1 runner admin 42 Apr 15 13:29 pydoc3.11 -> ..***@***.***/3.11.9/bin/pydoc3.11
lrwxr-xr-x 1 runner admin 44 Apr 15 13:29 pydoc3.12 -> ..***@***.***/3.12.2_1/bin/pydoc3.12
lrwxr-xr-x 1 runner admin 42 Apr 15 13:29 python3 -> ..***@***.***/3.12.2_1/bin/python3
lrwxr-xr-x 1 runner admin 49 Apr 15 13:29 python3-config -> ..***@***.***/3.12.2_1/bin/python3-config
lrwxr-xr-x 1 root wheel 78 Apr 5 23:[32](https://github.com/tsteven4/gpsbabel/actions/runs/8690013328/job/23828922259#step:6:33) python3-intel64 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3-intel64
lrwxr-xr-x 1 runner admin 43 Apr 15 13:29 python3.11 -> ..***@***.***/3.11.9/bin/python3.11
lrwxr-xr-x 1 runner admin 50 Apr 15 13:29 python3.11-config -> ..***@***.***/3.11.9/bin/python3.11-config
lrwxr-xr-x 1 root wheel 81 Apr 5 23:32 python3.11-intel64 -> ../../../Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11-intel64
lrwxr-xr-x 1 runner admin 45 Apr 15 13:29 python3.12 -> ..***@***.***/3.12.2_1/bin/python3.12
lrwxr-xr-x 1 runner admin 52 Apr 15 13:29 python3.12-config -> ..***@***.***/3.12.2_1/bin/python3.12-config
lrwxr-xr-x 1 root wheel 81 Apr 5 23:32 python3.12-intel64 -> ../../../Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-intel64
lrwxr-xr-x 1 runner admin 41 Apr 15 13:29 wheel3 -> ..***@***.***/3.12.2_1/bin/wheel3
lrwxr-xr-x 1 runner admin 42 Apr 15 13:29 wheel3.11 -> ..***@***.***/3.11.9/bin/wheel3.11
lrwxr-xr-x 1 runner admin 44 Apr 15 13:29 wheel3.12 -> ..***@***.***/3.12.2_1/bin/wheel3.12
------------------------------
You can view, comment on, or merge this pull request online at:
#1267
Commit Summary
- a2fb7c5
<a2fb7c5>
debug python brew issues
- 98d6897
<98d6897>
dbg2
- f5c858d
<f5c858d>
Merge branch 'master' into dbg
- 07c7522
<07c7522>
dbg3
- b4812bf
<b4812bf>
dbg4
File Changes
(1 file <https://github.com/GPSBabel/gpsbabel/pull/1267/files>)
- *M* .github/workflows/macos.yml
<https://github.com/GPSBabel/gpsbabel/pull/1267/files#diff-7b74d73de878e0e53f6768bbf3a3d4b50c3c6f1f16f9b64518690028b8206b1c>
(6)
Patch Links:
- https://github.com/GPSBabel/gpsbabel/pull/1267.patch
- https://github.com/GPSBabel/gpsbabel/pull/1267.diff
—
Reply to this email directly, view it on GitHub
<#1267>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCSD34PONFSYOHZYSJUEF3Y5PXVXAVCNFSM6AAAAABGHTK4ECVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DGOJZG4ZTENQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These seem to be caused by a conflict between links to
Library/Frameworks/Python.framework/Versions/x.y
vs. brewsCellar/python@x.y
. This issue has been open for over a year.This change currently rewrites the following links on macos-13