Skip to content

Building on Windows is incomplete: make's shell and utilities, and zip, are nowhere stated, installed or checked #1033

Open

Description

@David-Noble-at-work

Building devlore-cli on Windows is incomplete: what make needs there is nowhere stated, installed or checked.

  • make comes from MSYS2: on the owner's machines, Update-UserPath.ps1 (personal layer, Home/common.Windows/.local/bin) puts ~\.local\opt\MSYS2\clangarm64\bin on PATH "where make finds its DLLs".
  • The recipes' shell and utilities. The Makefile names no SHELL and uses .ONESHELL, so its recipes run under whatever sh make finds, with sed, awk, grep, tar, git and the rest. Git for Windows ships those in C:\Program Files\Git\usr\bin, but Update-UserPath.ps1 strips that directory from PATH (personal#164: its tools are x86-64, emulated on ARM). So from PowerShell, make finds no utilities; inside Git Bash, it does.
  • zip, which make dist uses for the Windows archives, comes with neither Git for Windows nor a default MSYS2.
  • CI installs nothing for make on Windows: ci.yaml says "ubuntu and windows already satisfy it", so the Windows legs depend on whatever GitHub's runner image carries.

Found 2026-10-04 while removing tar and chmod from install.ps1 (#1032). Ruled the same day: "we should log a chore to complete the Windows make work. it's obviously incomplete."

Resolution

To be planned: which shell and utilities make uses on Windows and where they come from (native ARM64, per personal#164), how a developer installs them, what CI installs rather than inherits, and the document that says so.

Plan and design documents

Kind Document
Plan Not yet opened

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions