*** setup configure Configuring TV-0.4... Dependency base-any: using base-3.0.1.0 Dependency DeepArrow-any: using DeepArrow-0.2 Dependency TypeCompose>=0.2: using TypeCompose-0.5 Using compiler: ghc-6.8.2 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/TV-0.4/ghc-6.8.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/TV-0.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/TV-0.4 Using alex version 2.0.1 found on system at: /usr/local/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using ghc version 6.8.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.1.0 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.66-ghc found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 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 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 build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library TV-0.4... Building TV-0.4... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name TV-0.4 --make -hide-all-packages -i -idist/build/autogen -idist/build -isrc -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.1.0 -package DeepArrow-0.2 -package TypeCompose-0.5 -O -W Interface.TV Interface.TV.Input Interface.TV.Output Interface.TV.Tangible Interface.TV.OFun Interface.TV.Common Interface.TV.IO Interface.TV.Defaults [1 of 8] Compiling Interface.TV.Input ( src/Interface/TV/Input.hs, dist/build/Interface/TV/Input.o ) [2 of 8] Compiling Interface.TV.Output ( src/Interface/TV/Output.hs, dist/build/Interface/TV/Output.o ) [3 of 8] Compiling Interface.TV.OFun ( src/Interface/TV/OFun.hs, dist/build/Interface/TV/OFun.o ) [4 of 8] Compiling Interface.TV.Tangible ( src/Interface/TV/Tangible.hs, dist/build/Interface/TV/Tangible.o ) [5 of 8] Compiling Interface.TV.Common ( src/Interface/TV/Common.hs, dist/build/Interface/TV/Common.o ) [6 of 8] Compiling Interface.TV.IO ( src/Interface/TV/IO.hs, dist/build/Interface/TV/IO.o ) [7 of 8] Compiling Interface.TV.Defaults ( src/Interface/TV/Defaults.hs, dist/build/Interface/TV/Defaults.o ) [8 of 8] Compiling Interface.TV ( src/Interface/TV.hs, dist/build/Interface/TV.o ) Linking... /usr/bin/ar q dist/build/libHSTV-0.4.a dist/build/Interface/TV.o dist/build/Interface/TV/Input.o dist/build/Interface/TV/Output.o dist/build/Interface/TV/Tangible.o dist/build/Interface/TV/OFun.o dist/build/Interface/TV/Common.o dist/build/Interface/TV/IO.o dist/build/Interface/TV/Defaults.o /usr/bin/ar: creating dist/build/libHSTV-0.4.a /usr/bin/ld -x -r -o dist/build/HSTV-0.4.o.tmp dist/build/Interface/TV.o dist/build/Interface/TV/Input.o dist/build/Interface/TV/Output.o dist/build/Interface/TV/Tangible.o dist/build/Interface/TV/OFun.o dist/build/Interface/TV/Common.o dist/build/Interface/TV/IO.o dist/build/Interface/TV/Defaults.o *** setup haddock Creating dist/doc/html/TV (and its parents) Preprocessing library TV-0.4... Running hscolour for TV-0.4... Creating dist/doc/html/TV/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/TV/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV.html src/Interface/TV.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV-Input.html src/Interface/TV/Input.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV-Output.html src/Interface/TV/Output.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV-Tangible.html src/Interface/TV/Tangible.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV-OFun.html src/Interface/TV/OFun.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV-Common.html src/Interface/TV/Common.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV-IO.html src/Interface/TV/IO.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/TV/src/Interface-TV-Defaults.html src/Interface/TV/Defaults.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/TV (and its parents) Preprocessing library TV-0.4... Running Haddock for TV-0.4... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/TV-0.4 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library TV-0.4... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/TV-0.4 --html --odir=dist/doc/html/TV --title=TV-0.4: Tangible Values -- composable interfaces --dump-interface=dist/doc/html/TV/TV.haddock --prologue=dist/TV-0.4-haddock-prolog2977.txt --optghc=-package-name --optghc=TV-0.4 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --read-interface=http://hackage.haskell.org/packages/archive/base/3.0.1.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/DeepArrow/0.2/doc/html,/usr/local/tmp/archive/install/share/doc/DeepArrow-0.2/html/DeepArrow.haddock --read-interface=http://hackage.haskell.org/packages/archive/TypeCompose/0.5/doc/html,/usr/local/tmp/archive/install/share/doc/TypeCompose-0.5/html/TypeCompose.haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/TV-0.4 -B/usr/local/lib/ghc-6.8.2 --optghc=-hide-all-packages --optghc=-package --optghc=base-3.0.1.0 --optghc=-package --optghc=DeepArrow-0.2 --optghc=-package --optghc=TypeCompose-0.5 --optghc=-i --optghc=-W --optghc=-idist/build/autogen --optghc=-isrc --optghc=-idist/build --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build Interface.TV Interface.TV.Input Interface.TV.Output Interface.TV.Tangible Interface.TV.OFun Interface.TV.Common Interface.TV.IO Interface.TV.Defaults src/Interface/TV/Input.hs:40:2: parse error on input `-- | Input primitive' haddock: Failed to check module: Interface.TV.Input