-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel-0.4.4 android dep. error back for tensorflow #2478
Comments
@aj-michael Any idea how to fix this? |
Hmmm, I cleaned this up in the tensorflow repo in tensorflow/tensorflow#6225. @interestingdev can you clarify as to what git repository you are building (is it https://github.com/tensorflow/tensorflow or something else?) and what commit you are at (run |
Ok, the problem is that https://github.com/tensorflow/models has https://github.com/tensorflow/tensorflow as a submodule, but is using a commit which does not include my fix. The solution is for the tensorflow/models project to update their submodule. A temporary fix would be |
Thanks for your response, now I'm taking bazel-0.4.3 to have tensorflow(syntaxnet) build passed. |
I'm going to close this because the README.md for models/syntaxnet explicitly says to use bazel 0.4.3: https://github.com/tensorflow/models/blob/master/syntaxnet/README.md. Of course this is less than ideal, their repo should not be breaking on bazel minor version updates, but this particular problem is probably worth filing an issue to their repo about updating their tensorflow version. |
Can you please highlight this in the README file. Red text would be best. I've had dozens of people ask about this problem. And with reasonably good Google foo. |
Could you report this on the syntaxnet repo? |
Hi,
I can see you rolled back the commit before and made below issue gone. But now it's back with latest release 0.4.4. Please help provide solution, thanks.
When I run .configure under syntaxnet/tensorflow/, following error appears:
ERROR: /root/.cache/bazel/_bazel_root/18eb17b8355c7d22a446de6d75221628/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/dexer/BUILD:3:1: no such target '//external:android/dx_jar_import': target 'android/dx_jar_import' not declared in package 'external' defined by /root/development/models/syntaxnet/tensorflow/WORKSPACE and referenced by '@bazel_tools//src/tools/android/java/com/google/devtools/build/android/dexer:dexer'.
ERROR: /root/.cache/bazel/_bazel_root/18eb17b8355c7d22a446de6d75221628/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/dexer/BUILD:3:1: no such target '//external:android/dx_jar_import': target 'android/dx_jar_import' not declared in package 'external' defined by /root/development/models/syntaxnet/tensorflow/WORKSPACE and referenced by '@bazel_tools//src/tools/android/java/com/google/devtools/build/android/dexer:dexer'.
ERROR: Evaluation of query "deps(//tensorflow/...)" failed: errors were encountered while computing transitive closure.
root@ubuntu-512mb-vpn-live-snapshot-512mb-nyc3-01:
/development/models/syntaxnet/tensorflow# vim root/.cache/bazel/_bazel_root/18eb17b8355c7d22a446de6d75221628/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/dexer/BUILD/development/models/syntaxnet/tensorflow# vim /root/.cache/bazel/_bazel_root/18eb17b8355c7d22a446de6d75221628/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/dexer/BUILDroot@ubuntu-512mb-vpn-live-snapshot-512mb-nyc3-01:
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help.
Environment info
ubuntu
bazel info release
):0.4.4
Java:
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
The text was updated successfully, but these errors were encountered: