Skip to content

Untap deprecated homebrew-cask-versions to fix b_osx homebrew failure in CI #16092

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

Merged
merged 1 commit into from
Jun 18, 2025

Conversation

nikola-matic
Copy link
Collaborator

No description provided.

@nikola-matic nikola-matic merged commit ce09289 into develop Jun 18, 2025
76 checks passed
@nikola-matic nikola-matic deleted the circle-ci-mac-brew-fix branch June 18, 2025 06:47
@@ -48,6 +48,8 @@ function validate_checksum {

if [ ! -f /usr/local/lib/libz3.a ] # if this file does not exists (cache was not restored), rebuild dependencies
then
brew uninstall temurin17
Copy link
Member

@cameel cameel Jun 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems pretty random. Why does it fix things?

I'm not up to date with Matrix discussions for today yet - I guess I'll probably find some context there, but we should really include more context in PRs. "Fix issue" is not enough if anyone ever needs to figure out what happened here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

temurin17 is installed by default on the instance - it comes from the homebrew-cask-versions repository. This repository was first deprecated, and as of recently, completely removed (the URL 404s). Since of all this comes by default via the macos image, this 'fix' is really just a temporary fix to allow our builds to run, until CircleCI fixes it on their side. We'll then be able to remove this 'fix'.

The reason we're uninstalling temurin17 is to allow us to untap homebrew-cask, which is what was causing the issue in the first place.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cameel cameel changed the title Fix b_osx homebrew issue Untap deprecated homebrew-cask-versions to fix b_osx homebrew failure in CI Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants