Resolving dependencies... Configuring exif-3000.0.0... Configuring mtl-2.2.1... 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.0... Building photoname-3.0.0... Failed to install photoname-3.0.0 Build log ( /home/builder/.cabal/logs/photoname-3.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-15280/photoname-3.0.0' Configuring photoname-3.0.0... Building photoname-3.0.0... Preprocessing executable 'photoname' for photoname-3.0.0... [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:26:12: error: Variable not in scope: try :: IO Exif -> IO (Either IOError Exif) cabal: Leaving directory '/tmp/cabal-tmp-15280/photoname-3.0.0' cabal: Error: some packages failed to install: photoname-3.0.0 failed during the building phase. The exception was: ExitFailure 1