bazelbuild / bazelbuild/stardoc

Missing toolchain

Open
#296 2 comments 0 reactions 0 assignees View on GitHub
awaiting-user-response
Dominant language
Java
Stars
118
Forks
51
PR merge metrics
No merged PRs in 30d

Description

I find myself building a project set up to use stardoc but there is a misconfiguration that somehow the project authors have sidestepped. I'm not well versed in bazel so I'm not sure how to diagnose this issue:
```
ERROR: /home/username/.cache/bazel/_bazel_username/c9daaaa8d3a3a2e4f1025c9bb821117a/external/stardoc~/src/main/java/com/google/devtools/build/stardoc/renderer/BUILD:11:12:
While resolving toolchains for target @@stardoc~//src/main/java/com/google/devtools/build/stardoc/renderer:renderer (6249d0c): No matching toolchains found for types @@bazel_tools//tools/jdk:runtime_toolchain_type.
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure and inspect external/stardoc~/src/main/java/com/google/devtools/build/stardoc/renderer/BUILD at line 11, where the renderer target is reported. Start by tracing the missing bazel_tools runtime_toolchain_type configuration; done means the renderer target resolves a matching toolchain and the project builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.