Skip to content

Bazel target showcase_proto fails with google/api/field_info.proto: File not found. #1475

@parthea

Description

@parthea

When building the following bazel target at HEAD, I see google/api/field_info.proto: File not found.

proto_library(
name = "showcase_proto",
srcs = [":compliance.proto", ":echo.proto", ":identity.proto", ":messaging.proto", ":sequence.proto", ":testing.proto" ],
deps = [
"@com_google_googleapis//google/api:annotations_proto",
"@com_google_googleapis//google/api:client_proto",
"@com_google_googleapis//google/api:field_behavior_proto",
"@com_google_googleapis//google/api:resource_proto",
"@com_google_googleapis//google/api:routing_proto",
"@com_google_googleapis//google/longrunning:operations_proto",
"@com_google_googleapis//google/rpc:status_proto",
"@com_google_googleapis//google/rpc:error_details_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:field_mask_proto",
"@com_google_protobuf//:timestamp_proto",
]
)

Stack trace

google/api/field_info.proto: File not found.
schema/google/showcase/v1beta1/echo.proto:20:1: Import "google/api/field_info.proto" was not found or had errors.
Target //tests/integration:showcase_update failed to build

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions