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

GH macOS builds are failing due to pkg-config install conflict #610

Closed
kirkrodrigues opened this issue Nov 22, 2024 · 0 comments · Fixed by #611
Closed

GH macOS builds are failing due to pkg-config install conflict #610

kirkrodrigues opened this issue Nov 22, 2024 · 0 comments · Fixed by #611
Labels
bug Something isn't working

Comments

@kirkrodrigues
Copy link
Member

kirkrodrigues commented Nov 22, 2024

Bug

Recent macOS builds are failing with the error below:

==> Pouring pkgconf--2.3.0_1.arm64_sonoma.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink bin/pkg-config
Target /opt/homebrew/bin/pkg-config
is a symlink belonging to [email protected]. You can unlink it:
  brew unlink [email protected]

To force the link and overwrite all conflicting files:
  brew link --overwrite pkgconf

To list all files that would be deleted:
  brew link --overwrite pkgconf --dry-run

Possible conflicting files are:
/opt/homebrew/bin/pkg-config -> /opt/homebrew/Cellar/[email protected]/0.29.2_3/bin/pkg-config
/opt/homebrew/share/aclocal/pkg.m4 -> /opt/homebrew/Cellar/[email protected]/0.29.2_3/share/aclocal/pkg.m4
/opt/homebrew/share/man/man1/pkg-config.1 -> /opt/homebrew/Cellar/[email protected]/0.29.2_3/share/man/man1/pkg-config.1
==> Summary
🍺  /opt/homebrew/Cellar/pkgconf/2.3.0_1: 27 files, 474.1KB
==> Caveats

It seems that the brew install of pkg-config now conflicts with the version of pkg-config that's already installed in the GH macOS hosted runner image.

CLP version

7d85ad3

Environment

GitHub hosted macOS runner:

Reproduction steps

Trigger a clp-core-build-macos workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant