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.9... Building cabal-rpm-0.8.9... Failed to install cabal-rpm-0.8.9 Build log ( /home/builder/.cabal/logs/cabal-rpm-0.8.9.log ): cabal: Entering directory '/tmp/cabal-tmp-15426/cabal-rpm-0.8.9' Configuring cabal-rpm-0.8.9... Building cabal-rpm-0.8.9... Preprocessing executable 'cblrpm' for cabal-rpm-0.8.9... [ 1 of 10] Compiling SysCmd ( src/SysCmd.hs, dist/build/cblrpm/cblrpm-tmp/SysCmd.o ) src/SysCmd.hs:37:15: warning: [-Wdeprecations] In the use of ‘findProgramLocation’ (imported from Distribution.Simple.Utils): Deprecated: "No longer used within Cabal, try findProgramOnSearchPath" src/SysCmd.hs:42:15: warning: [-Wdeprecations] In the use of ‘findProgramLocation’ (imported from Distribution.Simple.Utils): Deprecated: "No longer used within Cabal, try findProgramOnSearchPath" [ 2 of 10] Compiling Paths_cabal_rpm ( dist/build/autogen/Paths_cabal_rpm.hs, dist/build/cblrpm/cblrpm-tmp/Paths_cabal_rpm.o ) [ 3 of 10] Compiling Setup ( src/Setup.hs, dist/build/cblrpm/cblrpm-tmp/Setup.o ) [ 4 of 10] Compiling PackageUtils ( src/PackageUtils.hs, dist/build/cblrpm/cblrpm-tmp/PackageUtils.o ) src/PackageUtils.hs:53:54: error: • Couldn't match expected type ‘Distribution.Compiler.CompilerInfo’ with actual type ‘Distribution.Compiler.CompilerId’ • In the fourth argument of ‘finalizePackageDescription’, namely ‘(compilerId compiler)’ In the expression: finalizePackageDescription (rpmConfigurationsFlags flags) (const True) (Platform buildArch buildOS) (compilerId compiler) [] genPkgDesc In a stmt of a 'do' block: case finalizePackageDescription (rpmConfigurationsFlags flags) (const True) (Platform buildArch buildOS) (compilerId compiler) [] genPkgDesc of { Left e -> die $ "finalize failed: " ++ show e Right (pd, _) -> return pd } cabal: Leaving directory '/tmp/cabal-tmp-15426/cabal-rpm-0.8.9' cabal: Error: some packages failed to install: cabal-rpm-0.8.9 failed during the building phase. The exception was: ExitFailure 1