-
-
Notifications
You must be signed in to change notification settings - Fork 555
Open
Description
Platform: MacOs, Ubuntu, Windows
Logs:
(04:10:45) ERROR: Traceback (most recent call last):
File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/7b1308b0cd04b4d9a7ee5d2a3eec1f16/external/catch2+/BUILD.bazel", line 65, column 11, in <toplevel>
cc_library(
File "/virtual_builtins_bzl/bazel/exports.bzl", line 40, column 9, in _removed_rule_failure
Error in fail:
This rule has been removed from Bazel. Please add a `load()` statement for it.
This can also be done automatically by running:
buildifier --lint=fix <path-to-BUILD-or-bzl-file>
(04:10:45) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/7b1308b0cd04b4d9a7ee5d2a3eec1f16/external/catch2+/BUILD.bazel: no such target '@@catch2+//:catch2_main': target 'catch2_main' not declared in package '' defined by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/7b1308b0cd04b4d9a7ee5d2a3eec1f16/external/catch2+/BUILD.bazel
(04:10:45) ERROR: /var/lib/buildkite-agent/builds/bk-docker-z1qn/bazel-org-repo-root/examples/third-party-dependencies/BUILD:25:8: no such target '@@catch2+//:catch2_main': target 'catch2_main' not declared in package '' defined by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/7b1308b0cd04b4d9a7ee5d2a3eec1f16/external/catch2+/BUILD.bazel and referenced by '//:catch2_test'
Target //:buildifier up-to-date:
bazel-bin/buildifier.bash
(04:10:45) ERROR: Analysis of target '//:catch2_test' failed; build aborted: Analysis failed
(04:10:45) INFO: Elapsed time: 2.589s, Critical Path: 0.03s
(04:10:45) INFO: 6 processes: 6 internal.
(04:10:45) ERROR: Build did NOT complete successfully
Culprit:
Steps:
git clone https://github.com/bazelbuild/examples
git reset 67d73d7 --hard
export USE_BAZEL_VERSION=0020569b3928a192eb83666fc443bcc95297d8d1
bazel build --config=ci -- ...
CC Greenteam @kotlaja
Metadata
Metadata
Assignees
Labels
No labels