{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/346","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/346/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/346/events","html_url":"https://github.com/tensorflow/tensorflow/issues/346","id":118732272,"number":346,"title":"build from source fails","user":{"login":"hartsantler","id":764882,"avatar_url":"https://avatars.githubusercontent.com/u/764882?v=3","gravatar_id":"","url":"https://api.github.com/users/hartsantler","html_url":"https://github.com/hartsantler","followers_url":"https://api.github.com/users/hartsantler/followers","following_url":"https://api.github.com/users/hartsantler/following{/other_user}","gists_url":"https://api.github.com/users/hartsantler/gists{/gist_id}","starred_url":"https://api.github.com/users/hartsantler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartsantler/subscriptions","organizations_url":"https://api.github.com/users/hartsantler/orgs","repos_url":"https://api.github.com/users/hartsantler/repos","events_url":"https://api.github.com/users/hartsantler/events{/privacy}","received_events_url":"https://api.github.com/users/hartsantler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"danmane","id":1400023,"avatar_url":"https://avatars.githubusercontent.com/u/1400023?v=3","gravatar_id":"","url":"https://api.github.com/users/danmane","html_url":"https://github.com/danmane","followers_url":"https://api.github.com/users/danmane/followers","following_url":"https://api.github.com/users/danmane/following{/other_user}","gists_url":"https://api.github.com/users/danmane/gists{/gist_id}","starred_url":"https://api.github.com/users/danmane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmane/subscriptions","organizations_url":"https://api.github.com/users/danmane/orgs","repos_url":"https://api.github.com/users/danmane/repos","events_url":"https://api.github.com/users/danmane/events{/privacy}","received_events_url":"https://api.github.com/users/danmane/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-25T00:23:04Z","updated_at":"2015-11-25T00:41:32Z","closed_at":null,"body":"i just built the latest bazel from source, and pulled the latest tensorflow from source, and ran this to compile tensor:\r\n```bash\r\nbazel build -c opt //tensorflow/tools/pip_package:build_pip_package\r\n```\r\n\r\nAfter running for awhile, it failed with this error:\r\n\r\n```\r\nERROR: /home/brett/tensorflow/tensorflow/tensorboard/bower/BUILD:3:1: no such package '@plottable//': Unexpected end of file from server and referenced by '//tensorflow/tensorboard/bower:bower'.\r\nERROR: Loading failed; build aborted.\r\nINFO: Elapsed time: 173.131s\r\n```\r\n\r\nI am running Fedora22, 64bits."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/159449139","html_url":"https://github.com/tensorflow/tensorflow/issues/346#issuecomment-159449139","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/346","id":159449139,"user":{"login":"hartsantler","id":764882,"avatar_url":"https://avatars.githubusercontent.com/u/764882?v=3","gravatar_id":"","url":"https://api.github.com/users/hartsantler","html_url":"https://github.com/hartsantler","followers_url":"https://api.github.com/users/hartsantler/followers","following_url":"https://api.github.com/users/hartsantler/following{/other_user}","gists_url":"https://api.github.com/users/hartsantler/gists{/gist_id}","starred_url":"https://api.github.com/users/hartsantler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartsantler/subscriptions","organizations_url":"https://api.github.com/users/hartsantler/orgs","repos_url":"https://api.github.com/users/hartsantler/repos","events_url":"https://api.github.com/users/hartsantler/events{/privacy}","received_events_url":"https://api.github.com/users/hartsantler/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T00:41:32Z","updated_at":"2015-11-25T00:41:32Z","body":"i ran with --verbose_failures, looks like `hash.h` is missing.\r\n\r\n```\r\n[brett@localhost tensorflow]$ bazel build -c opt //tensorflow/tools/pip_package:build_pip_package --verbose_failures\r\nINFO: Found 1 target...\r\nINFO: From Compiling google/protobuf/src/google/protobuf/compiler/parser.cc [for host]:\r\ngoogle/protobuf/src/google/protobuf/compiler/parser.cc:38:40: fatal error: google/protobuf/stubs/hash.h: No such file or directory\r\ncompilation terminated.\r\nERROR: /home/brett/tensorflow/google/protobuf/BUILD:63:1: C++ compilation of rule '//google/protobuf:protobuf' failed: gcc failed: error executing command \r\n  (cd /home/brett/.cache/bazel/_bazel_brett/cad5cb2acfc6cd577d8180fb5b9f9a6b/tensorflow && \\\r\n  exec env - \\\r\n    PATH=/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/brett/.local/bin:/home/brett/bin \\\r\n  /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections -g0 '-std=c++0x' -iquote . -iquote bazel-out/host/genfiles -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -isystem google/protobuf/src -isystem bazel-out/host/genfiles/google/protobuf/src -isystem external/bazel_tools/tools/cpp/gcc3 -DHAVE_PTHREAD -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare '-Wno-error=unused-function' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__=\"redacted\"' '-D__TIMESTAMP__=\"redacted\"' '-D__TIME__=\"redacted\"' '-frandom-seed=bazel-out/host/bin/google/protobuf/_objs/protobuf/google/protobuf/src/google/protobuf/compiler/parser.o' -MD -MF bazel-out/host/bin/google/protobuf/_objs/protobuf/google/protobuf/src/google/protobuf/compiler/parser.d -c google/protobuf/src/google/protobuf/compiler/parser.cc -o bazel-out/host/bin/google/protobuf/_objs/protobuf/google/protobuf/src/google/protobuf/compiler/parser.o): gcc failed: error executing command \r\n  (cd /home/brett/.cache/bazel/_bazel_brett/cad5cb2acfc6cd577d8180fb5b9f9a6b/tensorflow && \\\r\n  exec env - \\\r\n    PATH=/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/brett/.local/bin:/home/brett/bin \\\r\n  /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections -g0 '-std=c++0x' -iquote . -iquote bazel-out/host/genfiles -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -isystem google/protobuf/src -isystem bazel-out/host/genfiles/google/protobuf/src -isystem external/bazel_tools/tools/cpp/gcc3 -DHAVE_PTHREAD -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare '-Wno-error=unused-function' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__=\"redacted\"' '-D__TIMESTAMP__=\"redacted\"' '-D__TIME__=\"redacted\"' '-frandom-seed=bazel-out/host/bin/google/protobuf/_objs/protobuf/google/protobuf/src/google/protobuf/compiler/parser.o' -MD -MF bazel-out/host/bin/google/protobuf/_objs/protobuf/google/protobuf/src/google/protobuf/compiler/parser.d -c google/protobuf/src/google/protobuf/compiler/parser.cc -o bazel-out/host/bin/google/protobuf/_objs/protobuf/google/protobuf/src/google/protobuf/compiler/parser.o).\r\nTarget //tensorflow/tools/pip_package:build_pip_package failed to build\r\nINFO: Elapsed time: 0.925s, Critical Path: 0.50s\r\n```"}}