{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/6121","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6121/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6121/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6121/events","html_url":"https://github.com/bazelbuild/bazel/issues/6121","id":358795393,"node_id":"MDU6SXNzdWUzNTg3OTUzOTM=","number":6121,"title":"'java_runtime_suite' is not defined- 0.17.1 regression","user":{"login":"ittaiz","id":1378327,"node_id":"MDQ6VXNlcjEzNzgzMjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1378327?v=4","gravatar_id":"","url":"https://api.github.com/users/ittaiz","html_url":"https://github.com/ittaiz","followers_url":"https://api.github.com/users/ittaiz/followers","following_url":"https://api.github.com/users/ittaiz/following{/other_user}","gists_url":"https://api.github.com/users/ittaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/ittaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ittaiz/subscriptions","organizations_url":"https://api.github.com/users/ittaiz/orgs","repos_url":"https://api.github.com/users/ittaiz/repos","events_url":"https://api.github.com/users/ittaiz/events{/privacy}","received_events_url":"https://api.github.com/users/ittaiz/received_events","type":"User","site_admin":false},"labels":[{"id":1020663976,"node_id":"MDU6TGFiZWwxMDIwNjYzOTc2","url":"https://api.github.com/repos/bazelbuild/bazel/labels/team-Rules-Java","name":"team-Rules-Java","color":"f1f442","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-10T21:08:27Z","updated_at":"2018-09-11T03:32:11Z","closed_at":null,"author_association":"MEMBER","body":"### Description of the problem / feature request:\r\n\r\n`java_runtime_suite` doesn't work (analysis failure) on 0.17.1rc4  \r\n### Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.\r\n\r\nempty `WORKSPACE` file\r\n`BUILD` file with following contents:\r\n```\r\njava_runtime_suite(\r\n    name = \"jdk8\",\r\n    default = \":jdk8-default\",\r\n)\r\njava_runtime(\r\n    name = \"jdk8-default\",\r\n    srcs = [],\r\n    java_home = \"/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home\",\r\n)\r\n```\r\n`bazel build //...` passes with `0.16.1` and fails with `0.17.1rc4` with the following error:\r\n```\r\nERROR: /Users/ittaiz/workspace/bazel-playground/java-runtime-suite/BUILD:1:1: name 'java_runtime_suite' is not defined (did you mean 'java_runtime_alias'?)\r\n```\r\n\r\n### What operating system are you running Bazel on?\r\n\r\nOS X Sierra\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/420134991","html_url":"https://github.com/bazelbuild/bazel/issues/6121#issuecomment-420134991","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6121","id":420134991,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDEzNDk5MQ==","user":{"login":"ittaiz","id":1378327,"node_id":"MDQ6VXNlcjEzNzgzMjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1378327?v=4","gravatar_id":"","url":"https://api.github.com/users/ittaiz","html_url":"https://github.com/ittaiz","followers_url":"https://api.github.com/users/ittaiz/followers","following_url":"https://api.github.com/users/ittaiz/following{/other_user}","gists_url":"https://api.github.com/users/ittaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/ittaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ittaiz/subscriptions","organizations_url":"https://api.github.com/users/ittaiz/orgs","repos_url":"https://api.github.com/users/ittaiz/repos","events_url":"https://api.github.com/users/ittaiz/events{/privacy}","received_events_url":"https://api.github.com/users/ittaiz/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T03:32:11Z","updated_at":"2018-09-11T03:32:11Z","author_association":"MEMBER","body":"Shouldn’t it be in the incompatible_changes section?\nMy build broke without notice and honestly googling didn’t give me any info\nthis is going to happen.\nPart of the problem is that this was a copy paste of the configuration from\nbazel-toolchains (since we need a derivation of that) and we didn’t see\nthey also removed it.\n\nI opened this ticket for two reasons:\n1. Make sure I’m indeed not missing anything (which I did).\n2. Share with y’all in case this will add more breakages.\n\nOn my side I have no problems working around this. Leaving it up to you.\n\nThanks for the quick reply!\nOn Tue, 11 Sep 2018 at 1:50 Liam Miller-Cushon <notifications@github.com>\nwrote:\n\n> @lberki <https://github.com/lberki> FYI\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/bazelbuild/bazel/issues/6121#issuecomment-420064107>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABUIFzaOyKRh_9LWCQq2gXLn-3nxExSiks5uZtbQgaJpZM4WiLsE>\n> .\n>\n"}}
{"actor":{"display_login":"ittaiz"}}