{"action":"opened","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/6984","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6984/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6984/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6984/events","html_url":"https://github.com/bazelbuild/bazel/issues/6984","id":393260113,"node_id":"MDU6SXNzdWUzOTMyNjAxMTM=","number":6984,"title":"proto_library incompatible with version 0.21","user":{"login":"bbarnes52","id":5430846,"node_id":"MDQ6VXNlcjU0MzA4NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5430846?v=4","gravatar_id":"","url":"https://api.github.com/users/bbarnes52","html_url":"https://github.com/bbarnes52","followers_url":"https://api.github.com/users/bbarnes52/followers","following_url":"https://api.github.com/users/bbarnes52/following{/other_user}","gists_url":"https://api.github.com/users/bbarnes52/gists{/gist_id}","starred_url":"https://api.github.com/users/bbarnes52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbarnes52/subscriptions","organizations_url":"https://api.github.com/users/bbarnes52/orgs","repos_url":"https://api.github.com/users/bbarnes52/repos","events_url":"https://api.github.com/users/bbarnes52/events{/privacy}","received_events_url":"https://api.github.com/users/bbarnes52/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-21T00:10:59Z","updated_at":"2018-12-21T00:10:59Z","closed_at":null,"author_association":"NONE","body":"Building a proto_library using bazel 0.21 yields the following error:\r\n\r\n```\r\nERROR: /blaze/a08c2e4811c846650b733c6fc815a920/external/com_google_protobuf/BUILD:597:1: Traceback (most recent call last):\r\n        File \"/blaze/a08c2e4811c846650b733c6fc815a920/external/com_google_protobuf/BUILD\", line 597\r\n                internal_gen_well_known_protos_java(srcs = WELL_KNOWN_PROTOS)\r\n        File \"/blaze/a08c2e4811c846650b733c6fc815a920/external/com_google_protobuf/protobuf.bzl\", line 266, in internal_gen_well_known_protos_java\r\n                Label((\"%s//protobuf_java\" % REPOSITOR...))\r\n        File \"/blaze/a08c2e4811c846650b733c6fc815a920/external/com_google_protobuf/protobuf.bzl\", line 266, in Label\r\n                REPOSITORY_NAME\r\nThe value 'REPOSITORY_NAME' has been removed in favor of 'repository_name()', please use the latter (https://docs.bazel.build/versions/master/skylark/lib/native.html#repository_name). You can temporarily allow the old name by using --incompatible_package_name_is_a_function=false\r\nERROR: /blaze/a08c2e4811c846650b733c6fc815a920/external/com_google_protobuf/BUILD:380:1: Target '@com_google_protobuf//:android' contains an error and its package is in error and referenced by '@com_google_protobuf//:protoc'\r\nERROR: /blaze/a08c2e4811c846650b733c6fc815a920/external/com_google_protobuf/BUILD:380:1: Target '@com_google_protobuf//:windows' contains an error and its package is in error and referenced by '@com_google_protobuf//:protoc'\r\nERROR: /blaze/a08c2e4811c846650b733c6fc815a920/external/com_google_protobuf/BUILD:380:1: Target '@com_google_protobuf//:windows_msvc' contains an error and its package is in error and referenced by '@com_google_protobuf//:protoc'\r\nERROR: /src/workspace/src/roboflow/webservice/proto/BUILD:23:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf//:protoc', but this target could not be found because of: Target '@com_google_protobuf//:protoc' contains an error and its package is in error\r\nERROR: Analysis of target '//src/roboflow/webservice/proto:proto_lib' failed; build aborted: Analysis failed\r\n```\r\n\r\nEasily worked around, just wanted to make you aware of the issue.\r\n\r\n### Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.\r\n\r\nBuilding any proto_library target on 0.21 should replicate this issue\r\n\r\n### What operating system are you running Bazel on?\r\n\r\nUbuntu 16.04\r\n\r\n### What's the output of `bazel info release`?\r\n\r\nrelease 0.21.0\r\n"}}
{"actor":{"display_login":"bbarnes52"}}