commercialhaskell / commercialhaskell/stack

rio-0.1.22.0 to rio-0.1.23.0: problem at runtime for built `stack` executable

Open
#6,819 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

The `master` branch of Stack (8785d26084a6672f4696196085eaef9679b45d23) compiles and runs with lts-24.11 (GHC 9.10.2) and `rio-0.1.22.0`. However, allow that dependency to change to `rio-0.1.23.0` (no other direct or indirect dependencies change), the `stack` package compiles but the built `stack` executable dies at runtime with GHC RTS message `<>`. For example:

~~~text
> stack exec -- stack --verbose build --dry-run
...
2025-11-07 16:42:27.932799: [debug] Checking for project config at: D:\Users\mike\Code\GitHub\commercialhaskell\stack\stack.yaml
2025-11-07 16:42:27.932799: [debug] Loading project config file stack.yaml
2025-11-07 16:42:27.937842: [debug] Use of Casa server enabled: (CasaRepoPrefix "https://casa.stackage.org", 1280).
2025-11-07 16:42:27.953561: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2025-11-06 16:42:27.9535619 UTC]
2025-11-07 16:42:27.985345: [debug] Using package location completions from a lock file
2025-11-07 16:42:27.997118: [debug] Loaded snapshot from Pantry database.
2025-11-07 16:42:28.182185: [debug] Running Hpack on D:\Users\mike\Code\GitHub\commercialhaskell\stack\package.yaml
2025-11-07 16:42:28.257596: [debug] Hpack output unchanged in D:\Users\mike\Code\GitHub\commercialhaskell\stack\stack.cabal
2025-11-07 16:42:28.257596: [debug] Prefetching git repos: []
2025-11-07 16:42:28.257596: [debug] []
2025-11-07 16:42:28.273283: [debug] Asking for a supported GHC version
2025-11-07 16:42:28.782596: [error] <>
~~~

(Normally, that would have continued:
~~~text
...
2025-11-07 17:47:16.198200: [debug] Prefetching git repos: []
2025-11-07 17:47:16.198200: [debug] []
2025-11-07 17:47:16.211883: [debug] Asking for a supported GHC version
2025-11-07 17:47:16.214743: [debug] Installed tools:
- msys2-20240727
...
- ghc-9.12.2
2025-11-07 17:47:16.214743: [debug] Potential GHC builds: standard
...
~~~

)

Could this issue be related?
* https://github.com/commercialhaskell/rio/issues/264

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.