Resolving dependencies... Configuring mtl-2.2.1... Configuring text-1.2.2.1... Building mtl-2.2.1... Building text-1.2.2.1... Installed mtl-2.2.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring Emping-0.3... Building Emping-0.3... Failed to install Emping-0.3 Build log ( /home/builder/.cabal/logs/Emping-0.3.log ): cabal: Entering directory '/tmp/cabal-tmp-5381/Emping-0.3' [1 of 1] Compiling Main ( /tmp/cabal-tmp-5381/Emping-0.3/dist/setup/setup.hs, /tmp/cabal-tmp-5381/Emping-0.3/dist/setup/Main.o ) Linking /tmp/cabal-tmp-5381/Emping-0.3/dist/setup/setup ... Configuring Emping-0.3... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building Emping-0.3... Preprocessing executable 'emping' for Emping-0.3... on the commandline: warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 6] Compiling Reduce ( src/Reduce.hs, dist/build/emping/emping-tmp/Reduce.o ) [2 of 6] Compiling Codec ( src/Codec.hs, dist/build/emping/emping-tmp/Codec.o ) src/Codec.hs:23:1: error: Failed to load interface for ‘Control.Monad.State’ It is a member of the hidden package ‘mtl-2.2.1’. Perhaps you need to add ‘mtl’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/Codec.hs:24:1: error: Failed to load interface for ‘Data.Array’ It is a member of the hidden package ‘array-0.5.1.1’. Perhaps you need to add ‘array’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-5381/Emping-0.3' cabal: Error: some packages failed to install: Emping-0.3 failed during the building phase. The exception was: ExitFailure 1