Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: ghc-7.10.2 Cabal-1.22.4.0 Continuing even though the plan contains dangerous reinstalls. Configuring filepath-1.3.0.1... Building filepath-1.3.0.1... Preprocessing library filepath-1.3.0.1... [1 of 3] Compiling System.FilePath.Windows ( System/FilePath/Windows.hs, dist/build/System/FilePath/Windows.o ) [2 of 3] Compiling System.FilePath.Posix ( System/FilePath/Posix.hs, dist/build/System/FilePath/Posix.o ) [3 of 3] Compiling System.FilePath ( System/FilePath.hs, dist/build/System/FilePath.o ) In-place registering filepath-1.3.0.1... Running Haddock for filepath-1.3.0.1... Running hscolour for filepath-1.3.0.1... Preprocessing library filepath-1.3.0.1... Preprocessing library filepath-1.3.0.1... Haddock coverage: 100% ( 57 / 57) in 'System.FilePath.Windows' 100% ( 57 / 57) in 'System.FilePath.Posix' 100% ( 2 / 2) in 'System.FilePath' Documentation created: dist/doc/html/filepath/index.html, dist/doc/html/filepath/filepath.txt Creating package registration file: /tmp/pkgConf-filepath-1.3.0278722862233665123.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/filepath-1.3.0.1-A0ShU8E4xGyA19EI3CqHII Registering filepath-1.3.0.1... Installed filepath-1.3.0.1 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.01687926652660260756.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 directory-1.2.4.0... checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for utimensat... yes configure: creating ./config.status config.status: creating include/HsDirectoryConfig.h Building directory-1.2.4.0... Preprocessing library directory-1.2.4.0... [1 of 6] Compiling System.Directory.Internal.Windows ( dist/build/System/Directory/Internal/Windows.hs, dist/build/System/Directory/Internal/Windows.o ) [2 of 6] Compiling System.Directory.Internal.Posix ( dist/build/System/Directory/Internal/Posix.hs, dist/build/System/Directory/Internal/Posix.o ) [3 of 6] Compiling System.Directory.Internal.C_utimensat ( dist/build/System/Directory/Internal/C_utimensat.hs, dist/build/System/Directory/Internal/C_utimensat.o ) [4 of 6] Compiling System.Directory.Internal.Config ( System/Directory/Internal/Config.hs, dist/build/System/Directory/Internal/Config.o ) [5 of 6] Compiling System.Directory.Internal ( dist/build/System/Directory/Internal.hs, dist/build/System/Directory/Internal.o ) [6 of 6] Compiling System.Directory ( System/Directory.hs, dist/build/System/Directory.o ) In-place registering directory-1.2.4.0... cabal: '/opt/ghc/7.10.2/bin/ghc-pkg' exited with an error: directory-1.2.4.0: Warning: haddock-interfaces: /tmp/cabal-tmp-19792/directory-1.2.4.0/dist/doc/html/directory/directory.haddock doesn't exist or isn't a file directory-1.2.4.0: Warning: haddock-html: /tmp/cabal-tmp-19792/directory-1.2.4.0/dist/doc/html/directory doesn't exist or isn't a directory directory-1.2.4.0: dependency "filepath-1.3.0.1-92928b6c64598d6a18b61943b5628548" doesn't exist (use --force to override) Failed to install directory-1.2.4.0 cabal: Error: some packages failed to install: Cabal-1.18.1.6 depends on directory-1.2.4.0 which failed to install. cabal-rpm-0.9.2 depends on directory-1.2.4.0 which failed to install. directory-1.2.4.0 failed during the building phase. The exception was: ExitFailure 1 process-1.2.3.0 depends on directory-1.2.4.0 which failed to install.