Resolving dependencies... Downloading cabal-rpm-0.9.9... Configuring cabal-rpm-0.9.9... Building cabal-rpm-0.9.9... Preprocessing executable 'cblrpm' for cabal-rpm-0.9.9... src/Commands/Spec.hs:39:8: Could not find module ‘Distribution.License’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:48:8: Could not find module ‘Distribution.Compiler’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:49:8: Could not find module ‘Distribution.Package’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:53:8: Could not find module ‘Distribution.PackageDescription.Configuration’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:54:8: Could not find module ‘Distribution.PackageDescription.Parse’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:56:8: Could not find module ‘Distribution.Simple.Compiler’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:63:8: Could not find module ‘Distribution.Simple.Configure’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:70:8: Could not find module ‘Distribution.Simple.Program’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/PackageUtils.hs:73:8: Could not find module ‘Distribution.System’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/Setup.hs:29:8: Could not find module ‘Distribution.PackageDescription’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/Setup.hs:30:8: Could not find module ‘Distribution.ReadE’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/SysCmd.hs:36:8: Could not find module ‘Distribution.Simple.Utils’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/SysCmd.hs:37:8: Could not find module ‘Distribution.Verbosity’ There are files missing in the ‘Cabal-1.22.7.0@Cabal_IrT4EDWHb9V94tMJy7DQXn’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install cabal-rpm-0.9.9 cabal: Error: some packages failed to install: cabal-rpm-0.9.9 failed during the building phase. The exception was: ExitFailure 1