Resolving dependencies... Configuring safe-0.3.8... Building safe-0.3.8... Preprocessing library safe-0.3.8... [1 of 4] Compiling Safe.Util ( Safe/Util.hs, dist/build/Safe/Util.o ) [2 of 4] Compiling Safe.Exact ( Safe/Exact.hs, dist/build/Safe/Exact.o ) [3 of 4] Compiling Safe.Foldable ( Safe/Foldable.hs, dist/build/Safe/Foldable.o ) [4 of 4] Compiling Safe ( Safe.hs, dist/build/Safe.o ) In-place registering safe-0.3.8... Running Haddock for safe-0.3.8... Running hscolour for safe-0.3.8... Preprocessing library safe-0.3.8... Preprocessing library safe-0.3.8... Haddock coverage: 14% ( 1 / 7) in 'Safe.Util' 35% ( 8 / 23) in 'Safe.Exact' 18% ( 5 / 28) in 'Safe.Foldable' 21% ( 14 / 67) in 'Safe' Documentation created: dist/doc/html/safe/index.html, dist/doc/html/safe/safe.txt Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/safe-0.3.8 Registering safe-0.3.8... Installed safe-0.3.8 Downloading language-lua-0.4.5... Configuring language-lua-0.4.5... Building language-lua-0.4.5... Preprocessing library language-lua-0.4.5... [ 1 of 12] Compiling Language.Lua.Annotated.Syntax ( src/Language/Lua/Annotated/Syntax.hs, dist/build/Language/Lua/Annotated/Syntax.o ) [ 2 of 12] Compiling Text.PrettyPrint.Leijen ( src/Text/PrettyPrint/Leijen.hs, dist/build/Text/PrettyPrint/Leijen.o ) [ 3 of 12] Compiling Language.Lua.Token ( src/Language/Lua/Token.hs, dist/build/Language/Lua/Token.o ) [ 4 of 12] Compiling Language.Lua.Annotated.Lexer ( dist/build/Language/Lua/Annotated/Lexer.hs, dist/build/Language/Lua/Annotated/Lexer.o ) src/Language/Lua/Annotated/Lexer.x:343:17: Couldn't match type `(AlexPosn, Char, String)' with `(AlexPosn, Char, [Byte], String)' Expected type: AlexInput Actual type: (AlexPosn, Char, String) In the return type of a call of `ignorePendingBytes' In the first argument of `action', namely `(ignorePendingBytes inp)' In a stmt of a 'do' block: action (ignorePendingBytes inp) len templates/wrappers.hs:208:17: Couldn't match type `(AlexPosn, Char, String)' with `(AlexPosn, Char, [Byte], String)' Expected type: AlexInput Actual type: (AlexPosn, Char, String) In the return type of a call of `ignorePendingBytes' In the first argument of `action', namely `(ignorePendingBytes inp)' In a stmt of a 'do' block: action (ignorePendingBytes inp) len Failed to install language-lua-0.4.5 cabal: Error: some packages failed to install: language-lua-0.4.5 failed during the building phase. The exception was: ExitFailure 1