-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
This project no longer compiles. Even after updating external dependencies (see below), I get:
bazel build //java/org/pubref/grpc/greetertimer:server
DEBUG: /root/.cache/bazel/_bazel_root/eeb30f0e8045e9e95b7e75a54263b5ea/external/org_pubref_rules_protobuf/protobuf/internal/proto_compile.bzl:470:5:
************************************************************
cd $(bazel info execution_root) && bazel-out/host/bin/external/com_google_protobuf/protoc \
--descriptor_set_out=bazel-out/k8-fastbuild/genfiles/java/org/pubref/grpc/greetertimer/timer_protos.pb.descriptor_set \
--java_out=bazel-out/k8-fastbuild/genfiles/java/org/pubref/grpc/greetertimer/timer_protos.pb_java.jar \
--plugin=protoc-gen-grpc-java=bazel-out/host/genfiles/external/org_pubref_rules_protobuf/java/protoc_gen_grpc_java \
--grpc-java_out=bazel-out/k8-fastbuild/genfiles/java/org/pubref/grpc/greetertimer/timer_protos.pb_java.jar \
--proto_path=. \
proto/greetertimer.proto
************************************************************
java/org/pubref/grpc/greetertimer/timer_protos.pb_java.jar
java/org/pubref/grpc/greetertimer/timer_protos.pb.descriptor_set
************************************************************
ERROR: /grpc_greetertimer/java/org/pubref/grpc/greetertimer/BUILD:5:1: error loading package '@org_pubref_rules_protobuf//examples/helloworld/proto': Extension file not found. Unable to load package for '@org_pubref_rules_node//node:rules.bzl': The repository could not be resolved and referenced by '//java/org/pubref/grpc/greetertimer:server'
ERROR: Analysis of target '//java/org/pubref/grpc/greetertimer:server' failed; build aborted: Loading failed
Here is WORKSPACE:
workspace(name = "org_pubref_grpc_greetertimer")
# This is necessary as the java proto target pulls in rules_protobuf
# example/helloworld/proto:BUILD file that has a reference to
# csharp_proto_library. csharp target aren't actually used in this
# repo directly.
#git_repository(
# name = "io_bazel_rules_dotnet",
# commit = "f8950cbf9456df79920514325c17139355d13671",
# remote = "https://github.com/bazelbuild/rules_dotnet.git",
#)
#
#load("@io_bazel_rules_dotnet//dotnet:csharp.bzl", "csharp_repositories")
#
#csharp_repositories(use_local_mono = True)
#
#git_repository(
# name = "org_pubref_rules_node",
# commit = "d93a80ac4920c52da8adccbca66a3118a27018fd", # Oct 2, 2016
# remote = "https://github.com/pubref/rules_node.git",
#)
#
#load("@org_pubref_rules_node//node:rules.bzl", "node_repositories")
#
#node_repositories()
# ================================================================
#http_archive(
# name = "io_bazel_rules_closure",
# sha256 = "59498e75805ad8767625729b433b9409f80d0ab985068d513f880fc1928eb39f",
# strip_prefix = "rules_closure-0.3.0",
# url = "http://bazel-mirror.storage.googleapis.com/github.com/bazelbuild/rules_closure/archive/0.3.0.tar.gz",
#)
#
#load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
#
#closure_repositories()
# ================================================================
http_archive(
name = "io_bazel_rules_go",
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.12.0/rules_go-0.12.0.tar.gz"],
sha256 = "c1f52b8789218bb1542ed362c4f7de7052abcf254d865d96fb7ba6d44bc15ee3",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
# ================================================================
git_repository(
name = "org_pubref_rules_protobuf",
tag = "v0.8.2",
remote = "https://github.com/pubref/rules_protobuf.git",
)
load("@org_pubref_rules_protobuf//go:rules.bzl", "go_proto_repositories")
go_proto_repositories()
load("@org_pubref_rules_protobuf//java:rules.bzl", "java_proto_repositories")
java_proto_repositories()
Metadata
Metadata
Assignees
Labels
No labels