Resolving dependencies... Configuring network-2.6.3.1... Configuring mtl-2.2.1... Building mtl-2.2.1... Building network-2.6.3.1... Installed mtl-2.2.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring syb-0.6... Installed old-locale-1.0.0.7 Building syb-0.6... Configuring utf8-string-1.0.1.1... Installed syb-0.6 Configuring text-1.2.2.1... Installed network-2.6.3.1 Building utf8-string-1.0.1.1... Building text-1.2.2.1... Installed utf8-string-1.0.1.1 Configuring pandoc-types-1.8.2... Building pandoc-types-1.8.2... Configuring hs-bibutils-5.5... Installed pandoc-types-1.8.2 Building hs-bibutils-5.5... Installed text-1.2.2.1 Configuring xml-1.3.14... Building xml-1.3.14... Configuring parsec-3.1.11... Installed xml-1.3.14 Building parsec-3.1.11... Installed hs-bibutils-5.5 Installed parsec-3.1.11 Configuring network-uri-2.6.1.0... Configuring json-0.9.1... Building json-0.9.1... Building network-uri-2.6.1.0... Installed network-uri-2.6.1.0 Configuring HTTP-4000.3.3... Building HTTP-4000.3.3... Installed json-0.9.1 Installed HTTP-4000.3.3 Configuring citeproc-hs-0.3.3... Building citeproc-hs-0.3.3... Failed to install citeproc-hs-0.3.3 Build log ( /home/builder/.cabal/logs/citeproc-hs-0.3.3.log ): cabal: Entering directory '/tmp/cabal-tmp-32557/citeproc-hs-0.3.3' Configuring citeproc-hs-0.3.3... Warning: 'ghc-options: -prof' is not necessary and will lead to problems when used on a library. Use the configure flag --enable-library-profiling and/or --enable-profiling. Building citeproc-hs-0.3.3... Preprocessing library citeproc-hs-0.3.3... [ 1 of 20] Compiling Text.CSL.Style ( src/Text/CSL/Style.hs, dist/build/Text/CSL/Style.o ) [ 2 of 20] Compiling Text.CSL.Pickle ( src/Text/CSL/Pickle.hs, dist/build/Text/CSL/Pickle.o ) src/Text/CSL/Pickle.hs:33:1: warning: [-Wtabs] Tab character found here, and in 196 further locations. Please use spaces instead. [ 3 of 20] Compiling Text.CSL.Output.Plain ( src/Text/CSL/Output/Plain.hs, dist/build/Text/CSL/Output/Plain.o ) [ 4 of 20] Compiling Text.CSL.Reference ( src/Text/CSL/Reference.hs, dist/build/Text/CSL/Reference.o ) [ 5 of 20] Compiling Text.CSL.Output.Pandoc ( src/Text/CSL/Output/Pandoc.hs, dist/build/Text/CSL/Output/Pandoc.o ) [ 6 of 20] Compiling Text.CSL.Input.MODS ( src/Text/CSL/Input/MODS.hs, dist/build/Text/CSL/Input/MODS.o ) [ 7 of 20] Compiling Text.CSL.Input.Json ( src/Text/CSL/Input/Json.hs, dist/build/Text/CSL/Input/Json.o ) [ 8 of 20] Compiling Text.CSL.Input.Bibutils ( src/Text/CSL/Input/Bibutils.hs, dist/build/Text/CSL/Input/Bibutils.o ) src/Text/CSL/Input/Bibutils.hs:131:12: error: • Variable not in scope: catch :: IO FilePath -> (IOError -> IO FilePath) -> IO FilePath • Perhaps you want to add ‘catch’ to the import list in the import of ‘Control.Exception’ (src/Text/CSL/Input/Bibutils.hs:28:1-36). cabal: Leaving directory '/tmp/cabal-tmp-32557/citeproc-hs-0.3.3' cabal: Error: some packages failed to install: citeproc-hs-0.3.3 failed during the building phase. The exception was: ExitFailure 1