Resolving dependencies... Configuring mtl-2.2.1... Configuring network-2.6.3.1... Building mtl-2.2.1... Building network-2.6.3.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Installed network-2.6.3.1 Configuring hslogger-1.2.10... Building hslogger-1.2.10... Installed hslogger-1.2.10 Configuring hslogger4j-0.1.1... Building hslogger4j-0.1.1... Failed to install hslogger4j-0.1.1 Build log ( /home/builder/.cabal/logs/hslogger4j-0.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-24942/hslogger4j-0.1.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-24942/hslogger4j-0.1.1/dist/setup/setup.hs, /tmp/cabal-tmp-24942/hslogger4j-0.1.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-24942/hslogger4j-0.1.1/dist/setup/setup ... Configuring hslogger4j-0.1.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building hslogger4j-0.1.1... Preprocessing library hslogger4j-0.1.1... [1 of 1] Compiling System.Log.Handler.Log4jXML ( haskell/System/Log/Handler/Log4jXML.hs, dist/build/System/Log/Handler/Log4jXML.o ) haskell/System/Log/Handler/Log4jXML.hs:51:1: error: Failed to load interface for ‘System.Locale’ It is a member of the hidden package ‘old-locale-1.0.0.7’. Perhaps you need to add ‘old-locale’ 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-24942/hslogger4j-0.1.1' cabal: Error: some packages failed to install: hslogger4j-0.1.1 failed during the building phase. The exception was: ExitFailure 1