-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 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 is a workaround for actions/runner-images#10984
brew pkg-config conflicts with macos-latest
brew pkg-config conflicts with macos-latest
brew pkg-config conflicts with macos-latest
This works around actions/runner-images#10984 (cherry picked from commit 28700f2)
This is a workaround for actions/runner-images#10984
Heads up! 👋 New runners deployed. 🥳 Due to the way the deployment works, you may encounter an outdated image for the next few hours, the next image is not affected by the issue. |
Nice! |
Since Homebrew/homebrew-core#198963 and actions/runner-images#10984 have both been fixed.
…otnet#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
In November, macOS runners had an issue with the `pkg-config` package and we introduced a workaround: #1158 We see now that the fix has been released and we should no longer need the workaround: actions/runner-images#10984. ### Does this change impact existing behavior? No, CI 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: Daniel Carl Jones <[email protected]>
Remove workaround for actions/runner-images#10984 This reverts commit 2555c37.
Remove workaround for actions/runner-images#10984 This reverts commit 2555c37.
Since Homebrew/homebrew-core#198963 and actions/runner-images#10984 have both been fixed.
Since Homebrew/homebrew-core#198963 and actions/runner-images#10984 have both been fixed.
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: