-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
gRPC codegen fails for large file name like io.envoyproxy.controlplane:api on windows #38759
Comments
/cc @alesj (grpc), @cescoffier (grpc) |
I'm not sure we can do anything. Can you try with WSL? |
Yes, it works with WSL. Maybe it is possible to pass some kind of parameter file to protoc as mentioned in protocolbuffers/protobuf#274 ? |
Hum, it worse a try - I fear it's windows specific (meaning I cannot test). |
if it is of any help, i can offer to test on windows |
Awesome, I can confirm that the issue is fixed by your PR, thanks! |
Thanks for the feedback! |
Describe the bug
I stumbled upon this problem while testing envoy control plane api.
gRPC codegen fails with an exception when adding
quarkus.generate-code.grpc.scan-for-proto=io.envoyproxy.controlplane:api
to scan envoy controlplane api for proto files.Probably only an issue on windows, as it builds fine on a WSL Ubuntu VM.
Note that the io.envoyproxy.controlplane:api artifact also contains generated code, so it is possible to use the code from the artifact.
Expected behavior
No exception occurs
Actual behavior
java.io.IOException: CreateProcess error=206, The filename or extension is too long
occursHow to Reproduce?
Reproducer: https://github.com/ls-bit/quarkus-grpc-codegen-issue
Output of
uname -a
orver
Microsoft Windows [Version 10.0.22631.3007]
Output of
java -version
Quarkus version or git rev
Quarkus 3.7.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)Additional information
No response
The text was updated successfully, but these errors were encountered: