Hi,

I have a Bazel module that depends on protobuf and which used to build 
successfully both locally and on Google Cloud Build.

Today, Cloud Build started failing with the following error:

INFO: Repository rules_jvm_external++maven+protobuf_maven instantiated at:
<builtin>: in <toplevel>
Repository rule coursier_fetch defined at:
/builder/home/.cache/bazel/_bazel_ubuntu/eab0d61a99b6696edb3d2aff87b585e8/external/rules_jvm_external+/private/rules/coursier.bzl:1447:33:
 
in <toplevel>
ERROR: 
/builder/home/.cache/bazel/_bazel_ubuntu/eab0d61a99b6696edb3d2aff87b585e8/external/rules_jvm_external+/private/rules/coursier.bzl:937:13:
 
An error occurred during the fetch of repository 
'rules_jvm_external++maven+protobuf_maven':
Traceback (most recent call last):
File 
"/builder/home/.cache/bazel/_bazel_ubuntu/eab0d61a99b6696edb3d2aff87b585e8/external/rules_jvm_external+/private/rules/coursier.bzl",
 
line 1051, column 38, in _coursier_fetch_impl
dep_tree = make_coursier_dep_tree(
File 
"/builder/home/.cache/bazel/_bazel_ubuntu/eab0d61a99b6696edb3d2aff87b585e8/external/rules_jvm_external+/private/rules/coursier.bzl",
 
line 937, column 13, in make_coursier_dep_tree
fail("Error while fetching artifact with coursier: " + exec_result.stderr)
Error in fail: Error while fetching artifact with coursier: Error: Could 
not find or load main class 
@.builder.home..cache.bazel._bazel_ubuntu.eab0d61a99b6696edb3d2aff87b585e8.external.rules_jvm_external++maven+protobuf_maven.java_argsfile
ERROR: no such package '@@rules_jvm_external++maven+protobuf_maven//': 
Error while fetching artifact with coursier: Error: Could not find or load 
main class 
@.builder.home..cache.bazel._bazel_ubuntu.eab0d61a99b6696edb3d2aff87b585e8.external.rules_jvm_external++maven+protobuf_maven.java_argsfile
ERROR: 
/builder/home/.cache/bazel/_bazel_ubuntu/eab0d61a99b6696edb3d2aff87b585e8/external/protobuf+/java/util/BUILD.bazel:8:13:
 
@@protobuf+//java/util:util depends on 
@@rules_jvm_external++maven+protobuf_maven//:com_google_j2objc_j2objc_annotations
 
in repository @@rules_jvm_external++maven+protobuf_maven which failed to 
fetch. no such package '@@rules_jvm_external++maven+protobuf_maven//': 
Error while fetching artifact with coursier: Error: Could not find or load 
main class 
@.builder.home..cache.bazel._bazel_ubuntu.eab0d61a99b6696edb3d2aff87b585e8.external.rules_jvm_external++maven+protobuf_maven.java_argsfile

I'm still able to build this module locally.
I've tried to debug this error but I'm stuck. Any idea what might be 
causing this or how to fix it?

Lothaire

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/protobuf/c30bf95b-045d-474f-a152-20a9dea9e656n%40googlegroups.com.

Reply via email to