{"action":"closed","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/1358","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1358/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1358/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1358/events","html_url":"https://github.com/bazelbuild/bazel/issues/1358","id":159459238,"number":1358,"title":"Version `GLIBCXX_3.4.18' not found when compiling tensorflow example","user":{"login":"kheuton","id":4196307,"avatar_url":"https://avatars.githubusercontent.com/u/4196307?v=3","gravatar_id":"","url":"https://api.github.com/users/kheuton","html_url":"https://github.com/kheuton","followers_url":"https://api.github.com/users/kheuton/followers","following_url":"https://api.github.com/users/kheuton/following{/other_user}","gists_url":"https://api.github.com/users/kheuton/gists{/gist_id}","starred_url":"https://api.github.com/users/kheuton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kheuton/subscriptions","organizations_url":"https://api.github.com/users/kheuton/orgs","repos_url":"https://api.github.com/users/kheuton/repos","events_url":"https://api.github.com/users/kheuton/events{/privacy}","received_events_url":"https://api.github.com/users/kheuton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/Under%20investigation","name":"Under investigation","color":"c2e0c6"}],"state":"closed","locked":false,"assignee":{"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},"milestone":null,"comments":5,"created_at":"2016-06-09T17:03:02Z","updated_at":"2016-06-21T10:03:15Z","closed_at":"2016-06-21T10:03:15Z","body":"Hi all,\r\n\r\nI'm trying to install bazel and tensorflow with cuda support in my home directory on a network drive of a research cluster. I am building them using tools from a conda virtual environment, so almost nothing I have is in a default location.\r\n\r\nBazel version: 0.2.3 tag from the master branch\r\nGcc version: gcc version 4.8.5 (GCC)\r\n\r\nWhen building the first tensorflow example, I get this error:\r\n\r\n/homes/krheuton/bazel/output/bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer --verbose_failures\r\n........\r\n\r\n> WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.io/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.\r\n\r\n> \r\nWARNING: /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/external/protobuf/WORKSPACE:1: Workspace name in /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/external/protobuf/WORKSPACE (@__main__) does not match the name given in the repository's definition (@protobuf); this will cause a build error in future versions.\r\n\r\n> WARNING: /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/external/re2/WORKSPACE:1: Workspace name in /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/external/re2/WORKSPACE (@__main__) does not match the name given in the repository's definition (@re2); this will cause a build error in future versions.\r\n\r\n> \r\nWARNING: /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/external/highwayhash/WORKSPACE:1: Workspace name in /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/external/highwayhash/WORKSPACE (@__main__) does not match the name given in the repository's definition (@highwayhash); this will cause a build error in future versions.\r\n\r\n\r\nINFO: Found 1 target...\r\n\r\n> \r\n> Slow read: a 111231960-byte read from /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/tensorflow/bazel-out/local_linux-opt/genfiles/third_party/gpus/cuda/lib64/libcufft.so took 8004ms.\r\n> Slow read: a 111231960-byte read from /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/tensorflow/bazel-out/host/genfiles/third_party/gpus/cuda/lib64/libcufft.so took 7987ms.\r\n> Slow read: a 111231960-byte read from /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/tensorflow/bazel-out/local_linux-opt/bin/_solib_local/_U_S_Sthird_Uparty_Sgpus_Scuda_Ccufft___Uthird_Uparty_Sgpus_Scuda_Slib64/libcufft.so took 7999ms.\r\n> \r\n\r\n> ERROR: /snfs2/HOME/krheuton/tensorflow/tensorflow/core/BUILD:90:1: null failed: protoc failed: error executing command \r\n>   (cd /snfs2/HOME/krheuton/.cache/bazel/_bazel_krheuton/4bbcdf630a5812f0ffcb10ef621943b3/tensorflow && \\\r\n>   exec env - \\\r\n>   bazel-out/host/bin/external/protobuf/protoc '--cpp_out=bazel-out/local_linux-opt/genfiles/' -I. -Iexternal/protobuf/src -Ibazel-out/local_linux-opt/genfiles/external/protobuf/src tensorflow/core/example/example.proto tensorflow/core/example/feature.proto tensorflow/core/framework/allocation_description.proto tensorflow/core/framework/attr_value.proto tensorflow/core/framework/cost_graph.proto tensorflow/core/framework/device_attributes.proto tensorflow/core/framework/function.proto tensorflow/core/framework/graph.proto tensorflow/core/framework/kernel_def.proto tensorflow/core/framework/log_memory.proto tensorflow/core/framework/op_def.proto tensorflow/core/framework/step_stats.proto tensorflow/core/framework/summary.proto tensorflow/core/framework/tensor.proto tensorflow/core/framework/tensor_description.proto tensorflow/core/framework/tensor_shape.proto tensorflow/core/framework/tensor_slice.proto tensorflow/core/framework/types.proto tensorflow/core/framework/variable.proto tensorflow/core/framework/versions.proto tensorflow/core/lib/core/error_codes.proto tensorflow/core/protobuf/config.proto tensorflow/core/protobuf/meta_graph.proto tensorflow/core/protobuf/named_tensor.proto tensorflow/core/protobuf/queue_runner.proto tensorflow/core/protobuf/saver.proto tensorflow/core/protobuf/tensorflow_server.proto tensorflow/core/util/event.proto tensorflow/core/util/memmapped_file_system.proto tensorflow/core/util/saved_tensor_slice.proto tensorflow/core/util/test_log.proto): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.\r\n> bazel-out/host/bin/external/protobuf/protoc: /usr/lib64/libstdc++.so.6: version \\`GLIBCXX_3.4.18' not found (required by bazel-out/host/bin/external/protobuf/protoc)\r\n> Target //tensorflow/cc:tutorials_example_trainer failed to build\r\n> INFO: Elapsed time: 154.944s, Critical Path: 83.57s\r\n> \r\n\r\nThis seems to mirror issue #898 but I can't quite determine what the resolution was there."}}
{"actor":{"display_login":"bazel-io"}}