Open davireis opened 1 year ago
FWIW, I downloaded the newest kt_jvm_grpc.bzl (wget https://raw.githubusercontent.com/grpc/grpc-kotlin/5a7bbdb87054cb39bfc11334b571fe9b6ba938f0/kt_jvm_grpc.bzl
), imported it directly and it worked!
So this should be fixed with the next release.
The call to zipper in https://github.com/grpc/grpc-kotlin/blob/5a7bbdb87054cb39bfc11334b571fe9b6ba938f0/kt_jvm_grpc.bzl#L28 is not correctly quoted. You can see the error below.
If the same command is called as
bash.exe -c "zipper.exe arg1 arg2"
instead ofbash.exe -c zipper.exe arg1 arg2
(notice the lack of quotes) everything works. Not sure if the bug should be attributed to bazel ctx.actions.run itself, or if it should be worked around here by maybe feeding the args together with the command in a single string.