parsey-mcparseface-api icon indicating copy to clipboard operation
parsey-mcparseface-api copied to clipboard

bazel build of parsey_api is giving the errors

Open zt-anil opened this issue 7 years ago • 1 comments

Hello, I have been trying to follow the instructions to serving syntaxnet's parsley-mcparseface-api. Running of the command bazel build -c opt parsey_api/... is giving me the following errors. I'm using bazel version 0.5.* for this compilation.

ERROR: Failed to load Skylark extension '@io_bazel_rules_closure//closure:defs.bzl'.
It usually happens when the repository is not defined prior to being used.
Maybe repository 'io_bazel_rules_closure' was defined later in your WORKSPACE file?
ERROR: cycles detected during target parsing.
INFO: Elapsed time: 0.119s

zt-anil avatar Jun 02 '17 17:06 zt-anil

Trying with the old version of bazel (0.3.0) as in instructions giving a different type of errors while executing the bazel build command.

INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=207 INFO: Reading options for 'build' from /etc/bazel.bazelrc: 'build' options: --action_env=PATH --action_env=LD_LIBRARY_PATH --action_env=TMPDIR --test_env=PATH --test_env=LD_LIBRARY_PATH Unrecognized option: --action_env=PATH

And I'm not trying this build on CPU.

zt-anil avatar Jun 16 '17 17:06 zt-anil