mise failed to install "cargo:just" = "1.37.0"
zhiqiangxu opened this issue · 0 comments
zhiqiangxu commented
Describe the bug
When I run mise install --verbose
in the dir with mise.toml, it fails with this error:
I think the root cause is that mise doesn't handle linker
cc not found
.
To Reproduce
git clone https://github.com/ethereum-optimism/optimism
cd optimism
mise trust
mise install --verbose
Expected behavior
All tools are installed successfully.
mise doctor
output
# mise doctor
version: 2024.12.13 linux-x64 (c970664 2024-12-17)
activated: yes
shims_on_path: no
build_info:
Target: x86_64-unknown-linux-gnu
Features: DEFAULT, NATIVE_TLS, OPENSSL
Built: Tue, 17 Dec 2024 22:05:20 +0000
Rust Version: rustc 1.83.0 (90b35a623 2024-11-26)
Profile: release
shell:
/bin/bash
GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 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:
cache: ~/.cache/mise
config: ~/.config/mise
data: ~/.local/share/mise
shims: ~/.local/share/mise/shims
state: ~/.local/state/mise
config_files:
~/xu/local_devnet/optimism/mise.toml
backends:
aqua
asdf
cargo
core
gem
go
npm
pipx
spm
ubi
vfox
plugins:
toolset:
aqua:astral-sh/uv@0.5.5
aqua:direnv/direnv@2.35.0
aqua:jqlang/jq@1.7.1
aqua:koalaman/shellcheck@0.10.0
cargo:just@1.37.0 (missing)
cargo:svm-rs@0.5.8 (missing)
core:go@1.22.7
core:python@3.12.0
core:rust@1.83.0
go:github.com/ethereum/go-ethereum/cmd/abigen@1.10.25
go:github.com/ethereum/go-ethereum/cmd/geth@1.14.7
go:github.com/golangci/golangci-lint/cmd/golangci-lint@1.61.0
go:github.com/mikefarah/yq/v4@4.44.3
go:github.com/protolambda/eth2-testnet-genesis@0.10.0
go:github.com/vektra/mockery/v2@2.46.0
go:gotest.tools/gotestsum@1.12.0
pipx:semgrep@1.90.0
pipx:slither-analyzer@0.10.2
ubi:casey/just@1.37.0
ubi:foundry-rs/foundry[exe=anvil]@nightly-e5dbb7a320c2b871c4a4a1006ad3c15a08fcf17b
ubi:foundry-rs/foundry[exe=cast]@nightly-e5dbb7a320c2b871c4a4a1006ad3c15a08fcf17b
ubi:foundry-rs/foundry[exe=forge]@nightly-e5dbb7a320c2b871c4a4a1006ad3c15a08fcf17b
ubi:mikefarah/yq@4.44.5
path:
~/.local/share/mise/installs/go/1.22.7/bin
~/.cargo/bin
~/.local/share/mise/installs/python/3.12.0/bin
~/.local/share/mise/installs/uv/0.5.5/uv-x86_64-unknown-linux-musl
~/.local/share/mise/installs/jq/1.7.1
~/.local/share/mise/installs/yq/4.44.5/bin
~/.local/share/mise/installs/shellcheck/0.10.0/shellcheck-v0.10.0
~/.local/share/mise/installs/direnv/2.35.0
~/.local/share/mise/installs/just/1.37.0/bin
~/.local/share/mise/installs/go-github-com-ethereum-go-ethereum-cmd-abigen/1.10.25/bin
~/.local/share/mise/installs/go-github-com-ethereum-go-ethereum-cmd-geth/1.14.7/bin
~/.local/share/mise/installs/go-github-com-protolambda-eth2-testnet-genesis/0.10.0/bin
~/.local/share/mise/installs/go-gotest-tools-gotestsum/1.12.0/bin
~/.local/share/mise/installs/go-github-com-vektra-mockery-v2/2.46.0/bin
~/.local/share/mise/installs/go-github-com-golangci-golangci-lint-cmd-golangci-lint/1.61.0/bin
~/.local/share/mise/installs/go-github-com-mikefarah-yq-v4/4.44.3/bin
~/.local/share/mise/installs/pipx-slither-analyzer/0.10.2/bin
~/.local/share/mise/installs/pipx-semgrep/1.90.0/bin
~/.local/share/mise/installs/forge/nightly-e5dbb7a320c2b871c4a4a1006ad3c15a08fcf17b/bin
~/.local/share/mise/installs/cast/nightly-e5dbb7a320c2b871c4a4a1006ad3c15a08fcf17b/bin
~/.local/share/mise/installs/anvil/nightly-e5dbb7a320c2b871c4a4a1006ad3c15a08fcf17b/bin
~/.local/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
env_vars:
MISE_SHELL=bash
settings:
disable_tools ["asterisc", "binary_signer", "kontrol"] ~/xu/local_devnet/optimism/mise.toml
experimental true ~/xu/local_devnet/optimism/mise.toml
pipx.uvx true ~/xu/local_devnet/optimism/mise.toml
1 problem found:
1. shims are missing, run mise reshim to create them
Missing shims: 2to3, 2to3-3.12, abigen, anvil, cargo, cargo-clippy, cargo-fmt, cargo-miri, cast, clippy-driver, direnv, eth2-testnet-genesis, forge, geth, go, gofmt, golangci-lint, gotestsum, idle3, idle3.12, jq, just, mockery, pip, pip3, pip3.12, pydoc3, pydoc3.12, pysemgrep, python, python3, python3-config, python3.12, python3.12-config, rls, rust-analyzer, rust-gdb, rust-gdbgui, rust-lldb, rustc, rustdoc, rustfmt, rustup, semgrep, shellcheck, slither, slither-check-erc, slither-check-kspec, slither-check-upgradeability, slither-doctor, slither-documentation, slither-find-paths, slither-flat, slither-format, slither-interface, slither-mutate, slither-prop, slither-read-storage, slither-simil, uv, uvx, yq
Additional context
N/A