Closed
Description
What version of protobuf and what language are you using?
Version: 3.19.0
Language: Java/Kotlin
What operating system (Linux, Windows, ...) and version?
Linux (Debian Bookworm)
What runtime / compiler are you using (e.g., python version or gcc version)
Bazel + OpenJDK11 + Clang 11.1.0
What did you do?
- Update http_archive rule named
com_google_protobuf
in my Bazel WORKSPACE to point to protobuf v3.19.0 source archive (https://github.com/protocolbuffers/protobuf/releases/download/v3.19.0/protobuf-all-3.19.0.tar.gz) - Attempt to build target with label
@com_google_protobuf//:protobuf_java
usingbazel build
command.
What did you expect to see
Build completes successfully.
What did you see instead?
Build fails with the following error snippet:
error loading package '@com_google_protobuf//java/core': cannot load '@com_google_protobuf//:protobuf_version.bzl': no such file and referenced by '@com_google_protobuf//:protobuf_java'
I looked inside the source archive for that release and it appears that indeed protobuf_version.bzl
is missing.
Metadata
Metadata
Assignees
Labels
No labels