Resolving dependencies... Configuring data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Building data-default-class-0.1.2.0... Building dlist-0.8.0.2... Installed data-default-class-0.1.2.0 Configuring mtl-2.2.1... Building mtl-2.2.1... Installed dlist-0.8.0.2 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring stm-2.4.4.1... Installed old-locale-1.0.0.7 Building stm-2.4.4.1... Configuring utf8-string-1.0.1.1... Installed mtl-2.2.1 Building utf8-string-1.0.1.1... Configuring text-1.2.2.1... Installed stm-2.4.4.1 Building text-1.2.2.1... Configuring data-default-instances-containers-0.0.1... Installed utf8-string-1.0.1.1 Building data-default-instances-containers-0.0.1... Installed data-default-instances-containers-0.0.1 Configuring data-default-instances-dlist-0.0.1... Building data-default-instances-dlist-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed data-default-instances-dlist-0.0.1 Building data-default-instances-old-locale-0.0.1... Configuring old-time-1.1.0.3... Installed data-default-instances-old-locale-0.0.1 Building old-time-1.1.0.3... Configuring data-default-0.7.1.1... Installed old-time-1.1.0.3 Building data-default-0.7.1.1... Installed data-default-0.7.1.1 Configuring X11-1.7... Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Building X11-1.7... Installed parsec-3.1.11 Installed X11-1.7 Configuring xmobar-0.12... Building xmobar-0.12... Failed to install xmobar-0.12 Build log ( /home/builder/.cabal/logs/xmobar-0.12.log ): cabal: Entering directory '/tmp/cabal-tmp-31400/xmobar-0.12' Configuring xmobar-0.12... 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 xmobar-0.12... Preprocessing executable 'xmobar' for xmobar-0.12... src/XUtil.hsc:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 1 of 33] Compiling XUtil ( dist/build/xmobar/xmobar-tmp/XUtil.hs, dist/build/xmobar/xmobar-tmp/XUtil.o ) src/XUtil.hsc:98:8: error: Variable not in scope: catch :: IO FontStruct -> (b2 -> IO FontStruct) -> IO FontStruct src/XUtil.hsc:109:14: error: Variable not in scope: catch :: IO ([String], String, FontSet) -> (b1 -> IO ([String], String, FontSet)) -> IO (t1, t2, FontSet) src/XUtil.hsc:189:38: error: Variable not in scope: catch :: IO DynPixel -> (b0 -> m0 DynPixel) -> IO DynPixel src/XUtil.hsc:195:14: error: Variable not in scope: unsafePerformIO :: IO (IORef [t0]) -> IORef ColorCache cabal: Leaving directory '/tmp/cabal-tmp-31400/xmobar-0.12' cabal: Error: some packages failed to install: xmobar-0.12 failed during the building phase. The exception was: ExitFailure 1