[Bazel CI] rules examples fail on macOS arm64: wrapped_clang aborts with "dyld: missing LC_UUID load command" (Bazel 6.5.0)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system
Research direction
Start with rules/.bazelversion and the failing rules/aspect and rules/expand_template targets; reproduce on macOS arm64 with Bazel 6.5.0 using the steps in the issue. Compare the failure with the passing basics_macos_lts task on the same platform and inspect the wrapped compiler behavior. Done when bazel build //... succeeds for the affected rules examples on the failing CI environment.
Written by the indexing model from the issue text.
Description
CI: https://buildkite.com/bazel/bazel-bazel-examples/builds/5630#01a1ebfd-0601-4b72-af8b-5a19f92e6e51
Platform: macOS arm64
Failing tasks:
- rules (basics_macos_latest)
Logs:
(01:10:16) ERROR: .../rules/aspect/BUILD:4:11: Compiling aspect/lib.cc failed: (Aborted): wrapped_clang_pp failed: error executing command (from target //aspect:lib)
dyld[18624]: missing LC_UUID load command in .../external/bazel_tools~cc_configure_extension~local_config_cc/wrapped_clang
dyld[18624]: missing LC_UUID load command
(01:10:16) ERROR: .../rules/expand_template/BUILD:10:10: Compiling expand_template/hello_john_src.cc failed: (Aborted): wrapped_clang_pp failed: error executing command (from target //expand_template:hello)
dyld[18625]: missing LC_UUID load command in .../external/bazel_tools~cc_configure_extension~local_config_cc/wrapped_clang
dyld[18625]: missing LC_UUID load command
Culprit: Not an examples change. This task runs Bazel 6.5.0 (rules/.bazelversion contains 6.5.0). The job now runs on macOS 26.7.3 with Xcode 26.6, where dyld aborts Bazel 6.5.0's wrapped_clang. It last passed on macOS 15.8.2 with Xcode 26.0. On the same macOS and Xcode, rules (basics_macos_lts) passes with Bazel 9.3.2.
Steps:
git clone https://github.com/bazelbuild/examples.git
git reset efab5bd4660ebfe720bd52efaeeccefaf00ee4ad --hard
export USE_BAZEL_VERSION=6.5.0
cd rules
bazel build //...
CC Greenteam @fweikert
- Dominant language
- Starlark
- Stars
- 958
- Forks
- 582
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No 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/examples
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
bazelbuild/examples#722 · 1 comment ·
-
[Bazel CI] ERROR: rules_rust_prost: implicit attribute defaults to @bazel_tools//tools/cpp:empty, fails single-file check (08-grpc-client-server)Possibly taken @deepalak56 claimed this 45 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 64/100
bazelbuild/examples#710 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
bazelbuild/examples#650 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bazelbuild/examples#642 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
bazelbuild/examples#641 · 1 reaction ·
All issues in bazelbuild/examples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bazelbuild/apple_support#707 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
out-of-date
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CachyOS/CachyOS-PKGBUILDS#2232 ·
Maintainers usually reply within 1 day
-
blast/large refactor risk/low spend-dem
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chriskelly/MusicWall#87 · 2 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
neilotoole/sq#1503 ·
Maintainers usually reply within 1 day