{"action":"opened","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/6498","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6498/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6498/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6498/events","html_url":"https://github.com/bazelbuild/bazel/issues/6498","id":373446640,"node_id":"MDU6SXNzdWUzNzM0NDY2NDA=","number":6498,"title":"Windows: building hello-world requires local_config_sh ","user":{"login":"meteorcloudy","id":4171702,"node_id":"MDQ6VXNlcjQxNzE3MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4171702?v=4","gravatar_id":"","url":"https://api.github.com/users/meteorcloudy","html_url":"https://github.com/meteorcloudy","followers_url":"https://api.github.com/users/meteorcloudy/followers","following_url":"https://api.github.com/users/meteorcloudy/following{/other_user}","gists_url":"https://api.github.com/users/meteorcloudy/gists{/gist_id}","starred_url":"https://api.github.com/users/meteorcloudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteorcloudy/subscriptions","organizations_url":"https://api.github.com/users/meteorcloudy/orgs","repos_url":"https://api.github.com/users/meteorcloudy/repos","events_url":"https://api.github.com/users/meteorcloudy/events{/privacy}","received_events_url":"https://api.github.com/users/meteorcloudy/received_events","type":"User","site_admin":false},"labels":[{"id":192364170,"node_id":"MDU6TGFiZWwxOTIzNjQxNzA=","url":"https://api.github.com/repos/bazelbuild/bazel/labels/P2","name":"P2","color":"e99695","default":false},{"id":1020660006,"node_id":"MDU6TGFiZWwxMDIwNjYwMDA2","url":"https://api.github.com/repos/bazelbuild/bazel/labels/team-Windows","name":"team-Windows","color":"f1f442","default":false},{"id":106503259,"node_id":"MDU6TGFiZWwxMDY1MDMyNTk=","url":"https://api.github.com/repos/bazelbuild/bazel/labels/type:%20bug","name":"type: bug","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"laszlocsomor","id":10532244,"node_id":"MDQ6VXNlcjEwNTMyMjQ0","avatar_url":"https://avatars0.githubusercontent.com/u/10532244?v=4","gravatar_id":"","url":"https://api.github.com/users/laszlocsomor","html_url":"https://github.com/laszlocsomor","followers_url":"https://api.github.com/users/laszlocsomor/followers","following_url":"https://api.github.com/users/laszlocsomor/following{/other_user}","gists_url":"https://api.github.com/users/laszlocsomor/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlocsomor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlocsomor/subscriptions","organizations_url":"https://api.github.com/users/laszlocsomor/orgs","repos_url":"https://api.github.com/users/laszlocsomor/repos","events_url":"https://api.github.com/users/laszlocsomor/events{/privacy}","received_events_url":"https://api.github.com/users/laszlocsomor/received_events","type":"User","site_admin":false},"assignees":[{"login":"laszlocsomor","id":10532244,"node_id":"MDQ6VXNlcjEwNTMyMjQ0","avatar_url":"https://avatars0.githubusercontent.com/u/10532244?v=4","gravatar_id":"","url":"https://api.github.com/users/laszlocsomor","html_url":"https://github.com/laszlocsomor","followers_url":"https://api.github.com/users/laszlocsomor/followers","following_url":"https://api.github.com/users/laszlocsomor/following{/other_user}","gists_url":"https://api.github.com/users/laszlocsomor/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlocsomor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlocsomor/subscriptions","organizations_url":"https://api.github.com/users/laszlocsomor/orgs","repos_url":"https://api.github.com/users/laszlocsomor/repos","events_url":"https://api.github.com/users/laszlocsomor/events{/privacy}","received_events_url":"https://api.github.com/users/laszlocsomor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-24T12:01:36Z","updated_at":"2018-10-24T12:01:36Z","closed_at":null,"author_association":"MEMBER","body":"To reproduce\r\n1. Apply https://github.com/bazelbuild/bazel/pull/6497\r\n2. Comment out the line https://github.com/bazelbuild/bazel/blob/2fda17d46088f2bb07b049fa35759002ea1dd5db/src/main/cpp/blaze.cc#L1543\r\n3. Build Bazel\r\n4. Unset `BAZEL_SH` (with `set BAZEL_SH=`)\r\n5. Run `bazel build examples/cpp:hello-world`\r\n```\r\npcloudy@pcloudy0-w MSYS ~/workspace/my_tests/bazel\r\n$ bazel build examples/cpp:hello-world\r\nWARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:\r\nC:\\Users\\pcloudy/.bazelrc\r\nINFO: Invocation ID: eff13024-3f65-4713-8ef2-108ea283b391\r\nINFO: Build options have changed, discarding analysis cache.\r\nERROR: While resolving toolchains for target //examples/cpp:hello-world: invalid registered toolchain '@local_config_sh//:local_sh_toolchain': no such package '@local_config_sh//': type 'path' has no method startswith(string)\r\nERROR: Analysis of target '//examples/cpp:hello-world' failed; build aborted: invalid registered toolchain '@local_config_sh//:local_sh_toolchain': no such package '@local_config_sh//': type 'path' has no method startswith(string)\r\nINFO: Elapsed time: 0.223s\r\nINFO: 0 processes.\r\nFAILED: Build did NOT complete successfully (0 packages loaded, 18 targets configured)\r\n    Fetching @local_config_sh; fetching...\r\n```"}}
{"actor":{"display_login":"meteorcloudy"}}