Resolving dependencies... Starting terminfo-0.4.1.5 Building terminfo-0.4.1.5 Failed to install terminfo-0.4.1.5 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/terminfo-0.4.1.5-1ez78RMW1Rq6o51ArzM871.log ): cabal: Entering directory '/tmp/cabal-tmp-14518/terminfo-0.4.1.5' Configuring terminfo-0.4.1.5... configure: WARNING: unrecognized options: --with-compiler checking for gcc... /usr/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/cc accepts -g... yes checking for /usr/bin/cc option to accept ISO C89... none needed checking for setupterm in -ltinfow... no checking for setupterm in -ltinfo... yes configure: creating ./config.status config.status: creating terminfo.buildinfo configure: WARNING: unrecognized options: --with-compiler Preprocessing library for terminfo-0.4.1.5.. Building library for terminfo-0.4.1.5.. [1 of 7] Compiling System.Console.Terminfo.Base ( System/Console/Terminfo/Base.hs, dist/build/System/Console/Terminfo/Base.o, dist/build/System/Console/Terminfo/Base.dyn_o ) /tmp/ghc15018_0/ghc_15.c:20:10: error: fatal error: term.h: No such file or directory #include "term.h" ^~~~~~~~ | 20 | #include "term.h" | ^ compilation terminated. `cc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-14518/terminfo-0.4.1.5' cabal: Error: some packages failed to install: terminfo-0.4.1.5-1ez78RMW1Rq6o51ArzM871 failed during the building phase. The exception was: ExitFailure 1