Resolving dependencies... Configuring data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Building data-default-class-0.1.2.0... Installed data-default-class-0.1.2.0 Configuring mtl-2.2.1... Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed dlist-0.8.0.2 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 network-2.6.3.1... Installed mtl-2.2.1 Configuring utf8-string-0.3.7... Installed stm-2.4.4.1 Building utf8-string-0.3.7... Building network-2.6.3.1... Configuring text-1.2.2.1... Installed utf8-string-0.3.7 Building text-1.2.2.1... Configuring data-default-instances-containers-0.0.1... Installed network-2.6.3.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 regex-base-0.93.2... Installed data-default-instances-old-locale-0.0.1 Building regex-base-0.93.2... Configuring data-default-0.7.1.1... Installed regex-base-0.93.2 Building data-default-0.7.1.1... Configuring regex-posix-0.95.2... Installed data-default-0.7.1.1 Installed text-1.2.2.1 Configuring X11-1.6.1.2... Building regex-posix-0.95.2... Building X11-1.6.1.2... Configuring parsec-3.1.11... Installed regex-posix-0.95.2 Building parsec-3.1.11... Configuring regex-compat-0.95.1... Installed parsec-3.1.11 Building regex-compat-0.95.1... Configuring network-uri-2.6.1.0... Installed regex-compat-0.95.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 HTTP-4000.3.3 Installed X11-1.6.1.2 Downloading xmobar-0.22.1... Configuring xmobar-0.22.1... Building xmobar-0.22.1... Failed to install xmobar-0.22.1 Build log ( /home/builder/.cabal/logs/xmobar-0.22.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27518/xmobar-0.22.1' Configuring xmobar-0.22.1... 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.22.1... Preprocessing executable 'xmobar' for xmobar-0.22.1... [ 1 of 49] Compiling StatFS ( dist/build/xmobar/xmobar-tmp/StatFS.hs, dist/build/xmobar/xmobar-tmp/StatFS.o ) [ 2 of 49] Compiling Plugins.Utils ( src/Plugins/Utils.hs, dist/build/xmobar/xmobar-tmp/Plugins/Utils.o ) [ 3 of 49] Compiling Signal ( src/Signal.hs, dist/build/xmobar/xmobar-tmp/Signal.o ) [ 4 of 49] Compiling Paths_xmobar ( dist/build/autogen/Paths_xmobar.hs, dist/build/xmobar/xmobar-tmp/Paths_xmobar.o ) [ 5 of 49] Compiling ColorCache ( src/ColorCache.hs, dist/build/xmobar/xmobar-tmp/ColorCache.o ) [ 6 of 49] Compiling XUtil ( dist/build/xmobar/xmobar-tmp/XUtil.hs, dist/build/xmobar/xmobar-tmp/XUtil.o ) [ 7 of 49] Compiling Commands ( src/Commands.hs, dist/build/xmobar/xmobar-tmp/Commands.o ) [ 8 of 49] Compiling Runnable[boot] ( src/Runnable.hs-boot, dist/build/xmobar/xmobar-tmp/Runnable.o-boot ) [ 9 of 49] Compiling Plugins ( src/Plugins.hs, dist/build/xmobar/xmobar-tmp/Plugins.o ) [10 of 49] Compiling Plugins.BufferedPipeReader ( src/Plugins/BufferedPipeReader.hs, dist/build/xmobar/xmobar-tmp/Plugins/BufferedPipeReader.o ) [11 of 49] Compiling Plugins.CommandReader ( src/Plugins/CommandReader.hs, dist/build/xmobar/xmobar-tmp/Plugins/CommandReader.o ) [12 of 49] Compiling Plugins.Date ( src/Plugins/Date.hs, dist/build/xmobar/xmobar-tmp/Plugins/Date.o ) src/Plugins/Date.hs:36:33: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at src/Plugins/Date.hs:23:1-20 or ‘Data.Time.defaultTimeLocale’, imported from ‘Data.Time’ at src/Plugins/Date.hs:25:1-16 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) cabal: Leaving directory '/tmp/cabal-tmp-27518/xmobar-0.22.1' cabal: Error: some packages failed to install: xmobar-0.22.1 failed during the building phase. The exception was: ExitFailure 1