Error installing clang in windows #3545
Replies: 3 comments
-
Same error, different language: 🍎 ❯ mise install --verbose ruby
DEBUG ARGS: /opt/homebrew/bin/mise install --verbose ruby
DEBUG config: ~/.config/mise/config.toml
DEBUG install_versions: ruby@latest
INFO [email protected] installing
DEBUG [vfox:ruby] pre_install
DEBUG Getting metadata for ruby
DEBUG starting new connection: https://github.com/
Error:
0: failed to install core:[email protected]
1: runtime error: attempt to yield across metamethod/C-call boundary
stack traceback:
[C]: in ?
[C]: in function 'yield'
[string "?"]:16: in function 'get'
...rs/cyber/.local/share/mise/plugins/ruby/lib/util.lua:8: in function 'fetchManifest'
...rs/cyber/.local/share/mise/plugins/ruby/lib/util.lua:23: in main chunk
[C]: in function 'require'
...r/.local/share/mise/plugins/ruby/hooks/available.lua:1: in main chunk
Location:
src/backend/vfox.rs:68
Version:
2024.11.18 macos-arm64 (2024-11-19)
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets. mise doctor output: 🍎 ❯ mise doctor
version: 2024.11.18 macos-arm64 (2024-11-19)
activated: yes
shims_on_path: no
build_info:
Target: aarch64-apple-darwin
Features: DEFAULT, NATIVE_TLS
Built: Tue, 19 Nov 2024 22:00:56 +0000
Rust Version: rustc 1.82.0 (f6e511eec 2024-10-15) (Homebrew)
Profile: release
shell:
/bin/zsh
zsh 5.9 (arm64-apple-darwin24.0)
dirs:
data: ~/.local/share/mise
config: ~/.config/mise
cache: ~/Library/Caches/mise
state: ~/.local/state/mise
shims: ~/.local/share/mise/shims
config_files:
~/.config/mise/config.toml
backends:
aqua
asdf
cargo
core
go
npm
pipx
spm
ubi
vfox
unknown
plugins:
cabal https://github.com/sestrella/asdf-ghcup.git#a6407a2
crystal https://github.com/asdf-community/asdf-crystal.git#7af37cf
elixir https://github.com/mise-plugins/mise-elixir.git#7b06439
elixir-ls https://github.com/juantascon/asdf-elixir-ls#faf921f
ghc https://github.com/sestrella/asdf-ghcup.git#a6407a2
golangci-lint https://github.com/hypnoglow/asdf-golangci-lint.git#fee877b
hls https://github.com/sestrella/asdf-ghcup.git#a6407a2
lua https://github.com/Stratus3D/asdf-lua.git#e0c15ea
stack https://github.com/sestrella/asdf-ghcup.git#a6407a2
usage https://github.com/jdx/mise-usage.git#fe3888a
toolset:
core:[email protected]
asdf:sestrella/[email protected]
asdf:Stratus3D/[email protected]
asdf:Stratus3D/[email protected]
asdf:sestrella/[email protected]
asdf:sestrella/[email protected]
aqua:commercialhaskell/[email protected]
ubi:golangci/[email protected]
core:[email protected]
asdf:mise-plugins/[email protected]
core:[email protected]
core:[email protected] (missing)
ubi:jdx/[email protected]
env_vars:
MISE_SHELL=zsh
settings:
activate_aggressive = false
all_compile = false
always_keep_download = false
always_keep_install = false
asdf_compat = false
cache_prune_age = "30d"
ci = false
color = true
debug = false
disable_backends = []
disable_default_registry = false
disable_hints = []
disable_tools = []
experimental = true
fetch_remote_versions_cache = "1h"
fetch_remote_versions_timeout = "10s"
go_default_packages_file = "~/.default-go-packages"
go_download_mirror = "https://dl.google.com/go"
go_repo = "https://github.com/golang/go"
go_set_gopath = false
go_set_goroot = true
go_skip_checksum = false
http_timeout = "30s"
jobs = 4
legacy_version_file = true
legacy_version_file_disable_tools = []
libgit2 = true
lockfile = false
log_level = "info"
not_found_auto_install = true
paranoid = false
pin = false
plugin_autoupdate_last_check_duration = "7d"
quiet = false
raw = false
task_timings = false
trace = false
trusted_config_paths = []
unix_default_file_shell_args = ["sh"]
unix_default_inline_shell_args = [
"sh",
"-c",
]
use_file_shell_for_executable_tasks = false
use_versions_host = true
verbose = false
windows_default_file_shell_args = [
"cmd",
"/c",
]
windows_default_inline_shell_args = [
"cmd",
"/c",
]
windows_executable_extensions = [
"exe",
"bat",
"cmd",
"com",
"ps1",
"vbs",
]
yes = false
[cargo]
binstall = true
[node]
[npm]
bun = false
[pipx]
uvx = false
[python]
default_packages_file = "~/.default-python-packages"
pyenv_repo = "https://github.com/pyenv/pyenv.git"
venv_auto_create = false
venv_stdlib = false
[ruby]
default_packages_file = "~/.default-gems"
ruby_build_repo = "https://github.com/rbenv/ruby-build.git"
ruby_install = false
ruby_install_repo = "https://github.com/postmodern/ruby-install.git"
[status]
missing_tools = "if_other_versions_installed"
show_env = false
show_tools = false
2 warnings found:
1. plugin node overrides a core plugin
2. plugin ruby overrides a core plugin
No problems found |
Beta Was this translation helpful? Give feedback.
-
Happening with Node, Ruby, and Python, at least. Mise is now auto-installing the vfox plugin for each core plugin. Disable vfox as a workaround: mise settings set vfox false This was working as recently as v2024.11.4. Note that downgrading to earlier releases won't fix it unless you also remove the vfox plugin, e.g. |
Beta Was this translation helpful? Give feedback.
-
the other posters here are talking about an unrelated bug that has been fixed. I'm going to ignore that and focus on the clang thing. So the clang plugin does this thing where it makes an async call at the top level of the lua code. I can't get that to work in rust at all but it's easy to modify the plugin to not do that—which I did here: jdx/vfox-clang@8bc8c84 However I still can't get this to work despite that. It solves this specific issue but I then ran into others. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
To Reproduce
mise use -g clang
Expected behavior
clang be installed
mise doctor
outputAdditional context
Beta Was this translation helpful? Give feedback.
All reactions