Resolving dependencies... Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring timerep-1.0.2... Building timerep-1.0.2... Failed to install timerep-1.0.2 Build log ( /home/builder/.cabal/logs/timerep-1.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-16196/timerep-1.0.2' Configuring timerep-1.0.2... Building timerep-1.0.2... Preprocessing library timerep-1.0.2... [1 of 2] Compiling Data.Time.RFC3339 ( Data/Time/RFC3339.hs, dist/build/Data/Time/RFC3339.o ) Data/Time/RFC3339.hs:64:16: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Data/Time/RFC3339.hs:36:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Data/Time/RFC3339.hs:40:1-20 Data/Time/RFC3339.hs:78:25: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Data/Time/RFC3339.hs:36:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Data/Time/RFC3339.hs:40:1-20 cabal: Leaving directory '/tmp/cabal-tmp-16196/timerep-1.0.2' cabal: Error: some packages failed to install: timerep-1.0.2 failed during the building phase. The exception was: ExitFailure 1