Skip to content

proto_library: warning: directory does not exist #7157

@jayconrod

Description

@jayconrod

Description of the problem / feature request:

Building proto_library targets for Well Known Types in @com_google_protobuf emits warnings like the one below. The build succeeds, but it would be nice if the warning can be fixed or removed.

$ bazel build @com_google_protobuf//:any_proto
...
INFO: From Generating Descriptor Set proto_library @com_google_protobuf//:any_proto:
external/com_google_protobuf: warning: directory does not exist.
...

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

# WORKSPACE
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
    name = "com_google_protobuf",
    remote = "https://github.com/protocolbuffers/protobuf",
    tag = "v3.6.1.3",
)

git_repository(
    name = "bazel_skylib",
    remote = "https://github.com/bazelbuild/bazel-skylib",
    tag = "0.6.0",
)
bazel build @com_google_protobuf//:any_proto

What operating system are you running Bazel on?

Linux amd64

What's the output of bazel info release?

release 0.21.0

This does not happen in 0.20.0, but it does happen in 0.22.0rc2.

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)more data neededteam-Rules-ServerIssues for serverside rules included with Bazel

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions