*** setup configure Configuring NewBinary-0.1.1... Dependency base-any: using base-3.0.1.0 Dependency array-any: using array-0.1.0.0 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/NewBinary-0.1.1/ghc-6.8.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/NewBinary-0.1.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/NewBinary-0.1.1 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 NewBinary-0.1.1... Building NewBinary-0.1.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name NewBinary-0.1.1 --make -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.1.0 -package array-0.1.0.0 -O -XCPP -XUnboxedTuples -XMagicHash NewBinary.FastMutInt NewBinary.Binary [1 of 2] Compiling NewBinary.FastMutInt ( NewBinary/FastMutInt.lhs, dist/build/NewBinary/FastMutInt.o ) [2 of 2] Compiling NewBinary.Binary ( NewBinary/Binary.hs, dist/build/NewBinary/Binary.o ) Linking... /usr/bin/ar q dist/build/libHSNewBinary-0.1.1.a dist/build/NewBinary/FastMutInt.o dist/build/NewBinary/Binary.o /usr/bin/ar: creating dist/build/libHSNewBinary-0.1.1.a /usr/bin/ld -x -r -o dist/build/HSNewBinary-0.1.1.o.tmp dist/build/NewBinary/FastMutInt.o dist/build/NewBinary/Binary.o *** setup haddock Creating dist/doc/html/NewBinary (and its parents) Preprocessing library NewBinary-0.1.1... Running hscolour for NewBinary-0.1.1... Creating dist/doc/html/NewBinary/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/NewBinary/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/NewBinary/src/NewBinary-FastMutInt.html NewBinary/FastMutInt.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/NewBinary/src/NewBinary-Binary.html NewBinary/Binary.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/NewBinary (and its parents) Preprocessing library NewBinary-0.1.1... Running Haddock for NewBinary-0.1.1... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/NewBinary-0.1.1 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library NewBinary-0.1.1... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/NewBinary-0.1.1 --html --odir=dist/doc/html/NewBinary --title=NewBinary-0.1.1: A binary I/O library --dump-interface=dist/doc/html/NewBinary/NewBinary.haddock --prologue=dist/NewBinary-0.1.1-haddock-prolog9684.txt --optghc=-package-name --optghc=NewBinary-0.1.1 --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/array/0.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/array/array.haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/NewBinary-0.1.1 -B/usr/local/lib/ghc-6.8.2 --optghc=-hide-all-packages --optghc=-package --optghc=base-3.0.1.0 --optghc=-package --optghc=array-0.1.0.0 --optghc=-i --optghc=-idist/build/autogen --optghc=-i. --optghc=-idist/build --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-XCPP --optghc=-XUnboxedTuples --optghc=-XMagicHash NewBinary.FastMutInt NewBinary.Binary NewBinary/Binary.hs:395:25: parse error on input `{- | num_bits == 0 = return () | num_bits < 0 = error "putBits cannot write negative numbers of bits" | num_bits > 8 = error "putBits cannot write more than 8 bits at a time" | otherwise -}' haddock: Failed to check module: NewBinary.Binary