bazel-diff icon indicating copy to clipboard operation
bazel-diff copied to clipboard

Dependency resolve errors when building from source

Open Asdprom opened this issue 8 months ago • 0 comments

Hi!

It's more of a question rather than an issue. I'm trying to build this tool from source, but I'm encountering rather strange errors during the process:

ERROR: external/rules_kotlin~1.9.1/kotlin/compiler/BUILD.bazel:25:17: no such target 
'@@rules_kotlin~1.9.1~rules_kotlin_extensions~com_github_google_ksp//:symbol-processing-cmdline.jar': target
'symbol-processing-cmdline.jar' not declared in package '' defined by
external/rules_kotlin~1.9.1~rules_kotlin_extensions~com_github_google_ksp/BUILD.bazel
(Tip: use `query "@@rules_kotlin~1.9.1~rules_kotlin_extensions~com_github_google_ksp//:*"`to see all the targets in that
package) and referenced by '@@rules_kotlin~1.9.1//kotlin/compiler:symbol-processing-cmdline'

Build command:

bazel  build //cli:bazel-diff_deploy.jar  --action_env=JAVA_HOME=...

OS: Windows Bazel: 7.0.2

I understand that the problem is with an external dependency, but basically all I did was run the build command as described in the readme (by the way, the command there seems to be outdated).

Have you perhaps encountered a similar problem?

Asdprom avatar Jun 04 '24 14:06 Asdprom