{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4988","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4988/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4988/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4988/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4988","id":183219540,"number":4988,"title":"Error building tensorflow from source","user":{"login":"joyjeni","id":3896309,"avatar_url":"https://avatars.githubusercontent.com/u/3896309?v=3","gravatar_id":"","url":"https://api.github.com/users/joyjeni","html_url":"https://github.com/joyjeni","followers_url":"https://api.github.com/users/joyjeni/followers","following_url":"https://api.github.com/users/joyjeni/following{/other_user}","gists_url":"https://api.github.com/users/joyjeni/gists{/gist_id}","starred_url":"https://api.github.com/users/joyjeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joyjeni/subscriptions","organizations_url":"https://api.github.com/users/joyjeni/orgs","repos_url":"https://api.github.com/users/joyjeni/repos","events_url":"https://api.github.com/users/joyjeni/events{/privacy}","received_events_url":"https://api.github.com/users/joyjeni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20response","name":"awaiting response","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-15T16:45:16Z","updated_at":"2016-10-19T03:25:57Z","closed_at":null,"body":"Getting below error while building tensorflow from source.  \r\n\r\n$ sudo bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package\r\n\r\n/home/jenisha/.cache/bazel/_bazel_root/d76a8cba20478b6f06262b0e7e986df4/external/nanopb_git/BUILD:6:1: undeclared inclusion(s) in rule '@nanopb_git//:nanopb':\r\nthis rule is missing dependency declarations for the following files included by 'external/nanopb_git/pb_common.c':\r\n  '/usr/include/stdc-predef.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h'\r\n  '/usr/include/stdint.h'\r\n  '/usr/include/features.h'\r\n  '/usr/include/x86_64-linux-gnu/sys/cdefs.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/wordsize.h'\r\n  '/usr/include/x86_64-linux-gnu/gnu/stubs.h'\r\n  '/usr/include/x86_64-linux-gnu/gnu/stubs-64.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/wchar.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdbool.h'\r\n  '/usr/include/string.h'\r\n  '/usr/include/xlocale.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/string.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/string2.h'\r\n  '/usr/include/endian.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/endian.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/byteswap.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/types.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/typesizes.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/byteswap-16.h'\r\n  '/usr/include/stdlib.h'\r\n  '/usr/include/x86_64-linux-gnu/bits/string3.h'.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/254700990","html_url":"https://github.com/tensorflow/tensorflow/issues/4988#issuecomment-254700990","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4988","id":254700990,"user":{"login":"asimshankar","id":16018,"avatar_url":"https://avatars.githubusercontent.com/u/16018?v=3","gravatar_id":"","url":"https://api.github.com/users/asimshankar","html_url":"https://github.com/asimshankar","followers_url":"https://api.github.com/users/asimshankar/followers","following_url":"https://api.github.com/users/asimshankar/following{/other_user}","gists_url":"https://api.github.com/users/asimshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/asimshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimshankar/subscriptions","organizations_url":"https://api.github.com/users/asimshankar/orgs","repos_url":"https://api.github.com/users/asimshankar/repos","events_url":"https://api.github.com/users/asimshankar/events{/privacy}","received_events_url":"https://api.github.com/users/asimshankar/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T03:25:57Z","updated_at":"2016-10-19T03:25:57Z","body":"That seems to be a different error, see the error log message:\r\n`ERROR: Building with --config=cuda but TensorFlow is not configured to build with GPU support. Please re-run ./configure and enter 'Y' at the prompt to build with GPU support.`\r\n\r\nWhen building for CPU, please re-run `./configure` and do not use `--config=cuda`"}}
{"actor":{"display_login":"asimshankar"}}