com.google.devtools.build.lib.analysis.config.InvalidConfigurationException: cc_toolchain_suite '@bazel_tools//tools/cpp:toolchain' does not contain a toolchain for CPU 'x64_windows' and compiler 'windows_msys64'

GitHub | laszlocsomor | 3 months ago
  1. 0

    Windows, tests: missing toolchain while testing //src/test/j/c/g/devtools/build/lib:*

    GitHub | 3 months ago | laszlocsomor
    com.google.devtools.build.lib.analysis.config.InvalidConfigurationException: cc_toolchain_suite '@bazel_tools//tools/cpp:toolchain' does not contain a toolchain for CPU 'x64_windows' and compiler 'windows_msys64'

    Root Cause Analysis

    1. com.google.devtools.build.lib.analysis.config.InvalidConfigurationException

      cc_toolchain_suite '@bazel_tools//tools/cpp:toolchain' does not contain a toolchain for CPU 'x64_windows' and compiler 'windows_msys64'

      at com.google.devtools.build.lib.rules.cpp.CppConfigurationLoader.createParameters()
    2. com.google.devtools
      AbstractQueueVisitor$WrappedRunnable.run
      1. com.google.devtools.build.lib.rules.cpp.CppConfigurationLoader.createParameters(CppConfigurationLoader.java:186)
      2. com.google.devtools.build.lib.rules.cpp.CppConfigurationLoader.create(CppConfigurationLoader.java:72)
      3. com.google.devtools.build.lib.rules.cpp.CppConfigurationLoader.create(CppConfigurationLoader.java:47)
      4. com.google.devtools.build.lib.skyframe.ConfigurationFragmentFunction.compute(ConfigurationFragmentFunction.java:77)
      5. com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:387)
      6. com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:496)
      6 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames