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

Fix macos-12 CI runner not being able to build gettext #1498

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

ychin
Copy link
Member

@ychin ychin commented Sep 10, 2024

When building gettext, Homebrew tries to upgrade all dependencies, and Python is somehow a downstream dependency and it fails link in certain binaries like 2to3 which GitHub's CI environment already installed separately. This is a messy situation in general, but to fix it, just set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK so Homebrew doesn't go helpfully upgrade our dependencies when all we want is to build the package itself. For the most part it should not cause any issues.

When building gettext, Homebrew tries to upgrade all dependencies, and
Python is somehow a downstream dependency and it fails link in certain
binaries like 2to3 which GitHub's CI environment already installed
separately. This is a messy situation in general, but to fix it, just
set `HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` so Homebrew doesn't go
helpfully upgrade our dependencies when all we want is to build the
package itself. For the most part it should not cause any issues.
@ychin ychin added Infrastructure Non-app infrastructure issues, e.g. CI Non User Facing Non-user facing change. These issues do no need to show up in release notes. CI Vim upstream label for CI issues labels Sep 10, 2024
@ychin ychin added this to the Release 180 milestone Sep 10, 2024
@ychin ychin merged commit 605f984 into macvim-dev:master Sep 10, 2024
5 checks passed
@ychin ychin deleted the fix-macos12-ci-gettext branch September 10, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Vim upstream label for CI issues Infrastructure Non-app infrastructure issues, e.g. CI Non User Facing Non-user facing change. These issues do no need to show up in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant