Repository navigation
ci: remove the runner's stray openssl@1.1 link before brew installs (Android macOS) - #1186
Merged
Merged
Conversation
The macos-15 runner image links openssl@1.1 at /opt/homebrew/bin/openssl. Since python@3.14 3.14.8 was published, `brew install python@3.14` upgrades the image's 3.14.7 along with its openssl@3 dependency, whose link step collides with that symlink. `brew install` then exits 1 and fails the Install dependencies step on every run.
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
brew unlink openssl@1.1 removed 0 symlinks on the runner: the image creates /opt/homebrew/bin/openssl -> /opt/homebrew/opt/openssl@1.1/bin/openssl as a plain symlink that brew does not track. Remove it directly when it points at openssl@1.1, so the openssl@3 upgrade can link.
|
freedomtan
approved these changes
Oct 6, 2026
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Summary
The
Build Android appjob in Android Build & Test (macOS) fails atInstall dependencieson every run (e.g. #1185):The macos-15 runner image creates
/opt/homebrew/bin/openssl -> /opt/homebrew/opt/openssl@1.1/bin/opensslas a plain symlink that brew does not track. Since python 3.14.8 was published,brew install python@3.14upgrades the image's 3.14.7 together withopenssl@3, whose link collides with that symlink, sobrew installexits 1.This removes that symlink before the
brew installlines, only when it points at openssl@1.1. (brew unlink openssl@1.1was tried first and removed 0 symlinks, since brew doesn't own the link.)Note
The
Build iOS app (apple)/(tflite)failures on current PRs are unrelated and not fixable in code: Apple requires the team's Account Holder to accept the updated Program License Agreement (PLA Update available ... must agree to the latest Program License Agreement). They will keep failing on this PR too until that's done.Test plan
Build Android appin Android Build & Test (macOS) gets pastInstall dependenciesand passes on this PR