Resolving dependencies... Configuring mtl-2.2.1... Configuring pointedlist-0.6.1... Building pointedlist-0.6.1... Building mtl-2.2.1... Installed pointedlist-0.6.1 Configuring text-1.2.2.1... Building text-1.2.2.1... Configuring vty-3.0.2... Installed mtl-2.2.1 Building vty-3.0.2... Configuring utf8-string-1.0.1.1... Failed to install vty-3.0.2 Build log ( /home/builder/.cabal/logs/vty-3.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-21542/vty-3.0.2' Configuring vty-3.0.2... Building vty-3.0.2... Preprocessing library vty-3.0.2... Graphics/Vty.hs:1:16: warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead Graphics/Vty/Cursor.hs:1:16: warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead [1 of 4] Compiling Graphics.Vty.Types ( Graphics/Vty/Types.hs, dist/build/Graphics/Vty/Types.o ) [2 of 4] Compiling Graphics.Vty.LLInput ( Graphics/Vty/LLInput.hs, dist/build/Graphics/Vty/LLInput.o ) Graphics/Vty/LLInput.hs:71:9: error: • Variable not in scope: catch :: IO Char -> (t0 -> IO Char) -> t • Perhaps you meant data constructor ‘Catch’ (imported from System.Posix.Signals) cabal: Leaving directory '/tmp/cabal-tmp-21542/vty-3.0.2' Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 cabal: Error: some packages failed to install: tkhs-0.1.0.3 depends on vty-3.0.2 which failed to install. vty-3.0.2 failed during the building phase. The exception was: ExitFailure 1