Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Downloading fitsio-0.1... Configuring fitsio-0.1... Building fitsio-0.1... Failed to install fitsio-0.1 Build log ( /home/builder/.cabal/logs/fitsio-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-15015/fitsio-0.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-15015/fitsio-0.1/dist/setup/setup.hs, /tmp/cabal-tmp-15015/fitsio-0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-15015/fitsio-0.1/dist/setup/setup ... Configuring fitsio-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: Instead of 'ghc-options: -ffi' use 'extensions: ForeignFunctionInterface' Warning: Instead of 'ghc-options: -lcfitsio' use 'extra-libraries: cfitsio' Building fitsio-0.1... Preprocessing library fitsio-0.1... on the commandline: warning: -ffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead [1 of 1] Compiling FitsIO ( dist/build/FitsIO.hs, dist/build/FitsIO.o ) src/FitsIO.chs:14:1: error: Failed to load interface for ‘C2HS’ Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-15015/fitsio-0.1' cabal: Error: some packages failed to install: fitsio-0.1 failed during the building phase. The exception was: ExitFailure 1