Skip to content

ghcup: internal error: Itimer: read(timerfd) failed with Bad file descriptor and returned -1

I just witnessed a ghcup failure within the haskell/actions/setup@v1 github action.

The requested GHC version in the github actions config is "8.10".

https://github.com/typeclasses/lazy-async/runs/3108742858?check_suite_focus=true

  E: Unable to locate package ghc-8.10.5
  E: Couldn't find any package by glob 'ghc-8.10.5'
  E: Couldn't find any package by regex 'ghc-8.10.5'
  Attempting to install ghc 8.10.5 using ghcup
  /opt/hostedtoolcache/ghcup/0.1.14/x64/ghcup install ghc 8.10.5
  ghcup: internal error: Itimer: read(timerfd) failed with Bad file descriptor and returned -1
      (GHC version 8.10.4 for x86_64_unknown_linux)
      Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information