Skip to content
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

[CI][C++] "brew update --preinstall" is failed #15025

Closed
kou opened this issue Dec 19, 2022 · 0 comments · Fixed by #15026
Closed

[CI][C++] "brew update --preinstall" is failed #15025

kou opened this issue Dec 19, 2022 · 0 comments · Fixed by #15026

Comments

@kou
Copy link
Member

kou commented Dec 19, 2022

Describe the bug, including details regarding any error messages, version, and platform.

https://github.com/apache/arrow/actions/runs/3729475663/jobs/6325425516

==> Pouring python@3.10--3.10.9.monterey.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'

To force the link and overwrite all conflicting files:
  brew link --overwrite python@3.10

To list all files that would be deleted:
  brew link --overwrite --dry-run python@3.10

Possible conflicting files are:
/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/2to3
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/idle3
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3-config

Component(s)

C++, Continuous Integration

@kou kou changed the title [CI][Python] brew update --preinstall is failed [CI][C++] brew update --preinstall is failed Dec 19, 2022
@kou kou changed the title [CI][C++] brew update --preinstall is failed [CI][C++] "brew update --preinstall" is failed Dec 19, 2022
kou added a commit to kou/arrow that referenced this issue Dec 19, 2022
…mmands

If they exist and Homebrew's Python formula is updated, the update is
failed:

https://github.com/apache/arrow/actions/runs/3729475663/jobs/6325425516

    ==> Pouring python@3.10--3.10.9.monterey.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'

    To force the link and overwrite all conflicting files:
      brew link --overwrite python@3.10

    To list all files that would be deleted:
      brew link --overwrite --dry-run python@3.10

    Possible conflicting files are:
    /usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/2to3
    /usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/idle3
    /usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3
    /usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
    /usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3-config
kou added a commit that referenced this issue Dec 19, 2022
…#15026)

If they exist and Homebrew's Python formula is updated, the update is failed:

https://github.com/apache/arrow/actions/runs/3729475663/jobs/6325425516

    ==> Pouring python@ 3.10--3.10.9.monterey.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'

    To force the link and overwrite all conflicting files:
      brew link --overwrite python@ 3.10

    To list all files that would be deleted:
      brew link --overwrite --dry-run python@ 3.10

    Possible conflicting files are:
    /usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/2to3
    /usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/idle3
    /usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3
    /usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
    /usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3-config
* Closes: #15025

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 11.0.0 milestone Dec 19, 2022
kou pushed a commit that referenced this issue Dec 27, 2022
… (again) (#15093)

This is a bug at the same place as #15025 . We must remove `2to3-3.11 ` for this time.

```
==> Pouring python@ 3.11--3.11.1.monterey.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-3.11
Target /usr/local/bin/2to3-3.11
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.11'
```

* Closes: #15092

Authored-by: Hirokazu SUZUKI (heronshoes) <heronshoes877@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
EpsilonPrime pushed a commit to EpsilonPrime/arrow that referenced this issue Jan 5, 2023
…mmands (again) (apache#15093)

This is a bug at the same place as apache#15025 . We must remove `2to3-3.11 ` for this time.

```
==> Pouring python@ 3.11--3.11.1.monterey.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-3.11
Target /usr/local/bin/2to3-3.11
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.11'
```

* Closes: apache#15092

Authored-by: Hirokazu SUZUKI (heronshoes) <heronshoes877@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant