{"action":"created","issue":{"url":"https://api.github.com/repos/google/bazel/issues/192","labels_url":"https://api.github.com/repos/google/bazel/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/google/bazel/issues/192/comments","events_url":"https://api.github.com/repos/google/bazel/issues/192/events","html_url":"https://github.com/google/bazel/issues/192","id":76694932,"number":192,"title":"bazel fetch //... in workspace without tools directory fails","user":{"login":"davidzchen","id":5283042,"avatar_url":"https://avatars.githubusercontent.com/u/5283042?v=3","gravatar_id":"","url":"https://api.github.com/users/davidzchen","html_url":"https://github.com/davidzchen","followers_url":"https://api.github.com/users/davidzchen/followers","following_url":"https://api.github.com/users/davidzchen/following{/other_user}","gists_url":"https://api.github.com/users/davidzchen/gists{/gist_id}","starred_url":"https://api.github.com/users/davidzchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidzchen/subscriptions","organizations_url":"https://api.github.com/users/davidzchen/orgs","repos_url":"https://api.github.com/users/davidzchen/repos","events_url":"https://api.github.com/users/davidzchen/events{/privacy}","received_events_url":"https://api.github.com/users/davidzchen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/bazel/labels/P1","name":"P1","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"kchodorow","id":17042,"avatar_url":"https://avatars.githubusercontent.com/u/17042?v=3","gravatar_id":"","url":"https://api.github.com/users/kchodorow","html_url":"https://github.com/kchodorow","followers_url":"https://api.github.com/users/kchodorow/followers","following_url":"https://api.github.com/users/kchodorow/following{/other_user}","gists_url":"https://api.github.com/users/kchodorow/gists{/gist_id}","starred_url":"https://api.github.com/users/kchodorow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchodorow/subscriptions","organizations_url":"https://api.github.com/users/kchodorow/orgs","repos_url":"https://api.github.com/users/kchodorow/repos","events_url":"https://api.github.com/users/kchodorow/events{/privacy}","received_events_url":"https://api.github.com/users/kchodorow/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-05-15T11:13:28Z","updated_at":"2015-05-15T18:44:05Z","closed_at":null,"body":"Running `bazel fetch //...` in a workspace that has no tools directory even though `~/.bazelrc` points to the workspace under the Bazel installation directory:\r\n\r\n```\r\n❯❯❯ bazel fetch //...\r\nERROR: no such package 'tools/jdk': BUILD file not found on package path.\r\n```"},"comment":{"url":"https://api.github.com/repos/google/bazel/issues/comments/102488992","html_url":"https://github.com/google/bazel/issues/192#issuecomment-102488992","issue_url":"https://api.github.com/repos/google/bazel/issues/192","id":102488992,"user":{"login":"davidzchen","id":5283042,"avatar_url":"https://avatars.githubusercontent.com/u/5283042?v=3","gravatar_id":"","url":"https://api.github.com/users/davidzchen","html_url":"https://github.com/davidzchen","followers_url":"https://api.github.com/users/davidzchen/followers","following_url":"https://api.github.com/users/davidzchen/following{/other_user}","gists_url":"https://api.github.com/users/davidzchen/gists{/gist_id}","starred_url":"https://api.github.com/users/davidzchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidzchen/subscriptions","organizations_url":"https://api.github.com/users/davidzchen/orgs","repos_url":"https://api.github.com/users/davidzchen/repos","events_url":"https://api.github.com/users/davidzchen/events{/privacy}","received_events_url":"https://api.github.com/users/davidzchen/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T18:44:05Z","updated_at":"2015-05-15T18:44:05Z","body":"Adding a `fetch --package_path` line to `.bazelrc` fixes the problem. Thanks!"}}