Resolving dependencies... Configuring data-accessor-0.2.2.7... Configuring mtl-2.2.1... Building data-accessor-0.2.2.7... Building mtl-2.2.1... Installed data-accessor-0.2.2.7 Configuring network-2.6.3.2... Configuring random-1.1... Installed mtl-2.2.1 Building random-1.1... Building network-2.6.3.2... Configuring rank1dynamic-0.4.0... Installed random-1.1 Building rank1dynamic-0.4.0... Configuring primitive-0.6.2.0... Installed rank1dynamic-0.4.0 Building primitive-0.6.2.0... Configuring stm-2.4.4.1... Installed network-2.6.3.2 Building stm-2.4.4.1... Configuring syb-0.7... Installed stm-2.4.4.1 Building syb-0.7... Configuring transformers-compat-0.5.1.4... Installed primitive-0.6.2.0 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.2... Installed transformers-compat-0.5.1.4 Installed syb-0.7 Configuring distributed-static-0.3.8... Building text-1.2.2.2... Building distributed-static-0.3.8... Configuring exceptions-0.8.3... Installed distributed-static-0.3.8 Building exceptions-0.8.3... Configuring transformers-base-0.4.4... Installed exceptions-0.8.3 Building transformers-base-0.4.4... Configuring vector-0.12.0.1... Installed transformers-base-0.4.4 Building vector-0.12.0.1... Configuring monad-control-1.0.2.2... Installed text-1.2.2.2 Building monad-control-1.0.2.2... Installed monad-control-1.0.2.2 Configuring hashable-1.2.6.1... Building hashable-1.2.6.1... Installed hashable-1.2.6.1 Configuring network-transport-0.5.2... Building network-transport-0.5.2... Installed network-transport-0.5.2 Configuring network-transport-tcp-0.6.0... Building network-transport-tcp-0.6.0... Configuring distributed-process-0.7.3... Installed network-transport-tcp-0.6.0 Building distributed-process-0.7.3... Installed vector-0.12.0.1 Configuring resource-pool-0.2.3.2... Building resource-pool-0.2.3.2... Installed resource-pool-0.2.3.2 Configuring hzk-2.1.0... Building hzk-2.1.0... Installed hzk-2.1.0 Installed distributed-process-0.7.3 Configuring distributed-process-zookeeper-0.2.3.0... Building distributed-process-zookeeper-0.2.3.0... Failed to install distributed-process-zookeeper-0.2.3.0 Build log ( /home/builder/.cabal/logs/distributed-process-zookeeper-0.2.3.0.log ): cabal: Entering directory '/tmp/cabal-tmp-12208/distributed-process-zookeeper-0.2.3.0' Configuring distributed-process-zookeeper-0.2.3.0... Building distributed-process-zookeeper-0.2.3.0... Preprocessing library distributed-process-zookeeper-0.2.3.0... [1 of 1] Compiling Control.Distributed.Process.Zookeeper ( src/Control/Distributed/Process/Zookeeper.hs, dist/build/Control/Distributed/Process/Zookeeper.o ) src/Control/Distributed/Process/Zookeeper.hs:706:17: error: • Couldn't match expected type ‘IO (Either e0 b)’ with actual type ‘Network.Transport.TCP.TCPParameters -> IO (Either GHC.IO.Exception.IOException Network.Transport.Transport)’ • Probable cause: ‘createTransport’ is applied to too few arguments In a stmt of a 'do' block: mtcp <- createTransport host port defaultTCPParameters In the expression: do { mtcp <- createTransport host port defaultTCPParameters; case mtcp of { Right tcp -> return tcp Left reason -> throwIO reason } } In an equation for ‘openTransport’: openTransport = do { mtcp <- createTransport host port defaultTCPParameters; case mtcp of { Right tcp -> return tcp Left reason -> throwIO reason } } • Relevant bindings include openTransport :: IO b (bound at src/Control/Distributed/Process/Zookeeper.hs:705:5) src/Control/Distributed/Process/Zookeeper.hs:706:43: error: • Couldn't match expected type ‘ServiceName -> (HostName, ServiceName)’ with actual type ‘Network.Transport.TCP.TCPParameters’ • In the third argument of ‘createTransport’, namely ‘defaultTCPParameters’ In a stmt of a 'do' block: mtcp <- createTransport host port defaultTCPParameters In the expression: do { mtcp <- createTransport host port defaultTCPParameters; case mtcp of { Right tcp -> return tcp Left reason -> throwIO reason } } cabal: Leaving directory '/tmp/cabal-tmp-12208/distributed-process-zookeeper-0.2.3.0' cabal: Error: some packages failed to install: distributed-process-zookeeper-0.2.3.0 failed during the building phase. The exception was: ExitFailure 1