Resolving dependencies... Configuring mtl-2.2.1... Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Building mtl-2.2.1... Installed old-locale-1.0.0.7 Configuring text-1.2.2.1... Building text-1.2.2.1... Configuring old-time-1.1.0.3... Installed mtl-2.2.1 Building old-time-1.1.0.3... Configuring utf8-string-1.0.1.1... Installed old-time-1.1.0.3 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Installed text-1.2.2.1 Configuring convertible-1.1.1.0... Configuring parsec-3.1.11... Building convertible-1.1.1.0... Building parsec-3.1.11... Installed parsec-3.1.11 Installed convertible-1.1.1.0 Configuring HDBC-2.4.0.1... Building HDBC-2.4.0.1... Installed HDBC-2.4.0.1 Configuring HDBC-postgresql-1.1.3.0... Building HDBC-postgresql-1.1.3.0... Failed to install HDBC-postgresql-1.1.3.0 Build log ( /home/builder/.cabal/logs/HDBC-postgresql-1.1.3.0.log ): cabal: Entering directory '/tmp/cabal-tmp-14407/HDBC-postgresql-1.1.3.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-14407/HDBC-postgresql-1.1.3.0/dist/setup/setup.hs, /tmp/cabal-tmp-14407/HDBC-postgresql-1.1.3.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-14407/HDBC-postgresql-1.1.3.0/dist/setup/setup ... Configuring HDBC-postgresql-1.1.3.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building HDBC-postgresql-1.1.3.0... Preprocessing library HDBC-postgresql-1.1.3.0... Utils.hsc:32:36: fatal error: hdbc-postgresql-helper.h: No such file or directory compilation terminated. compiling dist/build/Database/HDBC/PostgreSQL/Utils_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Database/HDBC/PostgreSQL/Utils_hsc_make.c -o dist/build/Database/HDBC/PostgreSQL/Utils_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 -I/usr/include/postgresql -I. -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/time-1.6.0.1/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/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-14407/HDBC-postgresql-1.1.3.0' cabal: Error: some packages failed to install: HDBC-postgresql-1.1.3.0 failed during the building phase. The exception was: ExitFailure 1