Resolving dependencies... Configuring call-stack-0.1.0... Configuring html-1.0.1.2... Building call-stack-0.1.0... Building html-1.0.1.2... Installed call-stack-0.1.0 Configuring mtl-2.2.1... Building mtl-2.2.1... Installed html-1.0.1.2 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring primitive-0.6.2.0... Installed mtl-2.2.1 Building primitive-0.6.2.0... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Configuring HUnit-1.5.0.0... Installed primitive-0.6.2.0 Building HUnit-1.5.0.0... Installed HUnit-1.5.0.0 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Configuring old-time-1.1.0.3... Installed regex-base-0.93.2 Building old-time-1.1.0.3... Configuring tf-random-0.5... Installed text-1.2.2.1 Building tf-random-0.5... Installed old-time-1.1.0.3 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Configuring parsec-3.1.11... Installed tf-random-0.5 Building parsec-3.1.11... Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Configuring QuickCheck-2.9.2... Installed regex-compat-0.95.1 Building QuickCheck-2.9.2... Installed parsec-3.1.11 Installed QuickCheck-2.9.2 Configuring darcs-cabalized-2.0.2.1... Failed to install darcs-cabalized-2.0.2.1 Build log ( /home/builder/.cabal/logs/darcs-cabalized-2.0.2.1.log ): cabal: Entering directory '/tmp/cabal-tmp-7631/darcs-cabalized-2.0.2.1' Configuring darcs-cabalized-2.0.2.1... Warning: 'ghc-options: -prof' is not necessary and will lead to problems when used on a library. Use the configure flag --enable-library-profiling and/or --enable-profiling. checking for darcs... darcs checking if we're in a darcs repository... no checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... /usr/bin/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 /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 windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for ghc... ghc found The Glorious Glasgow Haskell Compilation System, version 8.0.1.20161018 [1 of 1] Compiling Main ( conftest.hs, conftest.o ) Linking conftest ... checking whether to profile... no checking whether to use the threaded runtime... [1 of 1] Compiling Main ( conftest.hs, conftest.o ) Linking conftest ... yes checking GHC.Handle.openFd... [1 of 1] Compiling Main ( conftest.hs, conftest.o ) NOT old API checking GHC.Handle.openFd new API... [1 of 1] Compiling Main ( conftest.hs, conftest.o ) NOT 'new' API checking GHC.Handle.fdToHandle' API... [1 of 1] Compiling Main ( conftest.hs, conftest.o ) failed configure: error: Couldnt figure out how to call GHC.Handle.openFd! cabal: Leaving directory '/tmp/cabal-tmp-7631/darcs-cabalized-2.0.2.1' cabal: Error: some packages failed to install: darcs-cabalized-2.0.2.1 failed during the configure step. The exception was: ExitFailure 1