Skip to content

with get on clean Windows assumes /tmp and hides download failures as package not found #1162

Closed

Description

@ehartford

Fresh Windows package installation fails before header checking:

with init .
with get c.bzip2
error: package bzip2/ not found on Conan Center

The same occurs for floating c.libcurl, on both Windows x86_64 and arm64. Run https://github.com/withlang-dev/with/actions/runs/35196602998 uses the exact compiler and PDB from Release run 35169665692. The native filesystem probe reports that D:\tmp (x86_64) / C:\tmp (arm64) does not exist. Earlier full-battery runners reached the package's C import check.

Source lead: src/compiler/ConanClient.w:24 unconditionally chooses /tmp/with-conan-http-<pid>.json; conan_curl_to_file also redirects both child streams to /dev/null and discards all download errors. conan_resolve_version and conan_install_internal turn any empty response into a false package-not-found diagnostic. Native Windows process spawning preserves ordinary argument paths; this requires native download/return-code proof before a product patch.

Expected: with init + floating with get works on a clean supported host, without a compiler build first creating unrelated root directories. Failed transport or local output creation must report its actual cause. This is within the handoff's explicit whole-class with get ruling and the specification §18.5 single-binary toolchain.

Diagnostic-only environment reproduction: after retaining the fresh-get failure, the old-compiler stack workflow creates its expected native scratch directory to reach the separate bzip2/libcurl header hang. This is not a product fix or release verification; the fresh-machine failure remains open and must receive a regression test.

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