R lang dir not handled properly
Opened this issue · 2 comments
uvlad7 commented
Describe the bug
$ mise install usage
mise usage@1.3.2 ✓ installed mise ERROR failed to ln -sf ./4.3.2 /home/vladimir/.local/share/mise/installs/r/latest
mise ERROR No such file or directory (os error 2)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
vladimir@np940x5n:~$ ls /home/vladimir/.local/share/mise/installs/R
4 4.3 4.3.2 latest
To Reproduce
I don't know what mise did after usage
installation
Expected behavior
It appears that R
dir name got downcased somewhere, so expected behavior is to work with upcase name properly or use all-downcase names
mise doctor
output
version: 2024.11.16 linux-x64 (2024-11-18)
activated: yes
shims_on_path: no
build_info:
Target: x86_64-unknown-linux-gnu
Features: DEFAULT, NATIVE_TLS
Built: Mon, 18 Nov 2024 12:17:25 +0000
Rust Version: rustc 1.82.0 (f6e511eec 2024-10-15) (Homebrew)
Profile: release
shell:
/bin/bash
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
dirs:
data: ~/.local/share/mise
config: ~/.config/mise
cache: ~/.cache/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:
clojure https://github.com/asdf-community/asdf-clojure.git#490074c
crystal https://github.com/asdf-community/asdf-crystal.git#6b5c52a
dart https://github.com/PatOConnor43/asdf-dart.git#c8a1e17
dotnet https://github.com/hensou/asdf-dotnet#ebe399c
elixir https://github.com/asdf-vm/asdf-elixir.git#a4c42e1
flutter https://github.com/oae/asdf-flutter.git#5151ecb
groovy https://github.com/weibemoura/asdf-groovy.git#e33491d
haskell https://github.com/asdf-community/asdf-haskell.git#b614362
julia https://github.com/rkyleg/asdf-julia.git#1788f0f
kotlin https://github.com/asdf-community/asdf-kotlin.git#6371efd
lua https://github.com/Stratus3D/asdf-lua.git#36fae6e
nim https://github.com/asdf-community/asdf-nim.git#397c14a
php https://github.com/asdf-community/asdf-php.git#1eaf4de
pipenv https://github.com/and-semakin/asdf-pipenv.git#06a3181
poetry https://github.com/asdf-community/asdf-poetry.git#2f04828
rust https://github.com/asdf-community/asdf-rust.git#8436012
scala https://github.com/asdf-community/asdf-scala.git#6de4edb
usage https://github.com/jdx/mise-usage.git#fe3888a
zig https://github.com/cheetah/asdf-zig.git#2133fc0
toolset:
core:ruby@3.0.2
core:python@3.10.12
core:python@2.7.18
asdf:code-lever/asdf-rust@1.72.1
core:node@12.22.9
core:java@17.0.2
asdf:PatOConnor43/asdf-dart@3.2.4
asdf:oae/asdf-flutter@3.16.9-stable
asdf:asdf-community/asdf-php@8.3.1RC3
asdf:asdf-community/asdf-nim@2.0.2
ubi:jdx/usage@0.3.0
core:go@1.20.4
env_vars:
MISE_SHELL=bash
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
1 warning found:
1. plugin zig overrides a core plugin
2 problems found:
1. plugin r is not installed
2. plugin swift is not installed
uvlad7 commented
vladimir@np940x5n:~$ RUST_BACKTRACE=1 MISE_VERBOSE=1 mise install usage
DEBUG ARGS: mise install usage
DEBUG config: ~/.config/mise/config.toml
DEBUG install_versions: usage@latest
Error:
0: failed to ln -sf ./4.3.2 /home/vladimir/.local/share/mise/installs/r/latest
1: No such file or directory (os error 2)
Location:
src/file.rs:306
Version:
2024.11.16 linux-x64 (2024-11-18)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 3 frames hidden ⋮
4: mise::file::make_symlink::he47824cfce5d3fee
at <unknown source file>:<unknown line>
5: mise::file::make_symlink_or_file::hd9eea758dea15cf9
at <unknown source file>:<unknown line>
6: mise::runtime_symlinks::rebuild::h554f08191292d72d
at <unknown source file>:<unknown line>
7: mise::toolset::Toolset::install_versions::hef8f68533e2f573a
at <unknown source file>:<unknown line>
8: mise::cli::install::Install::run::hd6bb939fc6bc3fad
at <unknown source file>:<unknown line>
9: mise::cli::Commands::run::h52e78600de15d58c
at <unknown source file>:<unknown line>
10: mise::cli::Cli::run::h6429486315c2bfbe
at <unknown source file>:<unknown line>
11: mise::main::h42a2f584ebae7687
at <unknown source file>:<unknown line>
12: std::sys::backtrace::__rust_begin_short_backtrace::h0206c98974de0c4b
at <unknown source file>:<unknown line>
13: std::rt::lang_start::{{closure}}::he62db9f4a704264f
at <unknown source file>:<unknown line>
14: std::rt::lang_start_internal::h9de9847efa651401
at <unknown source file>:<unknown line>
15: main<unknown>
at <unknown source file>:<unknown line>
16: __libc_start_call_main<unknown>
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58
17: __libc_start_main_impl<unknown>
at ./csu/../csu/libc-start.c:392
18: _start<unknown>
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
vladimir@np940x5n:~$ mise ls
Tool Version Config Source Requested
clojure 1.11.1.1435
crystal 1.8.2
crystal 1.11.2
dart 3.2.4 ~/.config/mise/config.toml 3.2.4
dotnet 8.0.100
elixir 1.15.7
flutter 3.16.9-stable ~/.config/mise/config.toml 3.16.9-stable
go 1.20.4 ~/.config/mise/config.toml 1.20.4
groovy 4.0.17
haskell 9.8.1
java liberica-jre-javafx-21.0.1+12
java microsoft-21.0.1
java openjdk-11
java openjdk-21.0.1
java 17.0.2 ~/.config/mise/config.toml 17.0.2
java 21.0.1
julia 1.9.3
julia 1.10.4
kotlin 1.9.22
lua 5.4.6
nim 2.0.2 ~/.config/mise/config.toml 2.0.2
node 12.14.1
node 12.22.9 ~/.config/mise/config.toml 12.22.9
node 14.17.6
node 16.13.1
node 20.2.0
php 8.3.1RC3 ~/.config/mise/config.toml 8.3.1RC3
php 8.3.3RC1
pipenv 2023.10.3
poetry 1.5.1
poetry 1.6.1
python jython-2.7.2 (symlink)
python 2.7.18 (symlink) ~/.config/mise/config.toml 2.7.18
python 3.6.15 (symlink)
python 3.9.10 (symlink)
python 3.10.12 (symlink) ~/.config/mise/config.toml 3.10.12
python 3.10.13 (symlink)
python 3.11.4 (symlink)
python 3.11.5 (symlink)
python 3.11.6 (symlink)
python 3.11.7 (symlink)
python 3.11.8 (symlink)
python 3.12.2 (symlink)
ruby 2,6
ruby jriby
ruby jruby-9.4.3.0 (symlink)
ruby 2.3.8 (symlink)
ruby 2.6.3 (symlink)
ruby 2.6.10 (symlink)
ruby 2.7.8 (symlink)
ruby 3.0.2 (symlink) ~/.config/mise/config.toml 3.0.2
ruby 3.0.6 (symlink)
ruby 3.2.2 (symlink)
ruby 3.3.0
rust nightly
rust rustup (symlink)
rust 1.72.1 ~/.config/mise/config.toml 1.72.1
rust 1.73.0 (symlink)
rust 1.77.1
scala 3.3.1
swift latest
usage 0.3.0 (outdated) ~/.config/mise/config.toml latest
usage 1.3.2
zig 0.10.1
zig 0.11.0
zig 0.13.0
uvlad7 commented
mkdir -p /home/vladimir/.local/share/mise/installs/r
helped and it was auto-deleted after