-
Notifications
You must be signed in to change notification settings - Fork 648
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 build //kcws/cc:seg_backend_api 编译报错 #109
Comments
目测是bazel版本问题,你的bazel版本多少? |
bazel [是0.11的版本,换了0.4.5版本,跑了下,还是有些问题: |
清掉所有缓存可以了 |
还有个问题,我这运行的分词结果,跟demo不一样 |
demo给出的效果训练语料很多,不止说明里的,有一些别人没授权的语料 |
bazel 版本换成0.7.0的版本可以 |
ERROR: /root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD:434:1: Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD", line 434
cc_proto_library(name = "cc_test_protos", srcs = (L...), <4 more arguments>)
File "/root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/protobuf.bzl", line 247, in cc_proto_library
cc_libs += [default_runtime]
trying to mutate a frozen object
ERROR: /root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD:728:1: Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD", line 728
py_proto_library(name = "python_specific_test_pro...", <6 more arguments>)
File "/root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/protobuf.bzl", line 373, in py_proto_library
py_libs += [default_runtime]
trying to mutate a frozen object
ERROR: /root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD:113:1: Target '@protobuf//:ios_arm64' contains an error and its package is in error and referenced by '@protobuf//:protobuf'
ERROR: /root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD:113:1: Target '@protobuf//:ios_armv7' contains an error and its package is in error and referenced by '@protobuf//:protobuf'
ERROR: /root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD:113:1: Target '@protobuf//:ios_armv7s' contains an error and its package is in error and referenced by '@protobuf//:protobuf'
ERROR: /root/.cache/bazel/_bazel_root/c57281e52862ca1f4c15bbb22593b787/external/protobuf/BUILD:113:1: Target '@protobuf//:android' contains an error and its package is in error and referenced by '@protobuf//:protobuf'
ERROR: /usr/local/projects/kcws/kcws/cc/BUILD:3:1: Target '@protobuf//:protobuf' contains an error and its package is in error and referenced by '//kcws/cc:tf_seg_model'
ERROR: Analysis of target '//kcws/cc:seg_backend_api' failed; build aborted: Loading failed
INFO: Elapsed time: 2.413s
FAILED: Build did NOT complete successfully (0 packages loaded)
The text was updated successfully, but these errors were encountered: