Skip to content

no matching toolchains found for types @io_bazel_rules_scala//scala_proto:toolchain_type #768

Closed
@luser

Description

@luser

I'm having an issue using scalapb_proto_library. I've built a simple reduced testcase project here: https://github.com/luser/bazel-scala-proto-test

I'm using bazel 0.26.1:

└─ $ ▶ bazel version
Build label: 0.26.1
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Jun 6 11:08:11 2019 (1559819291)
Build timestamp: 1559819291

The error is:

└─ $ ▶ bazel build :scala-proto-test
DEBUG: Rule 'io_bazel_rules_scala' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "8fe6f562da6469d5e67032ce3a9aa19a4cd312e8b284060e531c369067b3ceaa"
ERROR: Analysis of target '//:scala-proto-test' failed; build aborted: no matching toolchains found for types @io_bazel_rules_scala//scala_proto:toolchain_type
INFO: Elapsed time: 0.121s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

I am very new to Bazel and I'm also not incredibly up-to-speed on Scala so it's possible I'm just doing something wrong, but I'd appreciate any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions