Skip to content
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

ERROR: protobuf.bzl #157

Closed
wxs19920926 opened this issue Oct 9, 2019 · 1 comment
Closed

ERROR: protobuf.bzl #157

wxs19920926 opened this issue Oct 9, 2019 · 1 comment

Comments

@wxs19920926
Copy link

ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:79:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:52:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /root/.cache/bazel/_bazel_root/f93a117bf26ccd1d4d6929188e887fc7/external/com_google_protobuf/BUILD:283:2: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:85:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:73:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:107:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:100:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:37:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:280:1: every rule of type java_lite_proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:66:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/BUILD:287:1: every rule of type java_lite_proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/deps/BUILD:25:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/tool/BUILD:47:1: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors
ERROR: /path/to/mediapipe/mediapipe/framework/tool/BUILD:64:1: every rule of type java_lite_proto_library implicitly depends upon the target '@com_google_protobuf_javalite//:javalite_toolchain', but this target could not be found because of: error loading package '@com_google_protobuf_javalite//': Extension file 'protobuf.bzl' has errors

@jiuqiant
Copy link
Contributor

jiuqiant commented Oct 9, 2019

Please let us know your OS, bazel version, Android studio version, and the bazel build command. Otherwise, we can't reproduce the issue.

This can be a protobuf/bazel compatibility issue. Some other google repos also get similar issues:
[1] google/sentencepiece#354
[2] protocolbuffers/protobuf#5547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants