models icon indicating copy to clipboard operation
models copied to clipboard

ERROR: Linking of rule '@highwayhash//:sip_hash' failed

Open bretrouse opened this issue 9 years ago • 3 comments

On Mac OS X 10.11.6, following instructions at https://github.com/tensorflow/models/tree/master/syntaxnet#installation, when I get to the last installation step to run bazel test I receive the following error:

ERROR: /private/var/tmp/_bazel_bret/981984f790e2045048b00660e39d3928/external/org_tensorflow/tensorflow/core/debug/BUILD:33:1: null failed: protoc failed: error executing command bazel-out/host/bin/external/protobuf/protoc '--cpp_out=bazel-out/local-opt/genfiles/external/org_tensorflow' '--plugin=protoc-gen-grpc=bazel-out/host/bin/external/grpc/grpc_cpp_plugin' ... (remaining 6 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
bazel-out/local-opt/genfiles/external/protobuf/src: warning: directory does not exist.
bazel-out/host/bin/external/grpc/grpc_cpp_plugin: program not found or is not executable
--grpc_out: protoc-gen-grpc: Plugin failed with status code 1.
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ pip freeze | grep protobuf
protobuf==3.1.0

$ bazel version
Build label: 0.4.2-homebrew
Build target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Dec 8 03:14:36 2016 (1481166876)
Build timestamp: 1481166876
Build timestamp as int: 1481166876

bretrouse avatar Dec 16 '16 23:12 bretrouse

@jart could you please take a look?

aselle avatar Dec 20 '16 21:12 aselle

Punting to @calberti whom I suspect is the author of syntaxnet.

jart avatar Dec 22 '16 20:12 jart

Close due to inactivity. Please check out the latest model code.

mingxingtan avatar Feb 08 '18 00:02 mingxingtan