<p dir="auto">See <a href="https://github.com/tensorflow/tensorflow/issues/22029" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/22029/hovercard">here</a>, I wonder why no one answer my question ???</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto"><strong>Operating System:</strong> Ubuntu 12.04</p>
<p dir="auto"><strong>Installed from source:</strong><br>
<strong>Commit Hash:</strong> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/c5f94b10bbb30e525fa3ca313e7ccb173040c90a/hovercard" href="https://github.com/tensorflow/tensorflow/commit/c5f94b10bbb30e525fa3ca313e7ccb173040c90a"><tt>c5f94b1</tt></a><br>
<strong>Output of "bazel version":</strong><br>
WARNING: Output base '/home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf' is on NFS. This may lead to surprising failures and undetermined behavior.<br>
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar<br>
Build time: Thu Jan 01 00:00:00 1970 (0)<br>
Build timestamp: Thu Jan 01 00:00:00 1970 (0)<br>
Build timestamp as int: 0</p>
<p dir="auto">Note: Not sure why the actual version doesn't appear in the output, but it is 0.2.2b.</p>
<p dir="auto"><strong>### Steps to reproduce</strong></p>
<ol dir="auto">
<li>git clone <a href="https://github.com/tensorflow/tensorflow">https://github.com/tensorflow/tensorflow</a></li>
<li>Installed Bazel</li>
<li>Installed other dependencies</li>
<li>./configure</li>
<li>/usr/bin/python</li>
<li>N</li>
<li>N (Note: After this, the configuration ended.)</li>
<li>bazel build -c opt //tensorflow/tools/pip_package:build_pip_package</li>
</ol>
<p dir="auto"><strong>Error Message:</strong><br>
ERROR: /home/user1/Documents/tensorflow/tensorflow/tensorboard/bower/BUILD:5:1: no such package '@iron_list//': /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/iron_list/.git/objects/pack/.nfs000000000189638500000904 (Device or resource busy) and referenced by '//tensorflow/tensorboard/bower:bower'.<br>
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted.</p>
<h3 dir="auto">What have you tried?</h3>
<ol dir="auto">
<li>Downloaded the necessary files locally and linked to them in tensorflow/WORKSPACE, as well as in tensorflow/tensorflow/tensorboard/bower/BUILD, with no success (Note: This is my first time using bazel, so I may not have done this correctly.).</li>
<li>Googled the error; although many people seem to have bower-related errors with respect to downloading the files from GitHub, this seems to be a different type of error.</li>
<li>Reran the command many times.</li>
<li>Reinstalled nodejs, npm, and then bower on the computer and reran the command again.</li>
</ol>
<h3 dir="auto">Logs or other output that would be helpful</h3>
<p dir="auto"><strong>Full Log:</strong></p>
<blockquote>
<p dir="auto">bazel build -c opt //tensorflow/tools/pip_package:build_pip_package<br>
WARNING: Output base '/home/user1.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf' is on NFS. This may lead to surprising failures and undetermined behavior.<br>
WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See <a href="http://bazel.io/docs/bazel-user-manual.html#sandboxing" rel="nofollow">http://bazel.io/docs/bazel-user-manual.html#sandboxing</a> for more information. You can turn off this warning via --ignore_unsupported_sandboxing.<br>
WARNING: /home/user1/Documents/tensorflow/util/python/BUILD:11:16: in includes attribute of cc_library rule //util/python:python_headers: 'python_include' resolves to 'util/python/python_include' not in 'third_party'. This will be an error in the future.<br>
WARNING: /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/gemmlowp/BUILD:102:12: in hdrs attribute of cc_library rule @gemmlowp//:eight_bit_int_gemm: Artifact 'external/gemmlowp/public/bit_depth.h' is duplicated (through '@gemmlowp//:eight_bit_int_gemm_public_headers' and '@gemmlowp//:gemmlowp_headers').<br>
WARNING: /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/gemmlowp/BUILD:102:12: in hdrs attribute of cc_library rule @gemmlowp//:eight_bit_int_gemm: Artifact 'external/gemmlowp/public/gemmlowp.h' is duplicated (through '@gemmlowp//:eight_bit_int_gemm_public_headers' and '@gemmlowp//:gemmlowp_headers').<br>
WARNING: /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/gemmlowp/BUILD:102:12: in hdrs attribute of cc_library rule @gemmlowp//:eight_bit_int_gemm: Artifact 'external/gemmlowp/public/map.h' is duplicated (through '@gemmlowp//:eight_bit_int_gemm_public_headers' and '@gemmlowp//:gemmlowp_headers').<br>
WARNING: /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/gemmlowp/BUILD:102:12: in hdrs attribute of cc_library rule @gemmlowp//:eight_bit_int_gemm: Artifact 'external/gemmlowp/public/output_stages.h' is duplicated (through '@gemmlowp//:eight_bit_int_gemm_public_headers' and '@gemmlowp//:gemmlowp_headers').<br>
WARNING: /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/gemmlowp/BUILD:102:12: in hdrs attribute of cc_library rule @gemmlowp//:eight_bit_int_gemm: Artifact 'external/gemmlowp/profiling/instrumentation.h' is duplicated (through '@gemmlowp//:eight_bit_int_gemm_public_headers' and '@gemmlowp//:gemmlowp_headers').<br>
WARNING: /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/gemmlowp/BUILD:102:12: in hdrs attribute of cc_library rule @gemmlowp//:eight_bit_int_gemm: Artifact 'external/gemmlowp/profiling/profiler.h' is duplicated (through '@gemmlowp//:eight_bit_int_gemm_public_headers' and '@gemmlowp//:gemmlowp_headers').<br>
ERROR: /home/user1/Documents/tensorflow/tensorflow/tensorboard/bower/BUILD:5:1: no such package '@iron_list//': /home/user1/.cache/bazel/_bazel_user1/d49ce44fa50589aa9a9d880466ef1baf/external/iron_list/.git/objects/pack/.nfs000000000189638500000904 (Device or resource busy) and referenced by '//tensorflow/tensorboard/bower:bower'.<br>
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted.<br>
INFO: Elapsed time: 0.374s</p>
</blockquote>
<p dir="auto"><strong>Additional Information:</strong><br>
The package name in the error message rotates between iron_list, iron_icon, and iron_icons each new time the command is run.</p>
<p dir="auto">Not sure whether this is relevant, but I am able to run the following commands for syntaxnet:<br>
git clone --recursive <a href="https://github.com/tensorflow/models.git">https://github.com/tensorflow/models.git</a><br>
cd models/syntaxnet/tensorflow<br>
./configure<br>
cd ..<br>
bazel test syntaxnet/... util/utf8/...</p>
<p dir="auto">with all tests reported as being passed.  The only changes made to the included files in order to pass all tests successfully were to:</p>
<ol dir="auto">
<li>Download gmock-1.7.0.zip manually, run the command: "python -m SimpleHTTPServer 8000", and change line 79 of workspace.bzl to: "url = "<a href="http://localhost:8000/gmock-1.7.0.zip" rel="nofollow">http://localhost:8000/gmock-1.7.0.zip</a>","</li>
<li>Change line 25 of models/syntaxnet/syntaxnet/parser_trainer_test.sh to: "BINDIR=$TEST_SRCDIR/$TEST_WORKSPACE/syntaxnet"</li>
</ol>
<p dir="auto">Please let me know if you require any other information!  Thanks in advance for your help.</p>
<p dir="auto">-Natalie</p>