Skip to content

Failed to install tool: cmake@4 (no version returned from vfox plugin) #1

@Thomilist

Description

@Thomilist

Attempting to install cmake@4 in WSL (Arch Linux) fails when the asdf backend is disabled:

$ RUST_BACKTRACE=full COLORBT_SHOW_HIDDEN=1 MISE_VERBOSE=1 mise use cmake@4
DEBUG Version: 2025.8.4 linux-x64 (2025-08-03)
DEBUG ARGS: mise use cmake@4
DEBUG config: /mnt/c/users/tej/source/monorepo/.config/mise.toml
DEBUG config: /mnt/c/users/tej/.config/mise/config.toml
DEBUG GET http://mise-versions.jdx.dev/cmake
DEBUG starting new connection: http://mise-versions.jdx.dev/
DEBUG GET http://mise-versions.jdx.dev/cmake 200 OK
DEBUG install_some_versions: cmake@4
INFO  cmake@4.0.3                         install
DEBUG [vfox:cmake] pre_install
DEBUG Getting metadata for cmake
DEBUG starting new connection: https://fastly.jsdelivr.net/
Error: 
   0: Failed to install tool: cmake@4

      Individual error details:
        1. cmake@4:
           failed to install vfox:cmake@4.0.3: error converting Lua table to PreInstall (no version returned from vfox plugin)

Location:
   src/toolset/mod.rs:238

Version:
   2025.8.4 linux-x64 (2025-08-03)

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Most likely the same cause as version-fox#1.

As a workaround, simply enabling the asdf backend in WSL works for me (it was disabled due to mise settings from the Windows host). A small caveat is that the asdf backend resolves to cmake@4.0.1, while the vfox backend resolves to cmake@4.0.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions