You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title suggests, I was unable to easily get this setup on Rocky 8.6. I did the clone, and yarn install and that worked, but trying to get the server up fails almost immediately with the following:
INFO: Call stack for the definition of repository 'llvm_toolchain' which is a llvm_toolchain (rule definition at /root/.cache/bazel/_bazel_root/116cb4b37cb5ae33998452196fe24c90/external/com_grail_bazel_toolchain/toolchain/rules.bzl:24:18):
- /root/git/schedviz/WORKSPACE:66:1
ERROR: An error occurred during the fetch of repository 'llvm_toolchain':
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/116cb4b37cb5ae33998452196fe24c90/external/com_grail_bazel_toolchain/toolchain/internal/configure.bzl", line 101
_download_llvm_preconfigured(rctx)
File "/root/.cache/bazel/_bazel_root/116cb4b37cb5ae33998452196fe24c90/external/com_grail_bazel_toolchain/toolchain/internal/llvm_distributions.bzl", line 120, in _download_llvm_preconfigured
fail(("Failed to detect host OS versi...)))
Failed to detect host OS version:
Unsupported linux distribution and version: rocky, 8.6
ERROR: no such package '@llvm_toolchain//': Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/116cb4b37cb5ae33998452196fe24c90/external/com_grail_bazel_toolchain/toolchain/internal/configure.bzl", line 101
_download_llvm_preconfigured(rctx)
File "/root/.cache/bazel/_bazel_root/116cb4b37cb5ae33998452196fe24c90/external/com_grail_bazel_toolchain/toolchain/internal/llvm_distributions.bzl", line 120, in _download_llvm_preconfigured
fail(("Failed to detect host OS versi...)))
Failed to detect host OS version:
Unsupported linux distribution and version: rocky, 8.6
ERROR: no such package '@llvm_toolchain//': Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/116cb4b37cb5ae33998452196fe24c90/external/com_grail_bazel_toolchain/toolchain/internal/configure.bzl", line 101
_download_llvm_preconfigured(rctx)
File "/root/.cache/bazel/_bazel_root/116cb4b37cb5ae33998452196fe24c90/external/com_grail_bazel_toolchain/toolchain/internal/llvm_distributions.bzl", line 120, in _download_llvm_preconfigured
fail(("Failed to detect host OS versi...)))
Failed to detect host OS version:
Unsupported linux distribution and version: rocky, 8.6
The text was updated successfully, but these errors were encountered:
Yep that helped, configured it like this and it went ahead.
Looking forward though, is there any dependency chain or something we need to "bump" to have that work automagically? Or perhaps document the supported OS versions, etc?
llvm_toolchain(
name = "llvm_toolchain",
llvm_version = "9.0.0",
distribution = "clang+llvm-9.0.0-x86_64-pc-linux-gnu.tar.xz",
)
As the title suggests, I was unable to easily get this setup on Rocky 8.6. I did the clone, and yarn install and that worked, but trying to get the server up fails almost immediately with the following:
The text was updated successfully, but these errors were encountered: