*** setup configure Configuring vty-4.0.0... Dependency array -any: using array-0.3.0.0 Dependency base ==4.*: using base-4.2.0.0 Dependency bytestring -any: using bytestring-0.9.1.6 Dependency containers -any: using containers-0.3.0.0 Dependency ghc-prim -any: using ghc-prim-0.2.0.0 Dependency mtl >=1.1.0.0 && <1.2: using mtl-1.1.0.2 Dependency parallel -any: using parallel-2.2.0.1 Dependency parsec >=2 && <4: using parsec-3.1.0 Dependency terminfo ==0.3.*: using terminfo-0.3.1.2 Dependency unix -any: using unix-2.4.0.0 Dependency utf8-string ==0.3.*: using utf8-string-0.3.6 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.1 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/vty-4.0.0/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/vty-4.0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/vty-4.0.0 Using alex version 2.3.1 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.3 found on system at: /usr/bin/gcc Using ghc version 6.12.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.1 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.7.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.16 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup haddock Running Haddock for vty-4.0.0... /usr/local/bin/haddock --use-contents=/package/vty-4.0.0 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library vty-4.0.0... Running hscolour for vty-4.0.0... Creating dist/doc/html/vty (and its parents) Creating dist/doc/html/vty/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/vty/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty.html src/Graphics/Vty.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Terminal.html src/Graphics/Vty/Terminal.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-LLInput.html src/Graphics/Vty/LLInput.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Attributes.html src/Graphics/Vty/Attributes.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Picture.html src/Graphics/Vty/Picture.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-DisplayRegion.html src/Graphics/Vty/DisplayRegion.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Codec-Binary-UTF8-Width.html src/Codec/Binary/UTF8/Width.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Data-Marshalling.html src/Data/Marshalling.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Data-Terminfo-Parse.html src/Data/Terminfo/Parse.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Data-Terminfo-Eval.html src/Data/Terminfo/Eval.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Image.html src/Graphics/Vty/Image.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Span.html src/Graphics/Vty/Span.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Terminal-Generic.html src/Graphics/Vty/Terminal/Generic.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Terminal-MacOSX.html src/Graphics/Vty/Terminal/MacOSX.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Terminal-XTermColor.html src/Graphics/Vty/Terminal/XTermColor.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/vty/src/Graphics-Vty-Terminal-TerminfoBased.html src/Graphics/Vty/Terminal/TerminfoBased.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir copy src/Graphics/Vty.hs to dist/build/tmp941/src/Graphics/Vty.hs copy src/Graphics/Vty/Terminal.hs to dist/build/tmp941/src/Graphics/Vty/Terminal.hs copy src/Graphics/Vty/LLInput.hs to dist/build/tmp941/src/Graphics/Vty/LLInput.hs copy src/Graphics/Vty/Attributes.hs to dist/build/tmp941/src/Graphics/Vty/Attributes.hs copy src/Graphics/Vty/Picture.hs to dist/build/tmp941/src/Graphics/Vty/Picture.hs copy src/Graphics/Vty/DisplayRegion.hs to dist/build/tmp941/src/Graphics/Vty/DisplayRegion.hs copy src/Codec/Binary/UTF8/Width.hs to dist/build/tmp941/src/Codec/Binary/UTF8/Width.hs copy src/Data/Marshalling.hs to dist/build/tmp941/src/Data/Marshalling.hs copy src/Data/Terminfo/Parse.hs to dist/build/tmp941/src/Data/Terminfo/Parse.hs copy src/Data/Terminfo/Eval.hs to dist/build/tmp941/src/Data/Terminfo/Eval.hs copy src/Graphics/Vty/Image.hs to dist/build/tmp941/src/Graphics/Vty/Image.hs copy src/Graphics/Vty/Span.hs to dist/build/tmp941/src/Graphics/Vty/Span.hs copy src/Graphics/Vty/Terminal/Generic.hs to dist/build/tmp941/src/Graphics/Vty/Terminal/Generic.hs copy src/Graphics/Vty/Terminal/MacOSX.hs to dist/build/tmp941/src/Graphics/Vty/Terminal/MacOSX.hs copy src/Graphics/Vty/Terminal/XTermColor.hs to dist/build/tmp941/src/Graphics/Vty/Terminal/XTermColor.hs copy src/Graphics/Vty/Terminal/TerminfoBased.hs to dist/build/tmp941/src/Graphics/Vty/Terminal/TerminfoBased.hs Creating dist/doc/html/vty/ (and its parents) /usr/local/bin/haddock --use-contents=/package/vty-4.0.0 --prologue=dist/doc/html/vty/haddock-prolog941.txt --dump-interface=dist/doc/html/vty/vty.haddock --optghc=-package-name --optghc=vty-4.0.0 --hide=Codec.Binary.UTF8.Width --hide=Data.Marshalling --hide=Data.Terminfo.Parse --hide=Data.Terminfo.Eval --hide=Graphics.Vty.Image --hide=Graphics.Vty.Span --hide=Graphics.Vty.Terminal.Generic --hide=Graphics.Vty.Terminal.MacOSX --hide=Graphics.Vty.Terminal.XTermColor --hide=Graphics.Vty.Terminal.TerminfoBased --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/array/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.0/array.haddock --read-interface=/packages/archive/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/base.haddock --read-interface=/packages/archive/bytestring/0.9.1.6/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.6/html/bytestring.haddock --read-interface=/packages/archive/containers/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/containers-0.3.0.0/containers.haddock --read-interface=/packages/archive/deepseq/1.1.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/deepseq-1.1.0.0/html/deepseq.haddock --read-interface=/packages/archive/extensible-exceptions/0.1.1.1/doc/html,/usr/local/share/doc/ghc/html/libraries/extensible-exceptions-0.1.1.1/extensible-exceptions.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --read-interface=/packages/archive/parallel/2.2.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/parallel-2.2.0.1/html/parallel.haddock --read-interface=/packages/archive/parsec/3.1.0/doc/html,/usr/local/tmp/archive/install/share/doc/parsec-3.1.0/html/parsec.haddock --read-interface=/packages/archive/syb/0.1.0.3/doc/html,/usr/local/tmp/archive/install/share/doc/syb-0.1.0.3/html/syb.haddock --read-interface=/packages/archive/terminfo/0.3.1.2/doc/html,/usr/local/tmp/archive/install/share/doc/terminfo-0.3.1.2/html/terminfo.haddock --read-interface=/packages/archive/unix/2.4.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/unix-2.4.0.0/unix.haddock --read-interface=/packages/archive/utf8-string/0.3.6/doc/html,/usr/local/tmp/archive/install/share/doc/utf8-string-0.3.6/html/utf8-string.haddock --odir=dist/doc/html/vty/ --title=vty-4.0.0: A simple terminal access library --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-isrc --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-Icbits --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98 --optghc=-package-id --optghc=base-4.2.0.0-c9182baf5cf44f2e72b2298fa160086c --optghc=-package-id --optghc=bytestring-0.9.1.6-d34b3db941c7d38af4651530de1ab787 --optghc=-package-id --optghc=containers-0.3.0.0-409fe3b8f0dda25b98e03716d26be411 --optghc=-package-id --optghc=ghc-prim-0.2.0.0-3fbcc20c802efcd7c82089ec77d92990 --optghc=-package-id --optghc=mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634 --optghc=-package-id --optghc=parallel-2.2.0.1-121beecc05d19b9beddc691b365930e6 --optghc=-package-id --optghc=parsec-3.1.0-1dde57682e33d9eb5ad523ff675c2cdb --optghc=-package-id --optghc=terminfo-0.3.1.2-43155ccca497f1838a8c46457e1d634b --optghc=-package-id --optghc=unix-2.4.0.0-7d42d72856fae71324453279e546294e --optghc=-package-id --optghc=utf8-string-0.3.6-8ae6cb6c8e6a09935d66b8a5ce1d5935 --optghc=-O --optghc=-funbox-strict-fields --optghc=-Wall --optghc=-fno-full-laziness --optghc=-fspec-constr -B/usr/local/lib/ghc-6.12.1 dist/build/tmp941/src/Graphics/Vty.hs dist/build/tmp941/src/Graphics/Vty/Terminal.hs dist/build/tmp941/src/Graphics/Vty/LLInput.hs dist/build/tmp941/src/Graphics/Vty/Attributes.hs dist/build/tmp941/src/Graphics/Vty/Picture.hs dist/build/tmp941/src/Graphics/Vty/DisplayRegion.hs dist/build/tmp941/src/Codec/Binary/UTF8/Width.hs dist/build/tmp941/src/Data/Marshalling.hs dist/build/tmp941/src/Data/Terminfo/Parse.hs dist/build/tmp941/src/Data/Terminfo/Eval.hs dist/build/tmp941/src/Graphics/Vty/Image.hs dist/build/tmp941/src/Graphics/Vty/Span.hs dist/build/tmp941/src/Graphics/Vty/Terminal/Generic.hs dist/build/tmp941/src/Graphics/Vty/Terminal/MacOSX.hs dist/build/tmp941/src/Graphics/Vty/Terminal/XTermColor.hs dist/build/tmp941/src/Graphics/Vty/Terminal/TerminfoBased.hs dist/build/tmp941/src/Data/Terminfo/Parse.hs:88:32: Couldn't match expected type `Eval CapExpression' against inferred type `()' In the second argument of `using', namely `rnf' In the second argument of `($!)', namely `(CapExpression {cap_ops = out_cap_ops build_results, cap_bytes = listArray (0, toEnum $ length cap_string - 1) $ map (toEnum . fromEnum) cap_string, source_string = cap_string, param_count = out_param_count build_results, param_ops = out_param_ops build_results} `using` rnf)' In the expression: Right $! (CapExpression {cap_ops = out_cap_ops build_results, cap_bytes = listArray (0, toEnum $ length cap_string - 1) $ map (toEnum . fromEnum) cap_string, source_string = cap_string, param_count = out_param_count build_results, param_ops = out_param_ops build_results} `using` rnf) *** Trying again with preferred-versions *** setup configure Configuring vty-4.0.0... cabal-setup: At least the following dependencies are missing: base >=4 && <5 && <4