*** setup configure Configuring zip-archive-0.1.1.4... Flags chosen: executable=False, splitbase=True Dependency array -any: using array-0.2.0.0 Dependency base >=3 && <5: using base-4.1.0.0 Dependency binary -any: using binary-0.5.0.2 Dependency bytestring >=0.9.0: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 Dependency digest >=0.0.0.1: using digest-0.0.0.7 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency mtl -any: using mtl-1.1.0.2 Dependency old-time -any: using old-time-1.0.0.2 Dependency pretty -any: using pretty-1.0.1.0 Dependency unix -any: using unix-2.3.2.0 Dependency utf8-string >=0.3.1: using utf8-string-0.3.5 Dependency zlib -any: using zlib-0.5.2.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package zlib-0.5.2.0 requires bytestring-0.9.1.4 package utf8-string-0.3.5 requires bytestring-0.9.1.4 package digest-0.0.0.7 requires bytestring-0.9.1.4 package binary-0.5.0.2 requires bytestring-0.9.1.4 package zip-archive-0.1.1.4 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/zip-archive-0.1.1.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/zip-archive-0.1.1.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/zip-archive-0.1.1.4 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/20462.c -o /tmp/20462 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include -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 zip-archive-0.1.1.4... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/zip-archive-0.1.1.4 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library zip-archive-0.1.1.4... Preprocessing executables for zip-archive-0.1.1.4... Running hscolour for zip-archive-0.1.1.4... Creating dist/doc/html/zip-archive (and its parents) Creating dist/doc/html/zip-archive/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/zip-archive/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/zip-archive/src/Codec-Archive-Zip.html Codec/Archive/Zip.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 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp20498/Codec/Archive/Zip.hs Codec/Archive/Zip.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=610 Creating dist/doc/html/zip-archive/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/zip-archive-0.1.1.4 --prologue=dist/doc/html/zip-archive/haddock-prolog20498.txt --dump-interface=dist/doc/html/zip-archive/zip-archive.haddock --optghc=-package-name --optghc=zip-archive-0.1.1.4 --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/digest/0.0.0.7/doc/html,/usr/local/tmp/archive/install/share/doc/digest-0.0.0.7/html/digest.haddock --read-interface=http://hackage.haskell.org/packages/archive/directory/1.0.0.3/doc/html,/usr/local/share/doc/ghc/libraries/directory/directory.haddock --read-interface=http://hackage.haskell.org/packages/archive/filepath/1.1.0.2/doc/html,/usr/local/share/doc/ghc/libraries/filepath/filepath.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/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --read-interface=http://hackage.haskell.org/packages/archive/old-locale/1.0.0.1/doc/html,/usr/local/share/doc/ghc/libraries/old-locale/old-locale.haddock --read-interface=http://hackage.haskell.org/packages/archive/old-time/1.0.0.2/doc/html,/usr/local/share/doc/ghc/libraries/old-time/old-time.haddock --read-interface=http://hackage.haskell.org/packages/archive/pretty/1.0.1.0/doc/html,/usr/local/share/doc/ghc/libraries/pretty/pretty.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 --read-interface=http://hackage.haskell.org/packages/archive/unix/2.3.2.0/doc/html,/usr/local/share/doc/ghc/libraries/unix/unix.haddock --read-interface=http://hackage.haskell.org/packages/archive/utf8-string/0.3.5/doc/html,/usr/local/tmp/archive/install/share/doc/utf8-string-0.3.5/html/utf8-string.haddock --read-interface=http://hackage.haskell.org/packages/archive/zlib/0.5.2.0/doc/html,/usr/local/tmp/archive/install/share/doc/zlib-0.5.2.0/html/zlib.haddock --odir=dist/doc/html/zip-archive/ --title=zip-archive-0.1.1.4: Library for creating and modifying zip archives. --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=array-0.2.0.0 --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=-package --optghc=containers-0.2.0.1 --optghc=-package --optghc=digest-0.0.0.7 --optghc=-package --optghc=directory-1.0.0.3 --optghc=-package --optghc=filepath-1.1.0.2 --optghc=-package --optghc=mtl-1.1.0.2 --optghc=-package --optghc=old-time-1.0.0.2 --optghc=-package --optghc=pretty-1.0.1.0 --optghc=-package --optghc=unix-2.3.2.0 --optghc=-package --optghc=utf8-string-0.3.5 --optghc=-package --optghc=zlib-0.5.2.0 --optghc=-O --optghc=-Wall --optghc=-XCPP -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp20498/Codec/Archive/Zip.hs Codec/Archive/Zip.hs:131:12: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: runGet getArchive In the definition of `toArchive': toArchive = runGet getArchive Codec/Archive/Zip.hs:135:14: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: runPut . putArchive In the definition of `fromArchive': fromArchive = runPut . putArchive Codec/Archive/Zip.hs:163:25: No instance for (CRC32.CRC32 B.ByteString) arising from a use of `CRC32.crc32' at Codec/Archive/Zip.hs:163:25-52 Possible fix: add an instance declaration for (CRC32.CRC32 B.ByteString) In the second argument of `(==)', namely `CRC32.crc32 uncompressedData' In the expression: eCRC32 entry == CRC32.crc32 uncompressedData In the expression: if eCRC32 entry == CRC32.crc32 uncompressedData then uncompressedData else error "CRC32 mismatch" Codec/Archive/Zip.hs:279:29: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: Zlib.compress In the definition of `compressData': compressData Deflate = Zlib.compress Codec/Archive/Zip.hs:284:31: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: Zlib.decompress In the definition of `decompressData': decompressData Deflate = Zlib.decompress Codec/Archive/Zip.hs:421:39: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the `zComment' field of a record In the second argument of `($)', namely `Archive {zEntries = files, zSignature = digSig, zComment = zipComment}' In the expression: return $ Archive {zEntries = files, zSignature = digSig, zComment = zipComment} Codec/Archive/Zip.hs:440:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the second argument of `($)', namely `zComment archive' In the expression: putLazyByteString $ zComment archive In the expression: do mapM_ putLocalFile $ zEntries archive let localFileSizes = map localFileSize $ zEntries archive let offsets = scanl (+) 0 localFileSizes let cdOffset = last offsets .... Codec/Archive/Zip.hs:446:29: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the second argument of `($)', namely `fromString $ zipifyFilePath $ eRelativePath f' In the first argument of `fromIntegral', namely `(B.length $ fromString $ zipifyFilePath $ eRelativePath f)' In the second argument of `(+)', namely `fromIntegral (B.length $ fromString $ zipifyFilePath $ eRelativePath f)' Codec/Archive/Zip.hs:452:29: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the second argument of `($)', namely `fromString $ zipifyFilePath $ eRelativePath f' In the first argument of `fromIntegral', namely `(B.length $ fromString $ zipifyFilePath $ eRelativePath f)' In the second argument of `(+)', namely `fromIntegral (B.length $ fromString $ zipifyFilePath $ eRelativePath f)' Codec/Archive/Zip.hs:517:26: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' Expected type: Get bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString Inferred type: Get B.ByteString In the expression: return $ B.pack raw In the expression: if fromIntegral cs == length raw then return $ B.pack raw else fail "Content size mismatch in data descriptor record" Codec/Archive/Zip.hs:538:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the second argument of `($)', namely `eExtraField f' In a stmt of a 'do' expression: putLazyByteString $ eExtraField f In the expression: do putWord32le 67324752 putWord16le 20 putWord16le 2 putWord16le $ case eCompressionMethod f of { NoCompression -> 0 Deflate -> 8 } .... Codec/Archive/Zip.hs:610:46: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the `eExtraField' field of a record In the second argument of `($)', namely `Entry {eRelativePath = toString fileName, eCompressionMethod = compressionMethod, eLastModified = msDOSDateTimeToEpochTime $ MSDOSDateTime {msDOSDate = lastModFileDate, msDOSTime = lastModFileTime}, eCRC32 = crc32, eCompressedSize = compressedSize, eUncompressedSize = uncompressedSize, eExtraField = extraField, eFileComment = fileComment, eInternalFileAttributes = internalFileAttributes, eExternalFileAttributes = externalFileAttributes, eCompressedData = compressedData}' In the second argument of `($)', namely `Just $ Entry {eRelativePath = toString fileName, eCompressionMethod = compressionMethod, eLastModified = msDOSDateTimeToEpochTime $ MSDOSDateTime {msDOSDate = lastModFileDate, msDOSTime = lastModFileTime}, eCRC32 = crc32, eCompressedSize = compressedSize, eUncompressedSize = uncompressedSize, eExtraField = extraField, eFileComment = fileComment, eInternalFileAttributes = internalFileAttributes, eExternalFileAttributes = externalFileAttributes, eCompressedData = compressedData}' Codec/Archive/Zip.hs:642:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the second argument of `($)', namely `eExtraField local' In a stmt of a 'do' expression: putLazyByteString $ eExtraField local In the expression: do putWord32le 33639248 putWord16le 0 putWord16le 20 putWord16le 2 .... Codec/Archive/Zip.hs:658:58: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' Expected type: Get (Maybe B.ByteString) Inferred type: Get (Maybe bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString) In the second argument of `(>>=)', namely `return . Just' In the expression: getLazyByteString (toEnum $ fromEnum sigSize) >>= return . Just Codec/Archive/Zip.hs:665:20: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the first argument of `putLazyByteString', namely `sig' In the expression: putLazyByteString sig In the expression: do putWord32le 134630224 putWord16le $ fromIntegral $ B.length sig putLazyByteString sig *** Trying again with preferred-versions *** setup configure Configuring zip-archive-0.1.1.4... Flags chosen: executable=False, splitbase=True Dependency array -any: using array-0.2.0.0 Dependency base ==3.*: using base-3.0.3.1 Dependency binary -any: using binary-0.5.0.2 Dependency bytestring >=0.9.0: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 Dependency digest >=0.0.0.1: using digest-0.0.0.7 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency mtl -any: using mtl-1.1.0.2 Dependency old-time -any: using old-time-1.0.0.2 Dependency pretty -any: using pretty-1.0.1.0 Dependency unix -any: using unix-2.3.2.0 Dependency utf8-string >=0.3.1: using utf8-string-0.3.5 Dependency zlib -any: using zlib-0.5.2.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package zlib-0.5.2.0 requires bytestring-0.9.1.4 package utf8-string-0.3.5 requires bytestring-0.9.1.4 package digest-0.0.0.7 requires bytestring-0.9.1.4 package binary-0.5.0.2 requires bytestring-0.9.1.4 package zip-archive-0.1.1.4 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/zip-archive-0.1.1.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/zip-archive-0.1.1.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/zip-archive-0.1.1.4 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/20518.c -o /tmp/20518 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include -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 zip-archive-0.1.1.4... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/zip-archive-0.1.1.4 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library zip-archive-0.1.1.4... Preprocessing executables for zip-archive-0.1.1.4... Running hscolour for zip-archive-0.1.1.4... Creating dist/doc/html/zip-archive (and its parents) Creating dist/doc/html/zip-archive/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/zip-archive/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/zip-archive/src/Codec-Archive-Zip.html Codec/Archive/Zip.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 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp20554/Codec/Archive/Zip.hs Codec/Archive/Zip.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=610 Creating dist/doc/html/zip-archive/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/zip-archive-0.1.1.4 --prologue=dist/doc/html/zip-archive/haddock-prolog20554.txt --dump-interface=dist/doc/html/zip-archive/zip-archive.haddock --optghc=-package-name --optghc=zip-archive-0.1.1.4 --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/digest/0.0.0.7/doc/html,/usr/local/tmp/archive/install/share/doc/digest-0.0.0.7/html/digest.haddock --read-interface=http://hackage.haskell.org/packages/archive/directory/1.0.0.3/doc/html,/usr/local/share/doc/ghc/libraries/directory/directory.haddock --read-interface=http://hackage.haskell.org/packages/archive/filepath/1.1.0.2/doc/html,/usr/local/share/doc/ghc/libraries/filepath/filepath.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/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --read-interface=http://hackage.haskell.org/packages/archive/old-locale/1.0.0.1/doc/html,/usr/local/share/doc/ghc/libraries/old-locale/old-locale.haddock --read-interface=http://hackage.haskell.org/packages/archive/old-time/1.0.0.2/doc/html,/usr/local/share/doc/ghc/libraries/old-time/old-time.haddock --read-interface=http://hackage.haskell.org/packages/archive/pretty/1.0.1.0/doc/html,/usr/local/share/doc/ghc/libraries/pretty/pretty.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 --read-interface=http://hackage.haskell.org/packages/archive/unix/2.3.2.0/doc/html,/usr/local/share/doc/ghc/libraries/unix/unix.haddock --read-interface=http://hackage.haskell.org/packages/archive/utf8-string/0.3.5/doc/html,/usr/local/tmp/archive/install/share/doc/utf8-string-0.3.5/html/utf8-string.haddock --read-interface=http://hackage.haskell.org/packages/archive/zlib/0.5.2.0/doc/html,/usr/local/tmp/archive/install/share/doc/zlib-0.5.2.0/html/zlib.haddock --odir=dist/doc/html/zip-archive/ --title=zip-archive-0.1.1.4: Library for creating and modifying zip archives. --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=array-0.2.0.0 --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=-package --optghc=containers-0.2.0.1 --optghc=-package --optghc=digest-0.0.0.7 --optghc=-package --optghc=directory-1.0.0.3 --optghc=-package --optghc=filepath-1.1.0.2 --optghc=-package --optghc=mtl-1.1.0.2 --optghc=-package --optghc=old-time-1.0.0.2 --optghc=-package --optghc=pretty-1.0.1.0 --optghc=-package --optghc=unix-2.3.2.0 --optghc=-package --optghc=utf8-string-0.3.5 --optghc=-package --optghc=zlib-0.5.2.0 --optghc=-O --optghc=-Wall --optghc=-XCPP -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp20554/Codec/Archive/Zip.hs Codec/Archive/Zip.hs:131:12: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: runGet getArchive In the definition of `toArchive': toArchive = runGet getArchive Codec/Archive/Zip.hs:135:14: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: runPut . putArchive In the definition of `fromArchive': fromArchive = runPut . putArchive Codec/Archive/Zip.hs:163:25: No instance for (CRC32.CRC32 B.ByteString) arising from a use of `CRC32.crc32' at Codec/Archive/Zip.hs:163:25-52 Possible fix: add an instance declaration for (CRC32.CRC32 B.ByteString) In the second argument of `(==)', namely `CRC32.crc32 uncompressedData' In the expression: eCRC32 entry == CRC32.crc32 uncompressedData In the expression: if eCRC32 entry == CRC32.crc32 uncompressedData then uncompressedData else error "CRC32 mismatch" Codec/Archive/Zip.hs:279:29: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: Zlib.compress In the definition of `compressData': compressData Deflate = Zlib.compress Codec/Archive/Zip.hs:284:31: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the expression: Zlib.decompress In the definition of `decompressData': decompressData Deflate = Zlib.decompress Codec/Archive/Zip.hs:421:39: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the `zComment' field of a record In the second argument of `($)', namely `Archive {zEntries = files, zSignature = digSig, zComment = zipComment}' In the expression: return $ Archive {zEntries = files, zSignature = digSig, zComment = zipComment} Codec/Archive/Zip.hs:440:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the second argument of `($)', namely `zComment archive' In the expression: putLazyByteString $ zComment archive In the expression: do mapM_ putLocalFile $ zEntries archive let localFileSizes = map localFileSize $ zEntries archive let offsets = scanl (+) 0 localFileSizes let cdOffset = last offsets .... Codec/Archive/Zip.hs:446:29: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the second argument of `($)', namely `fromString $ zipifyFilePath $ eRelativePath f' In the first argument of `fromIntegral', namely `(B.length $ fromString $ zipifyFilePath $ eRelativePath f)' In the second argument of `(+)', namely `fromIntegral (B.length $ fromString $ zipifyFilePath $ eRelativePath f)' Codec/Archive/Zip.hs:452:29: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the second argument of `($)', namely `fromString $ zipifyFilePath $ eRelativePath f' In the first argument of `fromIntegral', namely `(B.length $ fromString $ zipifyFilePath $ eRelativePath f)' In the second argument of `(+)', namely `fromIntegral (B.length $ fromString $ zipifyFilePath $ eRelativePath f)' Codec/Archive/Zip.hs:517:26: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' Expected type: Get bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString Inferred type: Get B.ByteString In the expression: return $ B.pack raw In the expression: if fromIntegral cs == length raw then return $ B.pack raw else fail "Content size mismatch in data descriptor record" Codec/Archive/Zip.hs:538:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the second argument of `($)', namely `eExtraField f' In a stmt of a 'do' expression: putLazyByteString $ eExtraField f In the expression: do putWord32le 67324752 putWord16le 20 putWord16le 2 putWord16le $ case eCompressionMethod f of { NoCompression -> 0 Deflate -> 8 } .... Codec/Archive/Zip.hs:610:46: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' In the `eExtraField' field of a record In the second argument of `($)', namely `Entry {eRelativePath = toString fileName, eCompressionMethod = compressionMethod, eLastModified = msDOSDateTimeToEpochTime $ MSDOSDateTime {msDOSDate = lastModFileDate, msDOSTime = lastModFileTime}, eCRC32 = crc32, eCompressedSize = compressedSize, eUncompressedSize = uncompressedSize, eExtraField = extraField, eFileComment = fileComment, eInternalFileAttributes = internalFileAttributes, eExternalFileAttributes = externalFileAttributes, eCompressedData = compressedData}' In the second argument of `($)', namely `Just $ Entry {eRelativePath = toString fileName, eCompressionMethod = compressionMethod, eLastModified = msDOSDateTimeToEpochTime $ MSDOSDateTime {msDOSDate = lastModFileDate, msDOSTime = lastModFileTime}, eCRC32 = crc32, eCompressedSize = compressedSize, eUncompressedSize = uncompressedSize, eExtraField = extraField, eFileComment = fileComment, eInternalFileAttributes = internalFileAttributes, eExternalFileAttributes = externalFileAttributes, eCompressedData = compressedData}' Codec/Archive/Zip.hs:642:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the second argument of `($)', namely `eExtraField local' In a stmt of a 'do' expression: putLazyByteString $ eExtraField local In the expression: do putWord32le 33639248 putWord16le 0 putWord16le 20 putWord16le 2 .... Codec/Archive/Zip.hs:658:58: Couldn't match expected type `B.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' Expected type: Get (Maybe B.ByteString) Inferred type: Get (Maybe bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString) In the second argument of `(>>=)', namely `return . Just' In the expression: getLazyByteString (toEnum $ fromEnum sigSize) >>= return . Just Codec/Archive/Zip.hs:665:20: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `B.ByteString' In the first argument of `putLazyByteString', namely `sig' In the expression: putLazyByteString sig In the expression: do putWord32le 134630224 putWord16le $ fromIntegral $ B.length sig putLazyByteString sig