Giter Site home page Giter Site logo

Fix CI build errors about wxrust2 HOT 4 CLOSED

kenz-gelsoft avatar kenz-gelsoft commented on September 7, 2024
Fix CI build errors

from wxrust2.

Comments (4)

kenz-gelsoft avatar kenz-gelsoft commented on September 7, 2024

Cannot repro in my local env...

Try searching workaround by error message.

from wxrust2.

kenz-gelsoft avatar kenz-gelsoft commented on September 7, 2024

last succeed

  • Operating System
    • macOS
    • 12.6.2
    • 21G320
  • Runner Image
    • Image: macos-12
    • Version: 20221215.1
  • Runner Image Provisioner
    • 2.0.98.1

first failed

  • Operating System
    • macOS
    • 12.6.2
    • 21G320
  • Runner Image
    • Image: macos-12
    • Version: 20221215.1
  • Runner Image Provisioner
    • 2.0.91.1

following messaged appeared, and start upgrading outdated formulas

==> Upgrading 15 dependents of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

then failed with multiple python versions(!)

==> Upgrading [email protected]
  3.11.0 -> 3.11.1 

==> Pouring [email protected]
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'

To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]

To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]

Possible conflicting files are:
/usr/local/bin/2to3-3.11 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/2to3-3.11
/usr/local/bin/idle3.11 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/idle3.11
/usr/local/bin/pydoc3.11 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3.11
/usr/local/bin/python3.11 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
/usr/local/bin/python3.11-config -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11-config
==> /usr/local/Cellar/[email protected]/3.11.1/bin/python3.11 -m ensurepip
==> /usr/local/Cellar/[email protected]/3.11.1/bin/python3.11 -m pip install -v --no-d
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.11.1: 3,163 files, 61.3MB
==> Running `brew cleanup [email protected]`...
Removing: /usr/local/Cellar/[email protected]/3.11.0... (3,167 files, 61.4MB)
Removing: /Users/runner/Library/Caches/Homebrew/[email protected]... (15.2MB)
==> Upgrading [email protected]
  3.10.8 -> 3.10.9 

==> Pouring [email protected]
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 [email protected]

To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]

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
==> /usr/local/Cellar/[email protected]/3.10.9/bin/python3.10 -m ensurepip
==> /usr/local/Cellar/[email protected]/3.10.9/bin/python3.10 -m pip install -v --no-d
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/[email protected]/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.10/site-packages

tkinter is no longer included with this formula, but it is available separately:
  brew install [email protected]

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.10.9: 3,108 files, 56.4MB
==> Running `brew cleanup [email protected]`...
Removing: /usr/local/Cellar/[email protected]/3.10.8... (3,136 files, 56.9MB)
Removing: /Users/runner/Library/Caches/Homebrew/[email protected]... (14.6MB)

from wxrust2.

kenz-gelsoft avatar kenz-gelsoft commented on September 7, 2024

Hmm. setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK may be a workaround.

For now, I'll try this.

I suspect transitioning from macos-11 to macos-12 of macos-latest has something to do with this, but I don't want to investigate this for now.

from wxrust2.

kenz-gelsoft avatar kenz-gelsoft commented on September 7, 2024

Maybe fixed following change:

a0dc3b8...1fa7a26

from wxrust2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.