Tinder / bazel-diff

Performs Bazel Target Diffing between two revisions in Git, allowing for Test Target Selection and Selective Building
Other
405 stars 60 forks source link

Dependency resolve errors when building from source #217

Open Asdprom opened 5 months ago

Asdprom commented 5 months ago

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?