*** setup configure Configuring pureMD5-1.0.0.3... Flags chosen: small_base=True Dependency base >=3 && <5: using base-4.1.0.0 Dependency binary >=0.4.0 && <0.6.0: using binary-0.5.0.2 Dependency bytestring ==0.9.*: using bytestring-0.9.1.5 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package binary-0.5.0.2 requires bytestring-0.9.1.4 package pureMD5-1.0.0.3 requires bytestring-0.9.1.5 Using Cabal-1.7.3 compiled by ghc-6.10 Using compiler: ghc-6.10.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/pureMD5-1.0.0.3/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/pureMD5-1.0.0.3 Documentation installed in: /usr/local/tmp/archive/install/share/doc/pureMD5-1.0.0.3 Using alex version 2.2 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 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.4 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 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.4.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.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 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 /usr/bin/gcc /tmp/23030.c -o /tmp/23030 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR *** setup haddock Running Haddock for pureMD5-1.0.0.3... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/pureMD5-1.0.0.3 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library pureMD5-1.0.0.3... Running hscolour for pureMD5-1.0.0.3... Creating dist/doc/html/pureMD5 (and its parents) Creating dist/doc/html/pureMD5/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/pureMD5/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/pureMD5/src/Data-Digest-Pure-MD5.html Data/Digest/Pure/MD5.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 /usr/local/bin/ghc --print-libdir copy Data/Digest/Pure/MD5.hs to dist/build/tmp23066/Data/Digest/Pure/MD5.hs Creating dist/doc/html/pureMD5/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/pureMD5-1.0.0.3 --prologue=dist/doc/html/pureMD5/haddock-prolog23066.txt --dump-interface=dist/doc/html/pureMD5/pureMD5.haddock --optghc=-package-name --optghc=pureMD5-1.0.0.3 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbose --html --read-interface=http://hackage.haskell.org/packages/archive/array/0.2.0.0/doc/html,/usr/local/share/doc/ghc/libraries/array/array.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/4.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/binary/0.5.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/binary-0.5.0.2/html/binary.haddock --read-interface=http://hackage.haskell.org/packages/archive/bytestring/0.9.1.4/doc/html,/usr/local/share/doc/ghc/libraries/bytestring/bytestring.haddock --read-interface=http://hackage.haskell.org/packages/archive/bytestring/0.9.1.5/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.5/html/bytestring.haddock --read-interface=http://hackage.haskell.org/packages/archive/containers/0.2.0.1/doc/html,/usr/local/share/doc/ghc/libraries/containers/containers.haddock --read-interface=http://hackage.haskell.org/packages/archive/ghc-prim/0.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/ghc-prim/ghc-prim.haddock --read-interface=http://hackage.haskell.org/packages/archive/integer/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/integer/integer.haddock --read-interface=http://hackage.haskell.org/packages/archive/syb/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/syb/syb.haddock --odir=dist/doc/html/pureMD5/ --title=pureMD5-1.0.0.3: MD5 implementations that should become part of a ByteString Crypto package. --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --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 --optghc=base-4.1.0.0 --optghc=-package --optghc=binary-0.5.0.2 --optghc=-package --optghc=bytestring-0.9.1.5 --optghc=-O --optghc=-O2 --optghc=-funfolding-use-threshold66 --optghc=-funfolding-creation-threshold66 --optghc=-fexcess-precision --optghc=-funbox-strict-fields -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp23066/Data/Digest/Pure/MD5.hs dist/build/tmp23066/Data/Digest/Pure/MD5.hs:89:33: Couldn't match expected type `L.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the second argument of `($)', namely `runPut (do putWord8 128 mapM_ putWord8 (replicate lenZeroPad 0) putWord64le totLen')' In the expression: L.toChunks $ runPut (do putWord8 128 mapM_ putWord8 (replicate lenZeroPad 0) putWord64le totLen') In the definition of `padBS': padBS = L.toChunks $ runPut (do putWord8 128 mapM_ putWord8 (replicate lenZeroPad 0) putWord64le totLen') dist/build/tmp23066/Data/Digest/Pure/MD5.hs:266:53: Couldn't match expected type `L.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the first argument of `L.unpack', namely `bs' In the third argument of `foldl'', namely `(L.unpack bs)' In the expression: foldl' (\ str w -> let c = showHex w str in if length c < length str + 2 then '0' : c else c) "" (L.unpack bs) dist/build/tmp23066/Data/Digest/Pure/MD5.hs:270:43: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' against inferred type `ByteString' In the first argument of `putByteString', namely `r' In the second argument of `(>>)', namely `putByteString r' In the first argument of `(>>)', namely `put p >> putWord8 (fromIntegral (B.length r)) >> putByteString r' dist/build/tmp23066/Data/Digest/Pure/MD5.hs:275:35: Couldn't match expected type `ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' In the second argument of `MD5Ctx', namely `r' In the second argument of `($)', namely `MD5Ctx p r l' In the expression: return $ MD5Ctx p r l *** Trying again with preferred-versions *** setup configure Configuring pureMD5-1.0.0.3... Flags chosen: small_base=True Dependency base ==3.*: using base-3.0.3.1 Dependency binary >=0.4.0 && <0.6.0: using binary-0.5.0.2 Dependency bytestring ==0.9.*: using bytestring-0.9.1.5 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package binary-0.5.0.2 requires bytestring-0.9.1.4 package pureMD5-1.0.0.3 requires bytestring-0.9.1.5 Using Cabal-1.7.3 compiled by ghc-6.10 Using compiler: ghc-6.10.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/pureMD5-1.0.0.3/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/pureMD5-1.0.0.3 Documentation installed in: /usr/local/tmp/archive/install/share/doc/pureMD5-1.0.0.3 Using alex version 2.2 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 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.4 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 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.4.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.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 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 /usr/bin/gcc /tmp/23078.c -o /tmp/23078 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR *** setup haddock Running Haddock for pureMD5-1.0.0.3... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/pureMD5-1.0.0.3 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library pureMD5-1.0.0.3... Running hscolour for pureMD5-1.0.0.3... Creating dist/doc/html/pureMD5 (and its parents) Creating dist/doc/html/pureMD5/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/pureMD5/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/pureMD5/src/Data-Digest-Pure-MD5.html Data/Digest/Pure/MD5.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 /usr/local/bin/ghc --print-libdir copy Data/Digest/Pure/MD5.hs to dist/build/tmp23115/Data/Digest/Pure/MD5.hs Creating dist/doc/html/pureMD5/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/pureMD5-1.0.0.3 --prologue=dist/doc/html/pureMD5/haddock-prolog23115.txt --dump-interface=dist/doc/html/pureMD5/pureMD5.haddock --optghc=-package-name --optghc=pureMD5-1.0.0.3 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbose --html --read-interface=http://hackage.haskell.org/packages/archive/array/0.2.0.0/doc/html,/usr/local/share/doc/ghc/libraries/array/array.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/3.0.3.1/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/4.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/binary/0.5.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/binary-0.5.0.2/html/binary.haddock --read-interface=http://hackage.haskell.org/packages/archive/bytestring/0.9.1.4/doc/html,/usr/local/share/doc/ghc/libraries/bytestring/bytestring.haddock --read-interface=http://hackage.haskell.org/packages/archive/bytestring/0.9.1.5/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.5/html/bytestring.haddock --read-interface=http://hackage.haskell.org/packages/archive/containers/0.2.0.1/doc/html,/usr/local/share/doc/ghc/libraries/containers/containers.haddock --read-interface=http://hackage.haskell.org/packages/archive/ghc-prim/0.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/ghc-prim/ghc-prim.haddock --read-interface=http://hackage.haskell.org/packages/archive/integer/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/integer/integer.haddock --read-interface=http://hackage.haskell.org/packages/archive/syb/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/syb/syb.haddock --odir=dist/doc/html/pureMD5/ --title=pureMD5-1.0.0.3: MD5 implementations that should become part of a ByteString Crypto package. --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --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 --optghc=base-3.0.3.1 --optghc=-package --optghc=binary-0.5.0.2 --optghc=-package --optghc=bytestring-0.9.1.5 --optghc=-O --optghc=-O2 --optghc=-funfolding-use-threshold66 --optghc=-funfolding-creation-threshold66 --optghc=-fexcess-precision --optghc=-funbox-strict-fields -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp23115/Data/Digest/Pure/MD5.hs dist/build/tmp23115/Data/Digest/Pure/MD5.hs:89:33: Couldn't match expected type `L.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the second argument of `($)', namely `runPut (do putWord8 128 mapM_ putWord8 (replicate lenZeroPad 0) putWord64le totLen')' In the expression: L.toChunks $ runPut (do putWord8 128 mapM_ putWord8 (replicate lenZeroPad 0) putWord64le totLen') In the definition of `padBS': padBS = L.toChunks $ runPut (do putWord8 128 mapM_ putWord8 (replicate lenZeroPad 0) putWord64le totLen') dist/build/tmp23115/Data/Digest/Pure/MD5.hs:266:53: Couldn't match expected type `L.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the first argument of `L.unpack', namely `bs' In the third argument of `foldl'', namely `(L.unpack bs)' In the expression: foldl' (\ str w -> let c = showHex w str in if length c < length str + 2 then '0' : c else c) "" (L.unpack bs) dist/build/tmp23115/Data/Digest/Pure/MD5.hs:270:43: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' against inferred type `ByteString' In the first argument of `putByteString', namely `r' In the second argument of `(>>)', namely `putByteString r' In the first argument of `(>>)', namely `put p >> putWord8 (fromIntegral (B.length r)) >> putByteString r' dist/build/tmp23115/Data/Digest/Pure/MD5.hs:275:35: Couldn't match expected type `ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' In the second argument of `MD5Ctx', namely `r' In the second argument of `($)', namely `MD5Ctx p r l' In the expression: return $ MD5Ctx p r l