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] pkg-config fails to install on ARM macos14 jobs #44797

Closed
raulcd opened this issue Nov 20, 2024 · 1 comment
Closed

[CI] pkg-config fails to install on ARM macos14 jobs #44797

raulcd opened this issue Nov 20, 2024 · 1 comment

Comments

@raulcd
Copy link
Member

raulcd commented Nov 20, 2024

Describe the bug, including details regarding any error messages, version, and platform.

Some CI jobs:

have started failing to install pkg-config via brew:

 Installing pkg-config
==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.3.0_1
==> Fetching pkgconf
==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:5f83615f295e78e593c767d84f3eddf61bfb0b849a1e6a5ea343506b30b2c620
==> 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, 474KB
Installing pkg-config has failed!

This seems to have been removed on brew, for pkgconf:

Component(s)

Continuous Integration

raulcd added a commit to raulcd/arrow that referenced this issue Nov 20, 2024
kou added a commit that referenced this issue Nov 21, 2024
### Rationale for this change

Some CI jobs are currently failing on main:

- [Python / ARM64 macOS 14 Python 3](https://github.com/apache/arrow/actions/runs/11936033926/job/33268789966?pr=44796)
- [C++ / ARM64 macOS 14 C++ ](https://github.com/apache/arrow/actions/runs/11935481942/job/33268873278)

### What changes are included in this PR?

Update from deprecated `pkg-config` to `pkgconf`

### Are these changes tested?

Via CI

### Are there any user-facing changes?

No
* GitHub Issue: #44797

Lead-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@kou kou added this to the 19.0.0 milestone Nov 21, 2024
@kou
Copy link
Member

kou commented Nov 21, 2024

Issue resolved by pull request 44798
#44798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants