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/rebuild/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 old-time-1.1.0.3... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... 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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for ftime... yes checking for gmtime_r... yes checking for localtime_r... yes checking for gettimeofday... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking whether altzone is declared... no configure: creating ./config.status config.status: creating include/HsTimeConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-gcc Building old-time-1.1.0.3... Preprocessing library old-time-1.1.0.3... [1 of 1] Compiling System.Time ( dist/build/System/Time.hs, dist/build/System/Time.o ) In-place registering old-time-1.1.0.3... Running Haddock for old-time-1.1.0.3... Running hscolour for old-time-1.1.0.3... Preprocessing library old-time-1.1.0.3... Preprocessing library old-time-1.1.0.3... Haddock coverage: 95% ( 20 / 21) in 'System.Time' Missing documentation for: getClockTime (System/Time.hsc:232) Documentation created: dist/doc/html/old-time/index.html, dist/doc/html/old-time/old-time.txt Creating package registration file: /tmp/pkgConf-old-time-1.1.020539999321264095060.3 Installing library in /home/builder/rebuild/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/old-time-1.1.0.3-FBWJJDS5FKr7UKFScBcUW2 Registering old-time-1.1.0.3... Installed old-time-1.1.0.3 Downloading cabal-install-bundle-1.18.0.2.1... Configuring cabal-install-bundle-1.18.0.2.1... checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... 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 stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking wspiapi.h usability... no checking wspiapi.h presence... no checking for wspiapi.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for readlink... yes checking for symlink... yes checking for struct msghdr.msg_control... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... no checking for in_addr_t in netinet/in.h... yes checking for SO_PEERCRED and struct ucred in sys/socket.h... yes checking for _head_libws2_32_a in -lws2_32... no checking for getaddrinfo... yes checking for gai_strerror... yes checking whether AI_ADDRCONFIG is declared... yes checking whether AI_ALL is declared... yes checking whether AI_NUMERICSERV is declared... yes checking whether AI_V4MAPPED is declared... yes checking whether IPV6_V6ONLY is declared... yes checking for sendfile in sys/sendfile.h... yes checking for sendfile in sys/socket.h... no checking for gethostent... yes configure: creating ./config.status config.status: creating network.buildinfo config.status: creating include/HsNetworkConfig.h Building cabal-install-bundle-1.18.0.2.1... Preprocessing executable 'cabal' for cabal-install-bundle-1.18.0.2.1... In file included from dist/build/cabal/cabal-tmp/Network/Socket.hs:30:0: /opt/ghc/7.10.2/lib/ghc-7.10.2/base_GDytRqRVSUX7zckgKqJjgw/include/Typeable.h:17:2: warning: #warning is obsolete and will be removed in GHC 7.10 [-Wcpp] #warning is obsolete and will be removed in GHC 7.10 ^ In file included from dist/build/cabal/cabal-tmp/Network/BSD.hs:24:0: /opt/ghc/7.10.2/lib/ghc-7.10.2/base_GDytRqRVSUX7zckgKqJjgw/include/Typeable.h:17:2: warning: #warning is obsolete and will be removed in GHC 7.10 [-Wcpp] #warning is obsolete and will be removed in GHC 7.10 ^ [ 1 of 141] Compiling System.Random ( System/Random.hs, dist/build/cabal/cabal-tmp/System/Random.o ) System/Random.hs:43:1: Warning: Tab character System/Random.hs:45:1: Warning: Tab character System/Random.hs:47:1: Warning: Tab character System/Random.hs:53:1: Warning: Tab character System/Random.hs:55:1: Warning: Tab character System/Random.hs:56:1: Warning: Tab character System/Random.hs:57:1: Warning: Tab character System/Random.hs:59:1: Warning: Tab character System/Random.hs:61:1: Warning: Tab character System/Random.hs:63:1: Warning: Tab character System/Random.hs:64:1: Warning: Tab character System/Random.hs:65:1: Warning: Tab character System/Random.hs:66:1: Warning: Tab character System/Random.hs:68:1: Warning: Tab character System/Random.hs:69:1: Warning: Tab character System/Random.hs:70:1: Warning: Tab character System/Random.hs:71:1: Warning: Tab character System/Random.hs:73:1: Warning: Tab character System/Random.hs:74:1: Warning: Tab character System/Random.hs:76:1: Warning: Tab character System/Random.hs:90:22: Warning: Tab character System/Random.hs:91:17: Warning: Tab character System/Random.hs:94:17: Warning: Tab character System/Random.hs:97:15: Warning: Tab character System/Random.hs:217:1: Warning: Tab character System/Random.hs:218:1: Warning: Tab character System/Random.hs:226:1: Warning: Tab character System/Random.hs:241:1: Warning: Tab character System/Random.hs:242:1: Warning: Tab character System/Random.hs:243:1: Warning: Tab character System/Random.hs:244:1: Warning: Tab character System/Random.hs:245:1: Warning: Tab character System/Random.hs:298:11: Warning: Tab character System/Random.hs:303:11: Warning: Tab character System/Random.hs:344:11: Warning: Tab character System/Random.hs:355:1: Warning: Tab character System/Random.hs:356:1: Warning: Tab character System/Random.hs:356:20: Warning: Tab character System/Random.hs:357:1: Warning: Tab character System/Random.hs:357:20: Warning: Tab character System/Random.hs:359:11: Warning: Tab character System/Random.hs:366:1: Warning: Tab character System/Random.hs:375:1: Warning: Tab character System/Random.hs:388:1: Warning: Tab character System/Random.hs:389:1: Warning: Tab character System/Random.hs:390:1: Warning: Tab character System/Random.hs:400:3: Warning: Tab character System/Random.hs:438:1: Warning: Tab character System/Random.hs:439:1: Warning: Tab character System/Random.hs:441:1: Warning: Tab character System/Random.hs:453:1: Warning: Tab character System/Random.hs:454:1: Warning: Tab character System/Random.hs:455:1: Warning: Tab character System/Random.hs:457:1: Warning: Tab character System/Random.hs:458:1: Warning: Tab character System/Random.hs:459:1: Warning: Tab character System/Random.hs:477:1: Warning: Tab character System/Random.hs:477:14: Warning: Tab character System/Random.hs:478:1: Warning: Tab character System/Random.hs:480:1: Warning: Tab character System/Random.hs:481:1: Warning: Tab character System/Random.hs:482:1: Warning: Tab character System/Random.hs:484:1: Warning: Tab character System/Random.hs:485:1: Warning: Tab character System/Random.hs:486:1: Warning: Tab character [ 2 of 141] Compiling Distribution.Client.Dependency.Modular.Version ( Distribution/Client/Dependency/Modular/Version.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Version.o ) [ 3 of 141] Compiling Distribution.Client.Dependency.Modular.PSQ ( Distribution/Client/Dependency/Modular/PSQ.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/PSQ.o ) [ 4 of 141] Compiling Distribution.Client.Dependency.Modular.Package ( Distribution/Client/Dependency/Modular/Package.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Package.o ) [ 5 of 141] Compiling Distribution.Client.Haddock ( Distribution/Client/Haddock.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Haddock.o ) Distribution/Client/Haddock.hs:41:40: Expecting one more argument to ‘PackageIndex’ Expected a type, but ‘PackageIndex’ has kind ‘* -> *’ In the type signature for ‘regenerateHaddockIndex’: regenerateHaddockIndex :: Verbosity -> PackageIndex -> ProgramConfiguration -> FilePath -> IO () Failed to install cabal-install-bundle-1.18.0.2.1 cabal: Error: some packages failed to install: cabal-install-bundle-1.18.0.2.1 failed during the building phase. The exception was: ExitFailure 1