jdx/mise · error

remote host ' ' provides , but local mise requires ; set…

Error message

remote host '{}' provides {remote_libc:?} {available}, but local mise requires {remote_libc:?} {required}; set mise_bin, remote_mise, or bootstrap_command

What it means

Remote libc check succeeded in identifying both sides but versions differ incompatibly: the remote provides an older glibc/musl than the local mise binary's loader requires, so local mise would fail to start on the remote host and mise aborts with both versions in the message.

Solutions

  1. Point mise_bin at a binary built for the remote's older libc
  2. Use remote_mise to install a matching mise on the remote
  3. Use bootstrap_command to upgrade the remote libc or install prerequisites
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at src/system/remote.rs:1805 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17). Data as JSON: /api/errors/e3a2891684a83bf3. Report an issue: GitHub.

Appendix: source

Thrown at src/system/remote.rs:1805

        LibcFlavor::Musl => parse_musl_runtime_version(&combined_output(&local_output))
            .ok_or_else(|| {
                eyre!(
                    "could not determine the musl version used by local mise loader {interpreter}; set mise_bin, remote_mise, or bootstrap_command"
                )
            })?,
    };
    let available = match remote_libc {
        LibcFlavor::Glibc => parse_glibc_runtime_version(&remote_output),
        LibcFlavor::Musl => parse_musl_runtime_version(&remote_output),
    }
    .ok_or_else(|| {
        eyre!(
            "could not determine the {remote_libc:?} version provided by remote loader {interpreter} on '{}'; set mise_bin, remote_mise, or bootstrap_command",
            session.host.name
        )
    })?;
    if available < required {
        bail!(
            "remote host '{}' provides {remote_libc:?} {available}, but local mise requires {remote_libc:?} {required}; set mise_bin, remote_mise, or bootstrap_command",
            session.host.name
        );
    }
    Ok(())
}

fn max_required_glibc_version(bytes: &[u8]) -> Option<AbiVersion> {
    const PREFIX: &[u8] = b"GLIBC_";
    bytes
        .windows(PREFIX.len())
        .enumerate()
        .filter_map(|(offset, window)| {
            (window == PREFIX)
                .then(|| parse_abi_version(&bytes[offset + PREFIX.len()..]))
                .flatten()
        })
        .max()

View on GitHub (pinned to 533346cc37)