-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zstd detection false positive on MacOS #3827
Comments
Odd, does not cause any issues on my side with this
|
@roele do you know how did you get the |
The debug output for my run did not show usage of |
EDIT: wait sorry, forget that. Yeah I had the impression @roele did but I didn't actually test without |
I could not find much information on the behaviour around dependencies for |
arguably we could just take the logic that uses bsdtar or |
Agreed. GNU tar does not seem to have this limitation. |
Describe the bug
The new version of mise install script tries to decide whether to use
zstd
ortar
based ontar
version and this fails on MacOS withtar
versionbsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8
(using MacOS 15.0.1).To Reproduce
Run
curl https://mise.run/ | sh
on MacOS withoutzstd
and the above mentioned version oftar
.Expected behavior
mise
installedWorkaround:
Run
export MISE_INSTALL_EXT=tar.gz
before installing mise.Note: the code introduced in https://github.com/jdx/mise/pull/3798/files checks for presence of
zstd
usingcommand -v
, doing that before the version check should fix the issue.The text was updated successfully, but these errors were encountered: