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

ci: fix macos upstream pkgconf #3345

Closed
wants to merge 1 commit into from

Conversation

flavorjones
Copy link
Member

What problem is this PR intended to solve?

Seeing CI failures on the upstream macos libxml2 job, e.g. https://github.com/sparklemotion/nokogiri/actions/runs/12005643457/job/33492814380

  brew install automake autogen libtool shtool
  ==> Downloading https://ghcr.io/v2/homebrew/core/automake/manifests/1.17
... ✁ ...
  ==> Installing autogen dependency: pkgconf
  ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.3.0_1
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/2d395f41484daa2c37c818f7abd9d0fc8dd82ff2892c542d9eb136b442ebae19--pkgconf-2.3.0_1.bottle_manifest.json
  ==> 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 pkg-config@0.29.2. You can unlink it:
    brew unlink pkg-config@0.29.2
  
  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/pkg-config@0.29.2/0.29.2_3/bin/pkg-config
  /opt/homebrew/share/aclocal/pkg.m4 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/aclocal/pkg.m4
  /opt/homebrew/share/man/man1/pkg-config.1 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/man/man1/pkg-config.1

Seems like this is probably due to the transition committed here: Homebrew/homebrew-core@0c35794

Let's try upgrading to see if we can get around this.

@flavorjones
Copy link
Member Author

Didn't work. I'm not going to spend more time on this right now, maybe it sorts itself out when github updates their images? 🤞

@flavorjones
Copy link
Member Author

Seems like this sorted itself out in the actions runner images.

@flavorjones flavorjones deleted the flavorjones-fix-macos-upstream-pkgconf branch December 12, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant