{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/1996","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1996/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1996/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1996/events","html_url":"https://github.com/bazelbuild/bazel/issues/1996","id":185578173,"number":1996,"title":"Fail to build bazel - CROSSTOOL error message","user":{"login":"jiapei100","id":154013,"avatar_url":"https://avatars.githubusercontent.com/u/154013?v=3","gravatar_id":"","url":"https://api.github.com/users/jiapei100","html_url":"https://github.com/jiapei100","followers_url":"https://api.github.com/users/jiapei100/followers","following_url":"https://api.github.com/users/jiapei100/following{/other_user}","gists_url":"https://api.github.com/users/jiapei100/gists{/gist_id}","starred_url":"https://api.github.com/users/jiapei100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiapei100/subscriptions","organizations_url":"https://api.github.com/users/jiapei100/orgs","repos_url":"https://api.github.com/users/jiapei100/repos","events_url":"https://api.github.com/users/jiapei100/events{/privacy}","received_events_url":"https://api.github.com/users/jiapei100/received_events","type":"User","site_admin":false},"labels":[{"id":106503262,"url":"https://api.github.com/repos/bazelbuild/bazel/labels/Under%20investigation","name":"Under investigation","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"mhlopko","id":814566,"avatar_url":"https://avatars.githubusercontent.com/u/814566?v=3","gravatar_id":"","url":"https://api.github.com/users/mhlopko","html_url":"https://github.com/mhlopko","followers_url":"https://api.github.com/users/mhlopko/followers","following_url":"https://api.github.com/users/mhlopko/following{/other_user}","gists_url":"https://api.github.com/users/mhlopko/gists{/gist_id}","starred_url":"https://api.github.com/users/mhlopko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhlopko/subscriptions","organizations_url":"https://api.github.com/users/mhlopko/orgs","repos_url":"https://api.github.com/users/mhlopko/repos","events_url":"https://api.github.com/users/mhlopko/events{/privacy}","received_events_url":"https://api.github.com/users/mhlopko/received_events","type":"User","site_admin":false},"assignees":[{"login":"mhlopko","id":814566,"avatar_url":"https://avatars.githubusercontent.com/u/814566?v=3","gravatar_id":"","url":"https://api.github.com/users/mhlopko","html_url":"https://github.com/mhlopko","followers_url":"https://api.github.com/users/mhlopko/followers","following_url":"https://api.github.com/users/mhlopko/following{/other_user}","gists_url":"https://api.github.com/users/mhlopko/gists{/gist_id}","starred_url":"https://api.github.com/users/mhlopko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhlopko/subscriptions","organizations_url":"https://api.github.com/users/mhlopko/orgs","repos_url":"https://api.github.com/users/mhlopko/repos","events_url":"https://api.github.com/users/mhlopko/events{/privacy}","received_events_url":"https://api.github.com/users/mhlopko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-10-27T05:42:59Z","updated_at":"2016-11-09T08:04:06Z","closed_at":null,"body":"Hi, I'm trying to build bazel and my working environment:\n\n```\njiapei:bazel$ lsb_release -a\nNo LSB modules are available.\nDistributor ID: Ubuntu\nDescription:    Ubuntu 16.04.1 LTS\nRelease:        16.04\nCodename:       xenial\njiapei:bazel$ gcc --version\ngcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609\n```\n\n> jiapei:bazel$ ./compile.sh \n> INFO: You can skip this first step by providing a path to the bazel binary as second argument:\n> INFO:    ./compile.sh compile /path/to/bazel\n> 🍃  Building Bazel from scratch.......\n> 🍃  Building Bazel with Bazel.\n> .WARNING: /tmp/bazel_6xpn7pW9/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_6xpn7pW9/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions.\n> ERROR: java.io.IOException: Could not read the crosstool configuration file 'CROSSTOOL file /tmp/bazel_6xpn7pW9/out/external/local_config_cc/CROSSTOOL', because of a parser error (132:42: String missing ending quote.).\n> INFO: Elapsed time: 1.894s\n\nDid anybody meet the same issue? How to solve it....\n\nCheers\nPei\n"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/259354582","html_url":"https://github.com/bazelbuild/bazel/issues/1996#issuecomment-259354582","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1996","id":259354582,"user":{"login":"jiapei100","id":154013,"avatar_url":"https://avatars.githubusercontent.com/u/154013?v=3","gravatar_id":"","url":"https://api.github.com/users/jiapei100","html_url":"https://github.com/jiapei100","followers_url":"https://api.github.com/users/jiapei100/followers","following_url":"https://api.github.com/users/jiapei100/following{/other_user}","gists_url":"https://api.github.com/users/jiapei100/gists{/gist_id}","starred_url":"https://api.github.com/users/jiapei100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiapei100/subscriptions","organizations_url":"https://api.github.com/users/jiapei100/orgs","repos_url":"https://api.github.com/users/jiapei100/repos","events_url":"https://api.github.com/users/jiapei100/events{/privacy}","received_events_url":"https://api.github.com/users/jiapei100/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T08:04:06Z","updated_at":"2016-11-09T08:04:06Z","body":"@mhlopko \r\n\r\nStill the same... \r\n\r\n1. I tried to rebuild bazel, but got the following error messages:\r\n\r\n> jiapei:bazel$ ./compile.sh \r\n> INFO: You can skip this first step by providing a path to the bazel binary as second argument:\r\n> INFO:    ./compile.sh compile /path/to/bazel\r\n> 🍃  Building Bazel from scratch.......\r\n> 🍃  Building Bazel with Bazel.\r\n> .WARNING: /tmp/bazel_1lvXClZ2/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_1lvXClZ2/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions.\r\n> ERROR: java.io.IOException: Could not read the crosstool configuration file 'CROSSTOOL file /tmp/bazel_1lvXClZ2/out/external/local_config_cc/CROSSTOOL', because of a parser error (142:42: String missing ending quote.).\r\n> INFO: Elapsed time: 2.021s\r\n> \r\n> ERROR: Could not build Bazel\r\n\r\n\r\n2. I can install bazel by `sudo apt install bazel` because I've added the following line to **/etc/apt/sources.list**, \r\n`deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8`\r\n\r\nHowever, when I tried to build tensorflow, I obtained the following error messages:\r\n\r\n> jiapei:tensorflow$ bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package                                                                                              \r\n> ERROR: java.io.IOException: Could not read the crosstool configuration file 'CROSSTOOL file /home/jiapei/.cache/bazel/_bazel_jiapei/051cd94cedc722db8c69e42ce51064b5/external/local_config_cc/CROSSTOOL', because of a parser error (142:42: String missing ending quote.).                                                                                                                                                 \r\n> INFO: Elapsed time: 0.900s\r\n\r\n\r\n\r\nSo depressed... frustrated ...\r\n\r\nThanks mhlopko \r\n\r\nPei\r\n\r\n\r\n"}}
{"actor":{"display_login":"jiapei100"}}