Run haskell/actions/setup@v2
Preparing to setup a Haskell environment
Resolved ghc 7.10 to 7.10.3
Resolved cabal latest to 3.10.1.0
Preparing ghc environment
Installing ghc version 7.10.3
Error: All install methods for ghc 7.10.3 failed
Further info:
Image: ubuntu-22.04
Version: 20230426.1
...
/opt/hostedtoolcache/ghcup/0.1.19.2/x64/ghcup install ghc 7.10.3
...
[ Info ] downloading: https://downloads.haskell.org/~ghc/7.10.3/ghc-7.10.3-x86_64-deb8-linux.tar.bz2
...
2023-04-26T18:06:37.3681170Z [1m[92m[ Info ][0m[0m Installing GHC (this may take a while)
...
2023-04-26T18:06:51.9512405Z [1m[91m[ Error ][0m[0m []8;;https://errors.haskell.org/messages/GHCup-00841\GHCup-00841]8;;\] Process "gmake" with arguments ["DESTDIR=/usr/local/.ghcup/tmp/ghcup-a04ee0a7ec0b2ce7",
2023-04-26T18:06:51.9517656Z [1m[91m[ ... ] [0m[0m "install"] failed with exit code 2.
GHCup fails to install GHC 7.10.3 on the
ubuntu-22.04
virtual environment version 20230426.1.https://github.com/andreasabel/unbound-generics/actions/runs/4811908537/jobs/8566492824
Further info:
https://errors.haskell.org/messages/GHCup-00841/ does not give any clues to exactly what goes wrong here.
Issue confirmed here:
234
Upstream issues: