Resolving dependencies... Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring rfc3339-1.0.2... Building rfc3339-1.0.2... Failed to install rfc3339-1.0.2 Build log ( /home/builder/.cabal/logs/rfc3339-1.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-8467/rfc3339-1.0.2' Configuring rfc3339-1.0.2... Building rfc3339-1.0.2... Preprocessing library rfc3339-1.0.2... [1 of 1] Compiling Data.Time.RFC3339 ( Data/Time/RFC3339.hs, dist/build/Data/Time/RFC3339.o ) Data/Time/RFC3339.hs:45:16: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Data/Time/RFC3339.hs:19: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:23:1-20 Data/Time/RFC3339.hs:58:25: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Data/Time/RFC3339.hs:19: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:23:1-20 cabal: Leaving directory '/tmp/cabal-tmp-8467/rfc3339-1.0.2' cabal: Error: some packages failed to install: rfc3339-1.0.2 failed during the building phase. The exception was: ExitFailure 1