Skip to content

Does not compile on macOS with remote execution #287

Description

@rejuvenile

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions