Skip to content

[Bazel CI] ERROR: Cannot compute config conditions while building Target protobuf/compiler/php:php #598

@satyanandak

Description

@satyanandak

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4990#0199b7b3-6fa4-4291-ba20-3ed16cb8f693

Platform: MacOS, Ubuntu, Windows

Logs:

(06:08:08) ERROR: /private/var/tmp/_bazel_buildkite/51b44c65fda161ce4476fd982a7edd38/external/protobuf+/src/google/protobuf/compiler/php/BUILD.bazel:24:11: Cannot compute config conditions
(06:08:08) ERROR: /private/var/tmp/_bazel_buildkite/51b44c65fda161ce4476fd982a7edd38/external/protobuf+/src/google/protobuf/compiler/BUILD.bazel:220:21: Target '@@protobuf+//src/google/protobuf/compiler/php:php' contains an error and its package is in error and referenced by '@@protobuf+//src/google/protobuf/compiler:protoc_lib_stage1'
(06:08:09) ERROR: Analysis of target '//docs:common_settings' failed; build aborted: Analysis failed
(06:08:09) INFO: Elapsed time: 18.489s, Critical Path: 0.75s
(06:08:09) INFO: 822 processes: 1 remote cache hit, 796 internal, 25 darwin-sandbox.
(06:08:09) ERROR: Build did NOT complete successfully
(06:08:09) FAILED:

Culprit:

Steps:

git clone https://github.com/bazelbuild/bazel-skylib
git reset ac4372fef4f1dee37ef1fa16f807a1120224d47c --hard
export USE_BAZEL_VERSION=4dd8c2053d4631f14f28a5a19012c93d0c9f1e8e
bazel build --config=ci_remote //... @external_directory_tests//... @bazel_skylib_gazelle_plugin//...

CC Greenteam @fweikert

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