Resolving dependencies... Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Preprocessing library old-locale-1.0.0.7... [1 of 1] Compiling System.Locale ( System/Locale.hs, dist/build/System/Locale.o ) In-place registering old-locale-1.0.0.7... Running Haddock for old-locale-1.0.0.7... Running hscolour for old-locale-1.0.0.7... Preprocessing library old-locale-1.0.0.7... Preprocessing library old-locale-1.0.0.7... Haddock coverage: 60% ( 3 / 5) in 'System.Locale' Missing documentation for: TimeLocale (System/Locale.hs:36) defaultTimeLocale (System/Locale.hs:49) Documentation created: dist/doc/html/old-locale/index.html, dist/doc/html/old-locale/old-locale.txt Creating package registration file: /tmp/pkgConf-old-locale-1.0.0278722862233665123.7 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/old-locale-1.0.0.7-D6X1KPq5Sui5XjrHMwvFwK Registering old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring cabal-rpm-0.8.1... Building cabal-rpm-0.8.1... Preprocessing executable 'cblrpm' for cabal-rpm-0.8.1... src/Distribution/Package/Rpm.hs:51:8: Could not find module ‘System.Locale’ There are files missing in the ‘old-locale-1.0.0.7@oldlo_D6X1KPq5Sui5XjrHMwvFwK’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install cabal-rpm-0.8.1 cabal: Error: some packages failed to install: cabal-rpm-0.8.1 failed during the building phase. The exception was: ExitFailure 1