Resolving dependencies... Configuring explicit-exception-0.1.8... Configuring filepath-1.3.0.1... Building filepath-1.3.0.1... Building explicit-exception-0.1.8... Installed filepath-1.3.0.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring mtl-2.2.1... Installed explicit-exception-0.1.8 Configuring text-1.2.2.1... Installed old-locale-1.0.0.7 Building mtl-2.2.1... Building text-1.2.2.1... Configuring time-1.5.0.1... Installed mtl-2.2.1 Building time-1.5.0.1... Configuring utility-ht-0.0.13... Installed time-1.5.0.1 Building utility-ht-0.0.13... Installed text-1.2.2.1 Configuring random-1.1... Building random-1.1... Configuring unix-2.7.2.1... Installed utility-ht-0.0.13 Configuring parsec-3.1.11... Installed random-1.1 Building parsec-3.1.11... Building unix-2.7.2.1... Installed parsec-3.1.11 Installed unix-2.7.2.1 Configuring unix-compat-0.4.3.1... Configuring directory-1.2.7.1... Building unix-compat-0.4.3.1... Building directory-1.2.7.1... Installed unix-compat-0.4.3.1 Installed directory-1.2.7.1 Configuring filemanip-0.3.6.3... Configuring hsshellscript-3.3.4... Building hsshellscript-3.3.4... Building filemanip-0.3.6.3... Installed filemanip-0.3.6.3 Installed hsshellscript-3.3.4 Configuring group-by-date-0.0... Building group-by-date-0.0... Failed to install group-by-date-0.0 Build log ( /home/builder/.cabal/logs/group-by-date-0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-9942/group-by-date-0.0' Configuring group-by-date-0.0... Building group-by-date-0.0... Preprocessing executable 'group-by-date' for group-by-date-0.0... [1 of 2] Compiling GroupByDate ( src/GroupByDate.hs, dist/build/group-by-date/group-by-date-tmp/GroupByDate.o ) src/GroupByDate.hs:20:20: error: • Couldn't match expected type ‘Time.TimeLocale’ with actual type ‘System.Locale.TimeLocale’ NB: ‘System.Locale.TimeLocale’ is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’ ‘Time.TimeLocale’ is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.5.0.1’ • In the first argument of ‘Time.formatTime’, namely ‘defaultTimeLocale’ In the first argument of ‘(.)’, namely ‘Time.formatTime defaultTimeLocale fmt’ In the expression: Time.formatTime defaultTimeLocale fmt . posixSecondsToUTCTime . realToFrac . Files.modificationTime src/GroupByDate.hs:26:26: error: • Couldn't match expected type ‘Time.TimeLocale’ with actual type ‘System.Locale.TimeLocale’ NB: ‘System.Locale.TimeLocale’ is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’ ‘Time.TimeLocale’ is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.5.0.1’ • In the first argument of ‘Time.formatTime’, namely ‘defaultTimeLocale’ In the first argument of ‘fmap’, namely ‘(Time.formatTime defaultTimeLocale fmt)’ In the first argument of ‘(.)’, namely ‘fmap (Time.formatTime defaultTimeLocale fmt)’ cabal: Leaving directory '/tmp/cabal-tmp-9942/group-by-date-0.0' cabal: Error: some packages failed to install: group-by-date-0.0 failed during the building phase. The exception was: ExitFailure 1