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
First of all I think we should check the exec_result at this line since it's quite common that mv would fail.
result = repository_ctx.execute(args, quiet = False)
if result.return_code != 0:
fail("Failed to move jar: %s" % result.stderr)
Now if I run bazel build //kotlin/compiler:symbol-processing-api, the error I got after adding the lines above:
Error in fail: Failed to move jar: java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("mv" com/google/devtools/ksp/symbol-processing/1.9.23-1.0.20/symbol-processing-1.9.23-1.0.20.jar symbol-processing.jar): The system cannot find the file specified.
The issue not reproducible on MacOS or on Linux.
The text was updated successfully, but these errors were encountered:
@restingbull I still receive the following error with rules_kotlin version 1.9.6: ERROR: D:/bazel_tmp/33apilyc/external/rules_kotlin/kotlin/compiler/BUILD.bazel:23:17: no such target '@com_github_google_ksp//:symbol-processing-cmdline.jar': target 'symbol-processing-cmdline.jar' not declared in package '' defined by D:/bazel_tmp/33apilyc/external/com_github_google_ksp/BUILD.bazel (Tip: use query "@com_github_google_ksp//:*" to see all the targets in that package) and referenced by '@rules_kotlin//kotlin/compiler:symbol-processing-cmdline'
Is there something that needs to be done to get this issue resolved?
I am using windows 10 22H2
First of all I think we should check the
exec_result
at this line since it's quite common thatmv
would fail.Now if I run
bazel build //kotlin/compiler:symbol-processing-api
, the error I got after adding the lines above:The issue not reproducible on MacOS or on Linux.
The text was updated successfully, but these errors were encountered: