Resolving dependencies... Configuring digest-0.0.1.2... Configuring hxt-charproperties-9.2.0.1... Building digest-0.0.1.2... Building hxt-charproperties-9.2.0.1... Configuring mtl-2.2.1... Installed digest-0.0.1.2 Building mtl-2.2.1... Installed mtl-2.2.1 Configuring old-locale-1.0.0.7... Installed hxt-charproperties-9.2.0.1 Configuring text-1.2.2.1... Building old-locale-1.0.0.7... Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed old-locale-1.0.0.7 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Building zlib-0.6.1.2... Configuring regex-base-0.93.2... Installed zlib-0.6.1.2 Building regex-base-0.93.2... Configuring hxt-unicode-9.0.2.4... Installed regex-base-0.93.2 Building hxt-unicode-9.0.2.4... Configuring old-time-1.1.0.3... Installed text-1.2.2.1 Installed hxt-unicode-9.0.2.4 Configuring regex-posix-0.95.2... Building old-time-1.1.0.3... Building regex-posix-0.95.2... Configuring parsec-3.1.11... Installed old-time-1.1.0.3 Building parsec-3.1.11... Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Configuring zip-archive-0.3.0.5... Installed regex-compat-0.95.1 Building zip-archive-0.3.0.5... Installed parsec-3.1.11 Configuring network-uri-2.6.1.0... Building network-uri-2.6.1.0... Configuring regex-tdfa-1.2.2... Installed zip-archive-0.3.0.5 Configuring hxt-regex-xmlschema-9.2.0.3... Installed network-uri-2.6.1.0 Building regex-tdfa-1.2.2... Building hxt-regex-xmlschema-9.2.0.3... Installed hxt-regex-xmlschema-9.2.0.3 Configuring hxt-9.3.1.16... Building hxt-9.3.1.16... Installed regex-tdfa-1.2.2 Configuring regex-compat-tdfa-0.95.1.4... Building regex-compat-tdfa-0.95.1.4... Installed regex-compat-tdfa-0.95.1.4 Installed hxt-9.3.1.16 Configuring epub-metadata-4.5... Building epub-metadata-4.5... Installed epub-metadata-4.5 Downloading epub-tools-2.2... Configuring epub-tools-2.2... Building epub-tools-2.2... Failed to install epub-tools-2.2 Build log ( /home/builder/.cabal/logs/epub-tools-2.2.log ): cabal: Entering directory '/tmp/cabal-tmp-17338/epub-tools-2.2' Configuring epub-tools-2.2... Building epub-tools-2.2... Preprocessing executable 'epubmeta' for epub-tools-2.2... [1 of 7] Compiling EpubTools.EpubMeta.Util ( src/EpubTools/EpubMeta/Util.hs, dist/build/epubmeta/epubmeta-tmp/EpubTools/EpubMeta/Util.o ) src/EpubTools/EpubMeta/Util.hs:12:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead src/EpubTools/EpubMeta/Util.hs:15:14: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/EpubTools/EpubMeta/Util.hs:18:9: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" [2 of 7] Compiling EpubTools.EpubMeta.Opts ( src/EpubTools/EpubMeta/Opts.hs, dist/build/epubmeta/epubmeta-tmp/EpubTools/EpubMeta/Opts.o ) [3 of 7] Compiling EpubTools.EpubMeta.Import ( src/EpubTools/EpubMeta/Import.hs, dist/build/epubmeta/epubmeta-tmp/EpubTools/EpubMeta/Import.o ) src/EpubTools/EpubMeta/Import.hs:10:1: error: Failed to load interface for ‘Codec.Epub2.Archive’ Use -v to see a list of the files searched for. src/EpubTools/EpubMeta/Import.hs:11:1: error: Failed to load interface for ‘Codec.Epub2.IO’ Perhaps you meant Codec.Epub.IO (from epub-metadata-4.5) Codec.Epub (from epub-metadata-4.5) Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-17338/epub-tools-2.2' cabal: Error: some packages failed to install: epub-tools-2.2 failed during the building phase. The exception was: ExitFailure 1