Resolving dependencies... Configuring mtl-2.2.1... Configuring old-locale-1.0.0.7... Building mtl-2.2.1... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Installed mtl-2.2.1 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Installed regex-base-0.93.2 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Installed regex-compat-0.95.1 Configuring cabal-rpm-0.8.2... Building cabal-rpm-0.8.2... Failed to install cabal-rpm-0.8.2 Build log ( /home/builder/.cabal/logs/cabal-rpm-0.8.2.log ): cabal: Entering directory '/tmp/cabal-tmp-6357/cabal-rpm-0.8.2' Configuring cabal-rpm-0.8.2... Building cabal-rpm-0.8.2... Preprocessing executable 'cblrpm' for cabal-rpm-0.8.2... [1 of 6] Compiling Paths_cabal_rpm ( dist/build/autogen/Paths_cabal_rpm.hs, dist/build/cblrpm/cblrpm-tmp/Paths_cabal_rpm.o ) [2 of 6] Compiling Distribution.Package.Rpm.Utils ( src/Distribution/Package/Rpm/Utils.hs, dist/build/cblrpm/cblrpm-tmp/Distribution/Package/Rpm/Utils.o ) src/Distribution/Package/Rpm/Utils.hs:33:15: warning: [-Wdeprecations] In the use of ‘findProgramLocation’ (imported from Distribution.Simple.Utils): Deprecated: "No longer used within Cabal, try findProgramOnSearchPath" src/Distribution/Package/Rpm/Utils.hs:38:15: warning: [-Wdeprecations] In the use of ‘findProgramLocation’ (imported from Distribution.Simple.Utils): Deprecated: "No longer used within Cabal, try findProgramOnSearchPath" src/Distribution/Package/Rpm/Utils.hs:48:17: warning: [-Wdeprecations] In the use of ‘findProgramLocation’ (imported from Distribution.Simple.Utils): Deprecated: "No longer used within Cabal, try findProgramOnSearchPath" [3 of 6] Compiling Distribution.Package.Rpm.Setup ( src/Distribution/Package/Rpm/Setup.hs, dist/build/cblrpm/cblrpm-tmp/Distribution/Package/Rpm/Setup.o ) [4 of 6] Compiling Distribution.Package.Rpm ( src/Distribution/Package/Rpm.hs, dist/build/cblrpm/cblrpm-tmp/Distribution/Package/Rpm.o ) src/Distribution/Package/Rpm.hs:100:32: error: • Couldn't match expected type ‘time-1.6.0.1:Data.Time.Format.Locale.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-1.6.0.1:Data.Time.Format.Locale.TimeLocale’ is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.6.0.1’ • In the first argument of ‘formatTime’, namely ‘defaultTimeLocale’ In the expression: formatTime defaultTimeLocale "0.%Y%m%d" now In the second argument of ‘($)’, namely ‘if darcsRepo then formatTime defaultTimeLocale "0.%Y%m%d" now else "1"’ src/Distribution/Package/Rpm.hs:160:27: error: • Couldn't match expected type ‘time-1.6.0.1:Data.Time.Format.Locale.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-1.6.0.1:Data.Time.Format.Locale.TimeLocale’ is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.6.0.1’ • In the first argument of ‘formatTime’, namely ‘defaultTimeLocale’ In the expression: formatTime defaultTimeLocale "%a %b %e %Y" now In an equation for ‘date’: date = formatTime defaultTimeLocale "%a %b %e %Y" now src/Distribution/Package/Rpm.hs:295:22: error: • Variable not in scope: licenseFile :: PackageDescription -> t1 a0 • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription) src/Distribution/Package/Rpm.hs:296:26: error: • Variable not in scope: licenseFile :: PackageDescription -> String • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription) src/Distribution/Package/Rpm.hs:313:24: error: • Variable not in scope: licenseFile :: PackageDescription -> String • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription) src/Distribution/Package/Rpm.hs:338:14: error: • Variable not in scope: licenseFile :: PackageDescription -> t • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription) cabal: Leaving directory '/tmp/cabal-tmp-6357/cabal-rpm-0.8.2' cabal: Error: some packages failed to install: cabal-rpm-0.8.2 failed during the building phase. The exception was: ExitFailure 1