Resolving dependencies... Configuring old-locale-1.0.0.7... Configuring pcre-light-0.4.0.4... Building old-locale-1.0.0.7... Building pcre-light-0.4.0.4... Installed old-locale-1.0.0.7 Configuring zlib-0.6.1.2... Building zlib-0.6.1.2... Configuring old-time-1.1.0.3... Installed pcre-light-0.4.0.4 Building old-time-1.1.0.3... Installed zlib-0.6.1.2 Installed old-time-1.1.0.3 Configuring mersenne-random-1.0.0.1... Building mersenne-random-1.0.0.1... Installed mersenne-random-1.0.0.1 Configuring hmp3-1.5.1... Building hmp3-1.5.1... Failed to install hmp3-1.5.1 Build log ( /home/builder/.cabal/logs/hmp3-1.5.1.log ): cabal: Entering directory '/tmp/cabal-tmp-12452/hmp3-1.5.1' Configuring hmp3-1.5.1... Building hmp3-1.5.1... Preprocessing executable 'hmp3' for hmp3-1.5.1... In file included from Curses.hsc:42:0: cbits/utils.h:7:20: fatal error: config.h: No such file or directory #include "config.h" ^ compilation terminated. compiling dist/build/hmp3/hmp3-tmp/Curses_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/hmp3/hmp3-tmp/Curses_hsc_make.c -o dist/build/hmp3/hmp3-tmp/Curses_hsc_make.o -fno-stack-protector -fno-stack-protector -D__GLASGOW_HASKELL__=800 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/process-1.4.2.0/include -I/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20161018/mersenne-random-1.0.0.1-7EDAqCLwIlLCs5ywJGxq11/include -I/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20161018/old-time-1.1.0.3-IcvdkJUsE9M8t3io8peAEp/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/directory-1.2.6.2/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/unix-2.7.2.0/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/time-1.6.0.1/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/bytestring-0.10.8.1/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/base-4.9.0.0/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/integer-gmp-1.0.0.1/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/include/ cabal: Leaving directory '/tmp/cabal-tmp-12452/hmp3-1.5.1' cabal: Error: some packages failed to install: hmp3-1.5.1 failed during the building phase. The exception was: ExitFailure 1