Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Downloading simplessh-0.2.0.4... Configuring simplessh-0.2.0.4... Building simplessh-0.2.0.4... Failed to install simplessh-0.2.0.4 Build log ( /home/builder/.cabal/logs/simplessh-0.2.0.4.log ): cabal: Entering directory '/tmp/cabal-tmp-15489/simplessh-0.2.0.4' Configuring simplessh-0.2.0.4... Building simplessh-0.2.0.4... Preprocessing library simplessh-0.2.0.4... [1 of 3] Compiling Network.SSH.Client.SimpleSSH.Types ( src/Network/SSH/Client/SimpleSSH/Types.hs, dist/build/Network/SSH/Client/SimpleSSH/Types.o ) src/Network/SSH/Client/SimpleSSH/Types.hs:10:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead src/Network/SSH/Client/SimpleSSH/Types.hs:30:20: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Network/SSH/Client/SimpleSSH/Types.hs:33:16: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Network/SSH/Client/SimpleSSH/Types.hs:51:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Network/SSH/Client/SimpleSSH/Types.hs:51:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" [2 of 3] Compiling Network.SSH.Client.SimpleSSH.Foreign ( src/Network/SSH/Client/SimpleSSH/Foreign.hs, dist/build/Network/SSH/Client/SimpleSSH/Foreign.o ) [3 of 3] Compiling Network.SSH.Client.SimpleSSH ( src/Network/SSH/Client/SimpleSSH.hs, dist/build/Network/SSH/Client/SimpleSSH.o ) src/Network/SSH/Client/SimpleSSH.hs:23:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() src/Network/SSH/Client/SimpleSSH.hs:24:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead cbits/simplessh.c: In function ‘get_socket’: cbits/simplessh.c:82:31: error: error: ‘INFTIM’ undeclared (first use in this function) rc = poll(&pollfd, 1, INFTIM); ^ cbits/simplessh.c:82:31: error: note: each undeclared identifier is reported only once for each function it appears in `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-15489/simplessh-0.2.0.4' cabal: Error: some packages failed to install: simplessh-0.2.0.4 failed during the building phase. The exception was: ExitFailure 1