bazelbuild / bazel-toolchains

Repository that hosts Bazel toolchain configs for remote execution and related support tools.
Apache License 2.0
186 stars 96 forks source link

Toolchain configs for marketplace.gcr.io/google/rbe-ubuntu16-04, Bazel 4.0.0 (2021/01/22) #933

Closed rbe-toolchains-robot closed 3 years ago

rbe-toolchains-robot commented 3 years ago

Container Digest: f6568d8168b14aafd1b707019927a63c2d37113a03bcee188218f99bd0327ea1

rbe-toolchains-pr-bot commented 3 years ago

/gcbrun

smukherj1 commented 3 years ago

Note CI actually failed here and was bypassed:

Error was

Step #0: ERROR: /workspace/configs/ubuntu16_04_clang/11.0.0/bazel_4.0.0/cc/BUILD:76:20: in cc_toolchain_config rule //configs/ubuntu16_04_clang/11.0.0/bazel_4.0.0/cc:linux_gnu_x86: 
Step #0: Traceback (most recent call last):
Step #0:    File "/workspace/configs/ubuntu16_04_clang/11.0.0/bazel_4.0.0/cc/BUILD", line 76, column 20, in cc_toolchain_config(name = 'linux_gnu_x86')
Step #0:        cc_toolchain_config(
Step #0:    File "/workspace/configs/ubuntu16_04_clang/11.0.0/bazel_4.0.0/cc/cc_toolchain_config.bzl", line 153, column 35, in _impl
Step #0:        action_name = ACTION_NAMES.llvm_cov,
Step #0: Error: 'struct' value has no field or method 'llvm_cov'

This is because this CI check used Bazel 3.5.0 whereas this C++ config internal struct was changed in Bazel 4.0.0. The CI used to depend on the Bazel container for the new configs being out before this PR is created but that hasn't been the case for a while.