Resolving dependencies... Configuring Win32-2.4.0.0... Configuring base-orphans-0.5.4... Building base-orphans-0.5.4... Configuring SHA-1.6.4.2... Failed to install Win32-2.4.0.0 Build log ( /home/builder/.cabal/logs/Win32-2.4.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-19138/Win32-2.4.0.0' Configuring Win32-2.4.0.0... cabal: Missing dependencies on foreign libraries: * Missing (or bad) header file: HsWin32.h * Missing C libraries: user32, gdi32, winmm, advapi32, shell32, shfolder, shlwapi This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-19138/Win32-2.4.0.0' Building SHA-1.6.4.2... Installed base-orphans-0.5.4 Configuring bmp-1.2.6.3... Building bmp-1.2.6.3... Configuring byteable-0.1.1... Installed bmp-1.2.6.3 Building byteable-0.1.1... Configuring cereal-0.5.4.0... Installed byteable-0.1.1 Building cereal-0.5.4.0... Configuring entropy-0.3.7... Installed SHA-1.6.4.2 Configuring list-extras-0.4.1.4... Installed cereal-0.5.4.0 Building entropy-0.3.7... Building list-extras-0.4.1.4... Configuring memory-0.13... Installed entropy-0.3.7 Building memory-0.13... Configuring hourglass-0.2.10... Installed list-extras-0.4.1.4 Building hourglass-0.2.10... Configuring monads-tf-0.1.0.3... Installed memory-0.13 Building monads-tf-0.1.0.3... Configuring monad-loops-0.4.3... Installed hourglass-0.2.10 Building monad-loops-0.4.3... Configuring mtl-2.2.1... Installed monad-loops-0.4.3 Building mtl-2.2.1... Configuring network-2.6.3.1... Installed monads-tf-0.1.0.3 Building network-2.6.3.1... Configuring parallel-3.2.1.0... Installed mtl-2.2.1 Building parallel-3.2.1.0... Configuring primitive-0.6.1.0... Installed parallel-3.2.1.0 Building primitive-0.6.1.0... Configuring random-1.1... Installed network-2.6.3.1 Building random-1.1... Configuring semigroups-0.18.2... Installed primitive-0.6.1.0 Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 Building transformers-compat-0.5.1.4... Configuring unbounded-delays-0.1.0.9... Installed transformers-compat-0.5.1.4 Building unbounded-delays-0.1.0.9... Installed unbounded-delays-0.1.0.9 Configuring securemem-0.1.9... Building securemem-0.1.9... Configuring cryptonite-0.20... Installed securemem-0.1.9 Building cryptonite-0.20... Configuring asn1-types-0.3.2... Installed text-1.2.2.1 Building asn1-types-0.3.2... Configuring StateVar-1.1.0.4... Installed asn1-types-0.3.2 Building StateVar-1.1.0.4... Configuring tagged-0.8.5... Installed StateVar-1.1.0.4 Building tagged-0.8.5... Configuring MonadRandom-0.4.2.3... Installed tagged-0.8.5 Building MonadRandom-0.4.2.3... Configuring concurrent-extra-0.7.0.10... Installed MonadRandom-0.4.2.3 Building concurrent-extra-0.7.0.10... Configuring vector-0.11.0.0... Installed concurrent-extra-0.7.0.10 Building vector-0.11.0.0... Installed cryptonite-0.20 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring asn1-encoding-0.9.4... Installed hashable-1.2.4.0 Building asn1-encoding-0.9.4... Configuring crypto-api-0.13.2... Installed asn1-encoding-0.9.4 Building crypto-api-0.13.2... Installed crypto-api-0.13.2 Configuring distributive-0.5.0.2... Installed vector-0.11.0.0 Configuring cryptohash-0.11.9... Building cryptohash-0.11.9... Building distributive-0.5.0.2... Configuring void-0.7.1... Installed cryptohash-0.11.9 Configuring crypto-pubkey-types-0.4.3... Installed distributive-0.5.0.2 Building void-0.7.1... Building crypto-pubkey-types-0.4.3... Configuring reexport-crypto-random-0.1.0.0... Installed void-0.7.1 Building reexport-crypto-random-0.1.0.0... Configuring pureMD5-2.1.3... Installed reexport-crypto-random-0.1.0.0 Building pureMD5-2.1.3... Configuring crypto-random-0.0.9... Installed crypto-pubkey-types-0.4.3 Building crypto-random-0.0.9... Configuring contravariant-1.4... Installed pureMD5-2.1.3 Building contravariant-1.4... Configuring RSA-2.2.0... Installed crypto-random-0.0.9 Building RSA-2.2.0... Installed contravariant-1.4 Configuring comonad-5... Installed RSA-2.2.0 Configuring ConcurrentUtils-0.4.4.0... Building ConcurrentUtils-0.4.4.0... Building comonad-5... Failed to install ConcurrentUtils-0.4.4.0 Build log ( /home/builder/.cabal/logs/ConcurrentUtils-0.4.4.0.log ): cabal: Entering directory '/tmp/cabal-tmp-19138/ConcurrentUtils-0.4.4.0' Configuring ConcurrentUtils-0.4.4.0... Building ConcurrentUtils-0.4.4.0... Preprocessing library ConcurrentUtils-0.4.4.0... [ 1 of 11] Compiling Data.BellmanFord ( Data/BellmanFord.hs, dist/build/Data/BellmanFord.o ) Data/BellmanFord.hs:14:1: warning: [-Wtabs] Tab character found here, and in six further locations. Please use spaces instead. [ 2 of 11] Compiling Control.CUtils.StrictArrow ( Control/CUtils/StrictArrow.hs, dist/build/Control/CUtils/StrictArrow.o ) Control/CUtils/StrictArrow.hs:7:1: warning: [-Wtabs] Tab character found here, and in two further locations. Please use spaces instead. [ 3 of 11] Compiling Control.CUtils.Split ( Control/CUtils/Split.hs, dist/build/Control/CUtils/Split.o ) Control/CUtils/Split.hs:4:1: warning: [-Wtabs] Tab character found here, and in 8 further locations. Please use spaces instead. [ 4 of 11] Compiling Control.CUtils.NetChan ( Control/CUtils/NetChan.hs, dist/build/Control/CUtils/NetChan.o ) Control/CUtils/NetChan.hs:55:1: warning: [-Wtabs] Tab character found here, and in 244 further locations. Please use spaces instead. [ 5 of 11] Compiling Control.CUtils.FChan ( Control/CUtils/FChan.hs, dist/build/Control/CUtils/FChan.o ) Control/CUtils/FChan.hs:34:1: warning: [-Wtabs] Tab character found here, and in 38 further locations. Please use spaces instead. [ 6 of 11] Compiling Control.CUtils.Processes ( Control/CUtils/Processes.hs, dist/build/Control/CUtils/Processes.o ) Control/CUtils/Processes.hs:29:1: warning: [-Wtabs] Tab character found here, and in 71 further locations. Please use spaces instead. [ 7 of 11] Compiling Control.CUtils.Conc ( Control/CUtils/Conc.hs, dist/build/Control/CUtils/Conc.o ) Control/CUtils/Conc.hs:68:10: error: • Illegal instance declaration for ‘Concurrent (Kleisli IO)’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) • In the instance declaration for ‘Concurrent (Kleisli IO)’ cabal: Leaving directory '/tmp/cabal-tmp-19138/ConcurrentUtils-0.4.4.0' Installed comonad-5 cabal: Error: some packages failed to install: ConcurrentUtils-0.4.4.0 failed during the building phase. The exception was: ExitFailure 1 Win32-2.4.0.0 failed during the configure step. The exception was: ExitFailure 1 reactivity-0.3.1.0 depends on Win32-2.4.0.0 which failed to install.