-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Issue with brew package pkgconf #10984
Comments
This should probably happen on all macOS runners and break existing workflows. |
Hi @smorimoto We will look into the issue and keep you posted with updates. |
@prasanjitsahoo Thanks a lot! |
For those who fall into this (cost ~2 minutes): - name: Runtime workaround for brew pkg-config -> pkgconf
run: |
brew update
brew upgrade
brew install pkgconf As a temporary measure, we will switch to a hardcoded version of the original |
@erik-bershel I think that pinning the old pkg-config 0.29 version means installing pkgconf will fail since it's trying to install into the same file paths. pkgconf is already an alias in Homebrew so you can probably just install that. |
This was added by AzDO in actions/runner-images#10971 as a workaround for actions/runner-images#10984, but that means the old package now conflicts with the new pkg-config which is an alias to pkgconf. Fixes the build issues we've seen with OSX image version 20241119.505
I confirmed that installing pkg-config/pgkconf now conflicts with the hardcoded version on image 20241119.505. |
This was added by AzDO in actions/runner-images#10971 as a workaround for actions/runner-images#10984, but that means the old package now conflicts with the new pkg-config which is an alias to pkgconf. Fixes the build issues we've seen with OSX image version 20241119.505
Hey @akoeplinger! |
…109968) This was added by AzDO in actions/runner-images#10971 as a workaround for actions/runner-images#10984, but that means the old package now conflicts with the new pkg-config which is an alias to pkgconf. Fixes the build issues we've seen with OSX image version 20241119.505
This works around an issue with recent Github CI runners. Ref: actions/runner-images#10984
This works around an issue with recent Github CI runners where Homebrew is in an intermediate state. This is where old pkg-config is installed, yet pkg-config as a package has become an alias for pkgconf, thus causing failures to automatically switch symlinks from one to the other. Ref: actions/runner-images#10984
In order to work around a homebrew issue with pkg-config on github runners (see actions/runner-images#10984), temporarily run a command to uninstall `[email protected]`. ### Does this change impact existing behavior? No. Workflow change only. ### Does this change need a changelog entry? No. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). Signed-off-by: Alessandro Passaro <[email protected]>
This works around an issue with recent Github CI runners where Homebrew is in an intermediate state. This is where old pkg-config is installed, yet pkg-config as a package has become an alias for pkgconf, thus causing failures to automatically switch symlinks from one to the other. Ref: actions/runner-images#10984
This works around an issue with recent Github CI runners where Homebrew is in an intermediate state. This is where old pkg-config is installed, yet pkg-config as a package has become an alias for pkgconf, thus causing failures to automatically switch symlinks from one to the other. Ref: actions/runner-images#10984
Description
It could be that the macOS runners now have the
pkg-config
brew package already installed, which conflicts with thepkgconf
package.But it's already deprecated: Homebrew/homebrew-core#194885
Platforms affected
Runner images affected
Image version and build link
20241022.361
Is it regression?
No
Expected behavior
It should be installed successfully.
Actual behavior
It fails:
Ref: https://github.com/ocaml/setup-ocaml/actions/runs/11884964161/job/33113941200
Repro steps
Run
brew install pkgconf
onmacos-latest
The text was updated successfully, but these errors were encountered: