{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4365","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4365/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4365/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4365/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4365","id":176775153,"number":4365,"title":"Build tensorflow from source with CUDA failed","user":{"login":"apollos","id":2270511,"avatar_url":"https://avatars.githubusercontent.com/u/2270511?v=3","gravatar_id":"","url":"https://api.github.com/users/apollos","html_url":"https://github.com/apollos","followers_url":"https://api.github.com/users/apollos/followers","following_url":"https://api.github.com/users/apollos/following{/other_user}","gists_url":"https://api.github.com/users/apollos/gists{/gist_id}","starred_url":"https://api.github.com/users/apollos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollos/subscriptions","organizations_url":"https://api.github.com/users/apollos/orgs","repos_url":"https://api.github.com/users/apollos/repos","events_url":"https://api.github.com/users/apollos/events{/privacy}","received_events_url":"https://api.github.com/users/apollos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20googler","name":"awaiting googler","color":"b60205"}],"state":"open","locked":false,"assignee":{"login":"damienmg","id":3721087,"avatar_url":"https://avatars.githubusercontent.com/u/3721087?v=3","gravatar_id":"","url":"https://api.github.com/users/damienmg","html_url":"https://github.com/damienmg","followers_url":"https://api.github.com/users/damienmg/followers","following_url":"https://api.github.com/users/damienmg/following{/other_user}","gists_url":"https://api.github.com/users/damienmg/gists{/gist_id}","starred_url":"https://api.github.com/users/damienmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienmg/subscriptions","organizations_url":"https://api.github.com/users/damienmg/orgs","repos_url":"https://api.github.com/users/damienmg/repos","events_url":"https://api.github.com/users/damienmg/events{/privacy}","received_events_url":"https://api.github.com/users/damienmg/received_events","type":"User","site_admin":false},"assignees":[{"login":"damienmg","id":3721087,"avatar_url":"https://avatars.githubusercontent.com/u/3721087?v=3","gravatar_id":"","url":"https://api.github.com/users/damienmg","html_url":"https://github.com/damienmg","followers_url":"https://api.github.com/users/damienmg/followers","following_url":"https://api.github.com/users/damienmg/following{/other_user}","gists_url":"https://api.github.com/users/damienmg/gists{/gist_id}","starred_url":"https://api.github.com/users/damienmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienmg/subscriptions","organizations_url":"https://api.github.com/users/damienmg/orgs","repos_url":"https://api.github.com/users/damienmg/repos","events_url":"https://api.github.com/users/damienmg/events{/privacy}","received_events_url":"https://api.github.com/users/damienmg/received_events","type":"User","site_admin":false},{"login":"gunan","id":7946809,"avatar_url":"https://avatars.githubusercontent.com/u/7946809?v=3","gravatar_id":"","url":"https://api.github.com/users/gunan","html_url":"https://github.com/gunan","followers_url":"https://api.github.com/users/gunan/followers","following_url":"https://api.github.com/users/gunan/following{/other_user}","gists_url":"https://api.github.com/users/gunan/gists{/gist_id}","starred_url":"https://api.github.com/users/gunan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunan/subscriptions","organizations_url":"https://api.github.com/users/gunan/orgs","repos_url":"https://api.github.com/users/gunan/repos","events_url":"https://api.github.com/users/gunan/events{/privacy}","received_events_url":"https://api.github.com/users/gunan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-09-13T23:18:27Z","updated_at":"2016-10-09T08:07:07Z","closed_at":null,"body":"I am trying to build tensorflow in Ubuntu 14.04 but failed. My steps:\r\n\r\n1. git rev-parse HEAD\r\nc715c3102df1556fc0ce88fc987440a3c80e5380\r\n\r\n2. bazel version\r\nWarning: ignoring _JAVA_OPTIONS in environment.\r\nAnother command is running (pid = 13101).  Waiting for it to complete...\r\nBuild target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar\r\nBuild time: Thu Jan 01 00:00:00 1970 (0)\r\nBuild timestamp: Thu Jan 01 00:00:00 1970 (0)\r\nBuild timestamp as int: 0\r\n\r\n3. ./configure \r\nPlease specify the location of python. [Default is /usr/bin/python]: \r\nDo you wish to build TensorFlow with Google Cloud Platform support? [y/N] n\r\nNo Google Cloud Platform support will be enabled for TensorFlow\r\nDo you wish to build TensorFlow with GPU support? [y/N] y\r\nGPU support will be enabled for TensorFlow\r\nPlease specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]: \r\nPlease specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: 7.5\r\nPlease specify the location where CUDA 7.5 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: \r\nPlease specify the Cudnn version you want to use. [Leave empty to use system default]: 5\r\nPlease specify the location where cuDNN 5 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: \r\nPlease specify a list of comma-separated Cuda compute capabilities you want to build with.\r\nYou can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.\r\nPlease note that each additional compute capability significantly increases your build time and binary size.\r\n[Default is: \"3.5,5.2\"]: \r\nWarning: ignoring _JAVA_OPTIONS in environment.\r\n..\r\nINFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.\r\nWarning: ignoring _JAVA_OPTIONS in environment.\r\n.\r\nWARNING: /home/yu/.cache/bazel/_bazel_yu/520915e94204a8ab6d3b139e9ec5cf67/external/boringssl_git/WORKSPACE:1: Workspace name in /home/yu/.cache/bazel/_bazel_yu/520915e94204a8ab6d3b139e9ec5cf67/external/boringssl_git/WORKSPACE (@boringssl) does not match the name given in the repository's definition (@boringssl_git); this will cause a build error in future versions.\r\nINFO: All external dependencies fetched successfully.\r\nConfiguration finished\r\n\r\n4. bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer\r\nexternal/zlib_archive/zlib-1.2.8/gzread.c:591:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]\r\n     ret = close(state->fd);\r\n     ^\r\nERROR: missing input file '@local_config_cuda//cuda:lib64/libcudnn.so.5':/home/yu/.cache/bazel/_bazel_yu/520915e94204a8ab6d3b139e9ec5cf67/external/local_config_cuda/cuda/lib64/libcudnn.so.5 (Permission denied).\r\nERROR: /home/yu/.cache/bazel/_bazel_yu/520915e94204a8ab6d3b139e9ec5cf67/external/re2/BUILD:9:1: C++ compilation of rule '@re2//:re2' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter ... (remaining 37 argument(s) skipped): com.google.devtools.build.lib.shell.AbnormalTerminationException: Process terminated by signal 15.\r\nERROR: /home/yu/workspace/tensorflow/tensorflow/cc/BUILD:199:1: //tensorflow/cc:tutorials_example_trainer: missing input file '@local_config_cuda//cuda:lib64/libcudnn.so.5'.\r\nTarget //tensorflow/cc:tutorials_example_trainer failed to build\r\nUse --verbose_failures to see the command lines of failed build steps.\r\nERROR: /home/yu/workspace/tensorflow/tensorflow/cc/BUILD:199:1 1 input file(s) do not exist.\r\n\r\nThe libcudnn.so.5 exist and I can build and run other cudnn code. How can I fix the error?"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/252471821","html_url":"https://github.com/tensorflow/tensorflow/issues/4365#issuecomment-252471821","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4365","id":252471821,"user":{"login":"gunan","id":7946809,"avatar_url":"https://avatars.githubusercontent.com/u/7946809?v=3","gravatar_id":"","url":"https://api.github.com/users/gunan","html_url":"https://github.com/gunan","followers_url":"https://api.github.com/users/gunan/followers","following_url":"https://api.github.com/users/gunan/following{/other_user}","gists_url":"https://api.github.com/users/gunan/gists{/gist_id}","starred_url":"https://api.github.com/users/gunan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunan/subscriptions","organizations_url":"https://api.github.com/users/gunan/orgs","repos_url":"https://api.github.com/users/gunan/repos","events_url":"https://api.github.com/users/gunan/events{/privacy}","received_events_url":"https://api.github.com/users/gunan/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T08:07:07Z","updated_at":"2016-10-09T08:07:07Z","body":"Saw this issue on 14.04\r\nTrying to reproduce by breaking my environment, will try to come up with detailed instructions."}}
{"actor":{"display_login":"gunan"}}