Resolving dependencies... Starting clock-0.8.3 Building clock-0.8.3 Completed clock-0.8.3 Starting ghc-gc-hook-0.2.1.0 Building ghc-gc-hook-0.2.1.0 Failed to install ghc-gc-hook-0.2.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/ghc-gc-hook-0.2.1.0-L5MviII9Sec7BK9JFPDc0y.log ): cabal: Entering directory '/tmp/cabal-tmp-21889/ghc-gc-hook-0.2.1.0' Configuring ghc-gc-hook-0.2.1.0... Preprocessing library for ghc-gc-hook-0.2.1.0.. Building library for ghc-gc-hook-0.2.1.0.. [1 of 1] Compiling GHC.GC_Hook ( src/GHC/GC_Hook.hs, dist/build/GHC/GC_Hook.o, dist/build/GHC/GC_Hook.dyn_o ) cbits/hook.c:6:10: error: fatal error: threads.h: No such file or directory #include ^~~~~~~~~~~ | 6 | #include | ^ compilation terminated. `cc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-21889/ghc-gc-hook-0.2.1.0' cabal: Error: some packages failed to install: ghc-gc-hook-0.2.1.0-L5MviII9Sec7BK9JFPDc0y failed during the building phase. The exception was: ExitFailure 1