Does not compile on macOS with remote execution
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 524
- Forks
- 90
- Avg merge
- 17h 33m
- Merged PRs (30d)
- 28
Description
bazel run @bazel-diff//cli:bazel-diff
Hundreds of errors like:
ERROR: /private/var/tmp/_bazel_user/2fe8fca154ecc4fd4bfcc2428eaf334c/external/abseil-cpp+/absl/strings/BUILD.bazel:1265:11: Compiling absl/strings/internal/str_format/output.cc [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing CppCompile command (from target @@abseil-cpp+//absl/strings:str_format_internal) external/rules_cc++cc_configure_extension+local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object ... (remaining 100 arguments skipped)
In file included from external/abseil-cpp+/absl/strings/internal/str_format/output.cc:15:
external/abseil-cpp+/absl/strings/internal/str_format/output.h:24:10: error: module abseil-cpp+//absl/strings:str_format_internal does not depend on a module exporting 'cstdio'
24 | #include <cstdio>
| ^
external/abseil-cpp+/absl/strings/internal/str_format/output.h:25:10: error: module abseil-cpp+//absl/strings:str_format_internal does not depend on a module exporting 'ios'
25 | #include <ios>
| ^
external/abseil-cpp+/absl/strings/internal/str_format/output.h:26:10: error: module abseil-cpp+//absl/strings:str_format_internal does not depend on a module exporting 'ostream'
26 | #include <ostream>
| ^
external/abseil-cpp+/absl/strings/internal/str_format/output.h:27:10: error: module abseil-cpp+//absl/strings:str_format_internal does not depend on a module exporting 'string'
27 | #include <string>
| ^
external/abseil-cpp+/absl/strings/internal/str_format/output.cc:17:10: error: module abseil-cpp+//absl/strings:str_format_internal does not depend on a module exporting 'errno.h'
17 | #include <errno.h>
| ^
external/abseil-cpp+/absl/strings/internal/str_format/output.cc:18:10: error: module abseil-cpp+//absl/strings:str_format_internal does not depend on a module exporting 'cstring'
18 | #include <cstring>
| ^
6 errors generated.
This uses the latest version in the BCR, 10.1.0.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Reproduce bazel run @bazel-diff//cli:bazel-diff on macOS with remote execution using the BCR 10.1.0 version. Start with the reported cc_wrapper.sh command and the Abseil str_format_internal target, then verify the build completes without the module-export errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100