[Bazel CI] macOS arm64 agents fail checkout: libxcrun from Xcode 26.6 fails to load, git mirror setup fails
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- git, java, macos
- Domain
- build-system, ci-cd
Research direction
Start with the linked Buildkite CI run and its checkout logs, then reproduce on an affected macOS arm64 agent using the provided commit and bazel test --config=ci-macos -- //src/test/... command. Trace the git mirror setup and the xcrun load failure to identify where checkout breaks. Done means the checkout and test command succeed on the affected agents.
Written by the indexing model from the issue text.
Description
Platform: macOS arm64
Logs:
xcrun: error: unable to load libxcrun (dlopen(/Applications/Xcode26.6.app/Contents/Developer/usr/lib/libxcrun.dylib, 0x0005): tried: '/Applications/Xcode26.6.app/Contents/Developer/usr/lib/libxcrun.dylib' ...
⚠️ Warning: Checkout failed! getting/updating git mirror: setting remote URL: exit status 1 (Attempt 1/6 ...)
...
⚠️ Warning: Checkout failed! getting/updating git mirror: setting remote URL: exit status 1 (Attempt 6/6)
🚨 Error: getting/updating git mirror: setting remote URL: exit status 1
Steps:
git clone https://github.com/bazelbuild/bazel.git
git reset dbd767eb6f69d90bffde0b1d00703356addc03dc --hard
export USE_BAZEL_VERSION=dbd767eb6f69d90bffde0b1d00703356addc03dc
bazel test --config=ci-macos -- //src/test/... # on an affected macOS arm64 agent (e.g. bk-macos-arm64-iojk)
CC Greenteam @kotlaja
- Dominant language
- Java
- Stars
- 26.2k
- Forks
- 4.7k
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 125
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bazelbuild/bazel
-
team-Rules-Java type: bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
bazelbuild/bazel#33068 ·
Maintainers usually reply within 2 days
-
Remote repo contents cache rejects repos with a backslash in a file name on UnixPossibly taken A pull request linked to this issue is open or already merged. Openteam-Remote-Exec type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bazelbuild/bazel#32601 · 3 comments · 1 assignee ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bazelbuild/bazel#32132 ·
Maintainers usually reply within 2 days
-
team-Local-Exec type: documentation (cleanup)
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bazelbuild/bazel#31318 ·
Maintainers usually reply within 2 days
-
Docs: run/build.mdx describes a sandboxing warning removed in 2017 and a flag deleted in 9.0.0Possibly taken @lavishdev claimed this 70 days ago. Openhelp wanted P2 team-Documentation team-OSS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
bazelbuild/bazel#31316 ·
Maintainers usually reply within 2 days
All issues in bazelbuild/bazel
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Lincoln-cn/JAiRouter#1473 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
exercism/java-analyzer#379 ·
-
area: ui bug priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
tetsuji16/microProject#1893 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
liberation-data/fornax4j#325 ·
Maintainers usually reply within 1 day
-
[Bug]: FE and Kinesis extraction pipes render flow starting at the centre and scroll the source arm backwardsPossibly taken @chonkzillaofficial claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
BCCE-team/BuildCraft#85 ·