-
Notifications
You must be signed in to change notification settings - Fork 110
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
Bundled Homebrew version is too old #878
Comments
Which macOS VM are you using? |
I validated that I see this with |
The osx machines we currently use in Cirrus CI seem to be affected by cirruslabs/cirrus-ci-docs#878. In order to work around this this patch adds a manual Homebrew upgrade before installing any packages. As this takes time we should probably remove this step once upstream has merged a fix.
What would be the recommendation here? All our tests based on |
This works around cirruslabs/cirrus-ci-docs#878.
This works around cirruslabs/cirrus-ci-docs#878.
This works around cirruslabs/cirrus-ci-docs#878.
This works around cirruslabs/cirrus-ci-docs#878. Unfortunately the Cataline image is still to old, so also adding a "brew update" for that one (pulling in #952 here).
This works around cirruslabs/cirrus-ci-docs#878. Unfortunately the Cataline image is still to old, so also adding a "brew update" for that one (pulling in #952 here).
This works around cirruslabs/cirrus-ci-docs#878. Unfortunately the Cataline image is still to old, so also adding a "brew update" for that one (pulling in #952 here).
Is there any plan to fix these macos images so that the bundled Homebrew is actually usable? |
|
Like I commented in cirruslabs/macos-image-templates#37 (comment), we really need working Homebrew on all supported macos images. |
We are planning to deprecate Big Sur and Catalina VMs in early 2023. Monterey and Ventura VMs have up-to-date versions of Homebrew and getting constantly updated. |
Cirrus macos machines include Homebrew which is great. However the bundled Homebrew version is old and uses Homebrew bintray bottle locations which are not live anymore (see Homebrew/discussions#691). The Homebrew change to move bottle downloads from bintray to Github packages is Homebrew/brew#11070 which first appeared in homebrew-3.1.0. Cirrus macos machines seem to come with homebrew-2.7.1.
Expected Behavior
The following script should install the Homebrew LLVM package from a precompiled bottle (expected Homebrew default behavior) when run from a Cirrus macos job.
Real Behavior
Executing the script either leads to a hard failure since the remote returns
403 Forbidden
, or some other failure status which causes the package to be compiled from source (which takes long and could lead to e.g., Cirrus timeouts down the line).A possible workaround seems to be to first run
This seems to update Homebrew sufficiently so it can use the new, correct bottle locations. This step however takes considerable time (~5min).
Related Info
This is a (tick one of the following):
The text was updated successfully, but these errors were encountered: