From 5a3b0fecc8a360fe1aba2d174039916be34e3d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Tue, 19 Nov 2024 18:36:03 +0100 Subject: [PATCH] Temporarily uninstall pkg-config@0.29.2 in install-dependencies.sh This was added by AzDO in https://github.com/actions/runner-images/pull/10971 as a workaround for https://github.com/actions/runner-images/issues/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 --- eng/common/native/install-dependencies.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/common/native/install-dependencies.sh b/eng/common/native/install-dependencies.sh index 03e47c48ac957..950ad92e81c32 100755 --- a/eng/common/native/install-dependencies.sh +++ b/eng/common/native/install-dependencies.sh @@ -44,6 +44,10 @@ case "$os" in export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 # Skip brew update for now, see https://github.com/actions/setup-python/issues/577 # brew update --preinstall + + # Temporarily uninstall pkg-config@0.29.2 to work around https://github.com/actions/runner-images/issues/10984 + brew uninstall --ignore-dependencies --force pkg-config@0.29.2 + brew bundle --no-upgrade --no-lock --file=- <