ghcup-hs
ghcup-hs copied to clipboard
ghcup install ghc 8.0.2 fails on Github Actions
The CI action on github.com/PostgREST/configurator-pg is failing to install ghc-8.0.2, and I'm a bit stuck figuring out why.
I hope it's appropriate to report this here, happy to take it elsewhere if preferable.
- This worked in the past, it doesn't seem like code changes in the repositories caused this to fail
- Newer GHC versions install fine using with the same workflow
- The workflow is pretty barebones: https://github.com/PostgREST/configurator-pg/blob/master/.github/workflows/haskell.yml. The only thing that happens before the call to
ghcup install ghc 8.0.2
is to check out the source repository.
Debug results so far:
-
ghcup upgrade
does nothing, already up-to-date - I dumped the log files; they end with
Info: Installing GHC (this may take a while)
Debug: Running sh with arguments ["./configure","--prefix=/usr/local/.ghcup/ghc/8.0.2"]
Debug: Running gmake with arguments ["DESTDIR=/usr/local/.ghcup/tmp/ghcup-60ce8deb918b9668","install"]
Error: (https://errors.haskell.org/messages/GHCup-00841) Process "gmake" with arguments ["DESTDIR=/usr/local/.ghcup/tmp/ghcup-60ce8deb918b9668",
"install"] failed with exit code 2.
-
gmake
is available, version 4.3
More details:
- debug PR https://github.com/PostgREST/configurator-pg/pull/21
- failed run https://github.com/PostgREST/configurator-pg/actions/runs/7131635134/job/19420568108