{"record":{"id":"724f0778459e4188","repo":"jdx/mise","slug":"linux-release-targets-require-a-detected-libc-fami","errorCode":null,"errorMessage":"Linux release targets require a detected libc family","messagePattern":"Linux release targets require a detected libc family","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/system/remote.rs","lineNumber":1620,"sourceCode":"        \"armv7\" => \"armv7\",\n        _ => {\n            bail!(\n                \"mise {} has no official precompiled artifact for {os}/{arch}; set mise_bin, remote_mise, or bootstrap_command\",\n                env!(\"CARGO_PKG_VERSION\")\n            )\n        }\n    };\n    let suffix = match os {\n        \"macos\" if matches!(arch, \"x86_64\" | \"aarch64\") => {\n            if libc.is_some() {\n                bail!(\"macOS release targets cannot declare a libc family\");\n            }\n            format!(\"macos-{release_arch}\")\n        }\n        \"linux\" if matches!(arch, \"x86_64\" | \"aarch64\" | \"armv7\") => match libc {\n            Some(LibcFlavor::Glibc) => format!(\"linux-{release_arch}\"),\n            Some(LibcFlavor::Musl) => format!(\"linux-{release_arch}-musl\"),\n            None => bail!(\"Linux release targets require a detected libc family\"),\n        },\n        _ => {\n            bail!(\n                \"mise {} has no official precompiled artifact for {os}/{arch}; set mise_bin, remote_mise, or bootstrap_command\",\n                env!(\"CARGO_PKG_VERSION\")\n            )\n        }\n    };\n    Ok(format!(\"mise-v{}-{suffix}\", env!(\"CARGO_PKG_VERSION\")))\n}\n\nfn official_release_assets(os: &str, arch: &str) -> Result<Vec<String>> {\n    match os {\n        \"linux\" => [LibcFlavor::Glibc, LibcFlavor::Musl]\n            .into_iter()\n            .map(|libc| release_asset_name(os, arch, Some(libc)))\n            .collect(),\n        \"macos\" => Ok(vec![release_asset_name(os, arch, None)?]),","sourceCodeStart":1602,"sourceCodeEnd":1638,"githubUrl":"https://github.com/jdx/mise/blob/533346cc374382b41ec5ff70536252b2e96e725c/src/system/remote.rs#L1602-L1638","documentation":"Release-asset selection for a Linux remote target found arch/os it recognizes but no libc family (glibc/musl) was detected for the platform tuple, and Linux artifact names embed the libc. Without it no artifact suffix can be chosen, so target resolution bails.","triggerScenarios":"Thrown at src/system/remote.rs:1620 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide an explicit mise_bin, remote_mise, or bootstrap_command so no libc-matched artifact is needed","Detect/repair the remote's libc (install glibc or musl)","Report the platform if it genuinely ships a libc mise cannot detect"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"533346cc374382b41ec5ff70536252b2e96e725c","analyzedAt":"2026-09-17T13:35:38.149Z","contentChangedAt":"2026-09-17T13:35:38.149Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}