Resolving dependencies... Configuring mtl-2.2.1... Configuring exif-3000.0.0... Building mtl-2.2.1... Building exif-3000.0.0... Installed mtl-2.2.1 Configuring old-locale-1.0.0.7... Configuring text-1.2.2.1... Installed exif-3000.0.0 Building old-locale-1.0.0.7... Building text-1.2.2.1... Installed old-locale-1.0.0.7 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring photoname-3.0.1... Building photoname-3.0.1... Failed to install photoname-3.0.1 Build log ( /home/builder/.cabal/logs/photoname-3.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-26016/photoname-3.0.1' Configuring photoname-3.0.1... Building photoname-3.0.1... Preprocessing executable 'photoname' for photoname-3.0.1... [1 of 7] Compiling Photoname.Opts ( src/Photoname/Opts.hs, dist/build/photoname/photoname-tmp/Photoname/Opts.o ) src/Photoname/Opts.hs:11:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [2 of 7] Compiling Photoname.Exif ( src/Photoname/Exif.hs, dist/build/photoname/photoname-tmp/Photoname/Exif.o ) src/Photoname/Exif.hs:11:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead [3 of 7] Compiling Photoname.Date ( src/Photoname/Date.hs, dist/build/photoname/photoname-tmp/Photoname/Date.o ) src/Photoname/Date.hs:50:34: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at src/Photoname/Date.hs:14:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at src/Photoname/Date.hs:16:24-40 src/Photoname/Date.hs:58:41: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at src/Photoname/Date.hs:14:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at src/Photoname/Date.hs:16:24-40 src/Photoname/Date.hs:66:34: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at src/Photoname/Date.hs:14:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at src/Photoname/Date.hs:16:24-40 src/Photoname/Date.hs:74:38: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at src/Photoname/Date.hs:14:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at src/Photoname/Date.hs:16:24-40 cabal: Leaving directory '/tmp/cabal-tmp-26016/photoname-3.0.1' cabal: Error: some packages failed to install: photoname-3.0.1 failed during the building phase. The exception was: ExitFailure 1