haskell / actions

Github actions for Haskell CI
147 stars 54 forks source link

ubuntu-22.04 (20230426.1) fails to install GHC 7.10.3 #233

Closed andreasabel closed 1 year ago

andreasabel commented 1 year ago

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

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 [ Info  ] Installing GHC (this may take a while)
...
2023-04-26T18:06:51.9512405Z [ Error ] []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 [ ...   ]                                 "install"] failed with exit code 2.

https://errors.haskell.org/messages/GHCup-00841/ does not give any clues to exactly what goes wrong here.

Issue confirmed here:

Upstream issues:

andreasabel commented 1 year ago

Added disclaimer in README: 0dbc692f2b6aa9e4674527ce7a767e4b74adac93 This issue will probably not be fixed upstream.