Resolving dependencies... Starting data-default-class-0.1.2.0 Starting base-orphans-0.8.4 Starting dlist-1.0 Starting blaze-builder-0.4.2.1 Building data-default-class-0.1.2.0 Building base-orphans-0.8.4 Building dlist-1.0 Building blaze-builder-0.4.2.1 Completed data-default-class-0.1.2.0 Starting hashable-1.3.2.0 Building hashable-1.3.2.0 Completed dlist-1.0 Starting integer-logarithms-1.0.3.1 Completed blaze-builder-0.4.2.1 Starting natural-sort-0.1.2 Building integer-logarithms-1.0.3.1 Building natural-sort-0.1.2 Completed base-orphans-0.8.4 Starting network-3.1.2.2 Completed hashable-1.3.2.0 Starting old-locale-1.0.0.7 Completed integer-logarithms-1.0.3.1 Starting ordered-containers-0.2.2 Completed natural-sort-0.1.2 Starting parseargs-0.2.0.9 Building old-locale-1.0.0.7 Building ordered-containers-0.2.2 Building parseargs-0.2.0.9 Completed old-locale-1.0.0.7 Starting primitive-0.7.2.0 Building primitive-0.7.2.0 Building network-3.1.2.2 Completed ordered-containers-0.2.2 Starting regex-base-0.94.0.1 Building regex-base-0.94.0.1 Completed parseargs-0.2.0.9 Starting safe-0.3.19 Building safe-0.3.19 Completed regex-base-0.94.0.1 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed semigroups-0.19.1 Starting split-0.2.3.4 Completed safe-0.3.19 Starting splitmix-0.1.0.3 Building split-0.2.3.4 Building splitmix-0.1.0.3 Completed split-0.2.3.4 Starting transformers-compat-0.7 Building transformers-compat-0.7 Completed splitmix-0.1.0.3 Starting unliftio-core-0.2.0.1 Building unliftio-core-0.2.0.1 Completed network-3.1.2.2 Starting zlib-0.6.2.3 Building zlib-0.6.2.3 Completed unliftio-core-0.2.0.1 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed primitive-0.7.2.0 Starting data-default-instances-dlist-0.0.1 Completed transformers-compat-0.7 Starting unordered-containers-0.2.14.0 Completed data-default-instances-containers-0.0.1 Starting async-2.2.3 Building data-default-instances-dlist-0.0.1 Building unordered-containers-0.2.14.0 Building async-2.2.3 Completed data-default-instances-dlist-0.0.1 Starting old-time-1.1.0.3 Building old-time-1.1.0.3 Completed async-2.2.3 Starting data-default-instances-old-locale-0.0.1 Completed zlib-0.6.2.3 Starting regex-tdfa-1.3.1.1 Building data-default-instances-old-locale-0.0.1 Building regex-tdfa-1.3.1.1 Completed data-default-instances-old-locale-0.0.1 Starting random-1.2.0 Building random-1.2.0 Completed old-time-1.1.0.3 Starting vector-0.12.3.0 Building vector-0.12.3.0 Completed random-1.2.0 Starting scientific-0.3.7.0 Completed unordered-containers-0.2.14.0 Starting resourcet-1.2.4.3 Building scientific-0.3.7.0 Building resourcet-1.2.4.3 Completed resourcet-1.2.4.3 Starting transformers-base-0.4.6 Building transformers-base-0.4.6 Completed scientific-0.3.7.0 Starting mmorph-1.2.0 Building mmorph-1.2.0 Completed transformers-base-0.4.6 Starting typed-process-0.2.6.1 Building typed-process-0.2.6.1 Completed mmorph-1.2.0 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed regex-tdfa-1.3.1.1 Starting hscurses-1.4.2.0 Completed data-default-0.7.1.1 Starting streaming-commons-0.2.2.1 Completed typed-process-0.2.6.1 Starting attoparsec-0.14.1 Building streaming-commons-0.2.2.1 Building attoparsec-0.14.1 Failed to install hscurses-1.4.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/hscurses-1.4.2.0-2K6IxhGkVkkDvrfn6UyEtI.log ): cabal: Entering directory '/tmp/cabal-tmp-1311/hscurses-1.4.2.0' Configuring hscurses-1.4.2.0... 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 addnstr in -lcurses... no checking for addnstr in -lncurses... no checking for waddnwstr in -lncursesw... no checking for addnstr in -lpdcurses... no checking for waddnwstr in -lpdcursesw... no checking for iconv in -liconv... no checking for libiconv in -liconv... no checking for libiconv... no checking how to run the C preprocessor... /usr/bin/cc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking ncursesw/ncurses.h usability... no checking ncursesw/ncurses.h presence... no checking for ncursesw/ncurses.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes configure: creating ./config.status config.status: creating hscurses.buildinfo config.status: creating cbits/config.h cabal: Missing dependency on a foreign library: * Missing (or bad) header file: HSCurses.h * Missing (or bad) C library: curses This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-1311/hscurses-1.4.2.0' Starting monad-control-1.0.3.1 Building monad-control-1.0.3.1 Completed monad-control-1.0.3.1 Completed streaming-commons-0.2.2.1 Completed attoparsec-0.14.1 Completed vector-0.12.3.0 cabal: Error: some packages failed to install: cursedcsv-0.1.4-7K7AcOVZFOJAgRZglFkIMl depends on cursedcsv-0.1.4 which failed to install. hscurses-1.4.2.0-2K6IxhGkVkkDvrfn6UyEtI failed during the configure step. The exception was: ExitFailure 1