Skip to content

7-Zip is a hard Windows prerequisite for west sdk install with no check anywhere #204

Description

@alpCaner

What

7-Zip is a hard prerequisite for west sdk install on native Windows, and it has no doctor check, no row, and no install action anywhere in the three repos. It exists only as one line of prose inside a tan bootstrap terminal transcript.

Source of the fact — alp-sdk/metadata/bootstrap.json manualInstallHints.windows.note[1]:

"7-Zip must already be on PATH before running west sdk install on native Windows: west delegates .7z extraction to patoolib, which shells out to an external 7z/7za/7zr/7zz/7zzs/unar binary and has no pure-Python fallback."

Rendered only by crates/tan-core/src/bootstrap/blocks.rs:155-164, under the heading "bootstrap: NOT auto-installed (manual, one-time):".

Customer-visible failure

west sdk install --version 1.0.1 -t arm-zephyr-eabi fails inside patoolib with an extraction error that names no Alp surface. Nothing connects that error back to 7-Zip.

A case-insensitive grep for 7z over alp-sdk-vscode/src returns nothing, so the IDE cannot surface it either.

Ask

Give it a real check in build_readiness so it can become a row with an install action, the way dtc and gperf already are. Nearest existing shape on the consumer side: alp-sdk-vscode/src/toolchain/vscodeAdapter.ts:86 dtc: probeTool("dtc", ["--version"]).

Depends on the same push_tool routing as the Zephyr SDK check.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions