Skip to content

[Bazel CI] Failed cl.exe failed: error executing CppCompile command  #3122

Description

@sgowroji

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4834#01984f35-790f-491a-98de-d1bb7f6d4e4a

Platform: Windows

Logs:

ERROR: �[0mC:/b/yevs3zr6/external/protobuf+/src/google/protobuf/BUILD.bazel:355:11: Compiling src/google/protobuf/port.cc [for tool] failed: (Exit 2): cl.exe failed: error executing CppCompile command (from cc_library rule target @@protobuf+//src/google/protobuf:port) 
failed: 'Protobuf only supports C++17 and newer.'
failed: 'Protobuf only supports C++17 and newer.'
error: missing ';' before '>'
error: '>'
error: missing ';' before ':'
error: missing ';' before ')'

Culprit:

Steps:

git clone https://github.com/bazel-contrib/rules_python
git reset e6bba92d4a3de943c77a50834c727318870bef48  --hard
export USE_BAZEL_VERSION=00b48b27aa216befc419e540919a1f1df4cda337
bazel build  ... @rules_python//examples/wheel/... 

CC Greenteam @meteorcloudy

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions