You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to build target with label @com_google_protobuf//:protobuf_java using bazel 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.
The text was updated successfully, but these errors were encountered:
acozzette
added a commit
to acozzette/protobuf
that referenced
this issue
Oct 20, 2021
This change adds some files to EXTRA_DIST in Makefile.am so that our
published tar and zip files will have everything needed for Bazel
builds. I also added a basic test for this so that next time we should
find out sooner if we're missing any important files.
This should fixprotocolbuffers#9129.
This change adds some files to EXTRA_DIST in Makefile.am so that our
published tar and zip files will have everything needed for Bazel
builds. I also added a basic test for this so that next time we should
find out sooner if we're missing any important files.
This should fixprotocolbuffers#9129.
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?
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)@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:
I looked inside the source archive for that release and it appears that indeed
protobuf_version.bzl
is missing.The text was updated successfully, but these errors were encountered: