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

Maven central does not have protoc prebuilts #13070

Closed
yujincheng08 opened this issue Jun 15, 2023 · 10 comments
Closed

Maven central does not have protoc prebuilts #13070

yujincheng08 opened this issue Jun 15, 2023 · 10 comments
Assignees

Comments

@yujincheng08
Copy link

yujincheng08 commented Jun 15, 2023

What version of protobuf and what language are you using?
3.23.3 for Java

What operating system (Linux, Windows, ...) and version?
Linux

What runtime / compiler are you using (e.g., python version or gcc version)
Java 17

What did you do?
Steps to reproduce the behavior:

  1. Go to https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.3/
  2. Scroll down and notice there's no protoc-3.23.3-linux-x86_64.exe or so.

What did you expect to see
There's protoc prebuilts like previous version, e.g. https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.2/

What did you see instead?

No protoc prebuilts

Anything else we should know about your project / environment
I use gradle protoc plugin and here you are the error message:

Execution failed for task ':app:generateDebugProto'.
> Could not resolve all files for configuration ':app:protobufToolsLocator_protoc'.
   > Could not find protoc-3.23.3-linux-x86_64.exe (com.google.protobuf:protoc:3.23.3).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.3/protoc-3.23.3-linux-x86_64.exe
@deannagarcia
Copy link
Member

Thanks for the report and sorry for the inconvenience, I have just pressed the release button for the protoc binaries (sometimes this can take a day or so to roll out)

@yujincheng08
Copy link
Author

AFAIK, no one can modify a released version from maven central. So the only thing we can do is to wait for the next release.

@lfarkas
Copy link

lfarkas commented Jun 19, 2023

this is still not propagated....

@yu-shiba
Copy link

@deannagarcia There seems to be a time lag in the release of protoc binaries each time, where is the problem?
If the problem is with the CDN, we have to wait, but if it is in the release cycle, can we hold off on releasing them to the maven repository until we have the full set of deliverables?

@albertoalegria
Copy link

Any other solutions besides downgrading?

@Kurru
Copy link

Kurru commented Jul 3, 2023

Any update?

@ingoschaal
Copy link

Hi,
we have the same problem for a build pipeline we download the files but with this version it does not work,
can you upload this to maven central? This version or a new release?
thank you for the support

https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.3/protoc-3.23.3-windows-x86_64.exe
https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.3/protoc-3.23.3-linux-x86_64.exe

Could not find protoc-3.23.3-linux-x86_64.exe (com.google.protobuf:protoc:3.23.3).
Searched in the following locations:
https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.3/protoc-3.23.3-linux-x86_64.exe

@elliott-miller
Copy link

We are also unable to upgrade due to this. In our case, we are using the maven plugin: https://www.xolstice.org/protobuf-maven-plugin/

@zhangskz zhangskz self-assigned this Jul 5, 2023
@zhangskz
Copy link
Member

zhangskz commented Jul 5, 2023

We attempted to reupload the protoc prebuilts, but per https://central.sonatype.org/faq/can-i-change-a-component/, unfortunately it looks like we can't update 23.3 with the missing artifacts after the fact.

We are planning to release 23.4 soon (tentatively next week, pending some additional fixes). We recommended waiting to upgrade to the next patch, or downgrading in the meantime. Apologies for the inconvenience!

@zhangskz
Copy link
Member

zhangskz commented Jul 7, 2023

23.4 was released yesterday and should have the proper protoc prebuilts! https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.4/

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

9 participants