*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user Dependency Cabal >=1.6: using Cabal-1.7.4 Creating setup (and its parents) /usr/local/bin/ghc -package Cabal-1.7.4 --make Setup.hs -o setup/setup -odir setup -hidir setup [1 of 1] Compiling Main ( Setup.hs, setup/Main.o ) Linking setup/setup ... setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/hashed-storage-0.3.9 --verbose Configuring hashed-storage-0.3.9... Flags chosen: hpc=False, diff=False, test=False Dependency base >=3 && <5: using base-4.1.0.0 Dependency bytestring -any: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency extensible-exceptions -any: using extensible-exceptions-0.1.1.0 Dependency filepath -any: using filepath-1.1.0.2 Dependency mmap ==0.4.*: using mmap-0.4.1 Dependency mtl -any: using mtl-1.1.0.2 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 mmap-0.4.1 requires bytestring-0.9.1.4 package hashed-storage-0.3.9 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/hashed-storage-0.3.9/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hashed-storage-0.3.9 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hashed-storage-0.3.9 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/7618.c -o /tmp/7618 -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 setup/setup haddock --verbose --html-location=http://hackage.haskell.org/packages/archive/$pkg/$version/doc/html --hyperlink-source Running Haddock for hashed-storage-0.3.9... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/hashed-storage-0.3.9 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hashed-storage-0.3.9... Creating dist/build/Bundled (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-DLITTLEENDIAN --cflag=-DLITTLEENDIAN --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/tmp/archive/install/lib/zlib-0.5.2.0/ghc-6.10.2 --lflag=-lz --lflag=-L/usr/local/tmp/archive/install/lib/mtl-1.1.0.2/ghc-6.10.2 --lflag=-L/usr/local/tmp/archive/install/lib/mmap-0.4.1/ghc-6.10.2 --lflag=-L/usr/local/tmp/archive/install/lib/extensible-exceptions-0.1.1.0/ghc-6.10.2 --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/containers-0.2.0.1 --lflag=-L/usr/local/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2 --lflag=-L/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4 --lflag=-L/usr/local/lib/ghc-6.10.2/array-0.2.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/syb-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Bundled/Posix.hs Bundled/Posix.hsc Preprocessing executables for hashed-storage-0.3.9... Running hscolour for hashed-storage-0.3.9... Creating dist/doc/html/hashed-storage (and its parents) Creating dist/doc/html/hashed-storage/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/hashed-storage/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed.html Storage/Hashed.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-AnchoredPath.html Storage/Hashed/AnchoredPath.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Index.html Storage/Hashed/Index.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Monad.html Storage/Hashed/Monad.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Tree.html Storage/Hashed/Tree.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Packed.html Storage/Hashed/Packed.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Darcs.html Storage/Hashed/Darcs.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Bundled-Posix.html dist/build/Bundled/Posix.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Bundled-SHA256.html Bundled/SHA256.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Utils.html Storage/Hashed/Utils.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 Storage/Hashed.hs to dist/build/tmp7653/Storage/Hashed.hs copy Storage/Hashed/AnchoredPath.hs to dist/build/tmp7653/Storage/Hashed/AnchoredPath.hs copy Storage/Hashed/Index.hs to dist/build/tmp7653/Storage/Hashed/Index.hs copy Storage/Hashed/Monad.hs to dist/build/tmp7653/Storage/Hashed/Monad.hs copy Storage/Hashed/Tree.hs to dist/build/tmp7653/Storage/Hashed/Tree.hs copy Storage/Hashed/Packed.hs to dist/build/tmp7653/Storage/Hashed/Packed.hs copy Storage/Hashed/Darcs.hs to dist/build/tmp7653/Storage/Hashed/Darcs.hs copy dist/build/Bundled/Posix.hs to dist/build/tmp7653/dist/build/Bundled/Posix.hs copy Bundled/SHA256.hs to dist/build/tmp7653/Bundled/SHA256.hs copy Storage/Hashed/Utils.hs to dist/build/tmp7653/Storage/Hashed/Utils.hs Creating dist/doc/html/hashed-storage/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/hashed-storage-0.3.9 --prologue=dist/doc/html/hashed-storage/haddock-prolog7653.txt --dump-interface=dist/doc/html/hashed-storage/hashed-storage.haddock --optghc=-package-name --optghc=hashed-storage-0.3.9 --hide=Bundled.Posix --hide=Bundled.SHA256 --hide=Storage.Hashed.Utils --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/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/directory/1.0.0.3/doc/html,/usr/local/share/doc/ghc/libraries/directory/directory.haddock --read-interface=http://hackage.haskell.org/packages/archive/extensible-exceptions/0.1.1.0/doc/html,/usr/local/tmp/archive/install/share/doc/extensible-exceptions-0.1.1.0/html/extensible-exceptions.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/mmap/0.4.1/doc/html,/usr/local/tmp/archive/install/share/doc/mmap-0.4.1/html/mmap.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/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/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/hashed-storage/ --title=hashed-storage-0.3.9: Hashed file storage support code. --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-DLITTLEENDIAN --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=bytestring-0.9.1.5 --optghc=-package --optghc=containers-0.2.0.1 --optghc=-package --optghc=directory-1.0.0.3 --optghc=-package --optghc=extensible-exceptions-0.1.1.0 --optghc=-package --optghc=filepath-1.1.0.2 --optghc=-package --optghc=mmap-0.4.1 --optghc=-package --optghc=mtl-1.1.0.2 --optghc=-package --optghc=zlib-0.5.2.0 --optghc=-O --optghc=-fwarn-tabs --optghc=-Wall --optghc=-O2 --optghc=-XPatternSignatures --optghc=-XNoMonomorphismRestriction -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp7653/Storage/Hashed.hs dist/build/tmp7653/Storage/Hashed/AnchoredPath.hs dist/build/tmp7653/Storage/Hashed/Index.hs dist/build/tmp7653/Storage/Hashed/Monad.hs dist/build/tmp7653/Storage/Hashed/Tree.hs dist/build/tmp7653/Storage/Hashed/Packed.hs dist/build/tmp7653/Storage/Hashed/Darcs.hs dist/build/tmp7653/dist/build/Bundled/Posix.hs dist/build/tmp7653/Bundled/SHA256.hs dist/build/tmp7653/Storage/Hashed/Utils.hs dist/build/tmp7653/Storage/Hashed/Utils.hs:62:36: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' against inferred type `BS.ByteString' In the first argument of `return', namely `BS.empty' In the expression: return BS.empty In the expression: if size == 0 then return BS.empty else performGC >> mmapFileByteString f range *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/hashed-storage-0.3.9 --constraint=base<4 --constraint=parsec<3 --constraint=HaXml==1.13.* --constraint=QuickCheck<2 --verbose Configuring hashed-storage-0.3.9... Flags chosen: hpc=False, diff=False, test=False Dependency base ==3.*: using base-3.0.3.1 Dependency bytestring -any: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency extensible-exceptions -any: using extensible-exceptions-0.1.1.0 Dependency filepath -any: using filepath-1.1.0.2 Dependency mmap ==0.4.*: using mmap-0.4.1 Dependency mtl -any: using mtl-1.1.0.2 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 mmap-0.4.1 requires bytestring-0.9.1.4 package hashed-storage-0.3.9 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/hashed-storage-0.3.9/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hashed-storage-0.3.9 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hashed-storage-0.3.9 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/7690.c -o /tmp/7690 -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 setup/setup haddock --verbose --html-location=http://hackage.haskell.org/packages/archive/$pkg/$version/doc/html --hyperlink-source Running Haddock for hashed-storage-0.3.9... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/hashed-storage-0.3.9 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hashed-storage-0.3.9... Preprocessing executables for hashed-storage-0.3.9... Running hscolour for hashed-storage-0.3.9... Creating dist/doc/html/hashed-storage (and its parents) Creating dist/doc/html/hashed-storage/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/hashed-storage/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed.html Storage/Hashed.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-AnchoredPath.html Storage/Hashed/AnchoredPath.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Index.html Storage/Hashed/Index.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Monad.html Storage/Hashed/Monad.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Tree.html Storage/Hashed/Tree.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Packed.html Storage/Hashed/Packed.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Darcs.html Storage/Hashed/Darcs.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Bundled-Posix.html dist/build/Bundled/Posix.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Bundled-SHA256.html Bundled/SHA256.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hashed-storage/src/Storage-Hashed-Utils.html Storage/Hashed/Utils.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 Storage/Hashed.hs to dist/build/tmp7725/Storage/Hashed.hs copy Storage/Hashed/AnchoredPath.hs to dist/build/tmp7725/Storage/Hashed/AnchoredPath.hs copy Storage/Hashed/Index.hs to dist/build/tmp7725/Storage/Hashed/Index.hs copy Storage/Hashed/Monad.hs to dist/build/tmp7725/Storage/Hashed/Monad.hs copy Storage/Hashed/Tree.hs to dist/build/tmp7725/Storage/Hashed/Tree.hs copy Storage/Hashed/Packed.hs to dist/build/tmp7725/Storage/Hashed/Packed.hs copy Storage/Hashed/Darcs.hs to dist/build/tmp7725/Storage/Hashed/Darcs.hs copy dist/build/Bundled/Posix.hs to dist/build/tmp7725/dist/build/Bundled/Posix.hs copy Bundled/SHA256.hs to dist/build/tmp7725/Bundled/SHA256.hs copy Storage/Hashed/Utils.hs to dist/build/tmp7725/Storage/Hashed/Utils.hs Creating dist/doc/html/hashed-storage/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/hashed-storage-0.3.9 --prologue=dist/doc/html/hashed-storage/haddock-prolog7725.txt --dump-interface=dist/doc/html/hashed-storage/hashed-storage.haddock --optghc=-package-name --optghc=hashed-storage-0.3.9 --hide=Bundled.Posix --hide=Bundled.SHA256 --hide=Storage.Hashed.Utils --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/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/directory/1.0.0.3/doc/html,/usr/local/share/doc/ghc/libraries/directory/directory.haddock --read-interface=http://hackage.haskell.org/packages/archive/extensible-exceptions/0.1.1.0/doc/html,/usr/local/tmp/archive/install/share/doc/extensible-exceptions-0.1.1.0/html/extensible-exceptions.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/mmap/0.4.1/doc/html,/usr/local/tmp/archive/install/share/doc/mmap-0.4.1/html/mmap.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/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/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/hashed-storage/ --title=hashed-storage-0.3.9: Hashed file storage support code. --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-DLITTLEENDIAN --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=bytestring-0.9.1.5 --optghc=-package --optghc=containers-0.2.0.1 --optghc=-package --optghc=directory-1.0.0.3 --optghc=-package --optghc=extensible-exceptions-0.1.1.0 --optghc=-package --optghc=filepath-1.1.0.2 --optghc=-package --optghc=mmap-0.4.1 --optghc=-package --optghc=mtl-1.1.0.2 --optghc=-package --optghc=zlib-0.5.2.0 --optghc=-O --optghc=-fwarn-tabs --optghc=-Wall --optghc=-O2 --optghc=-XPatternSignatures --optghc=-XNoMonomorphismRestriction -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp7725/Storage/Hashed.hs dist/build/tmp7725/Storage/Hashed/AnchoredPath.hs dist/build/tmp7725/Storage/Hashed/Index.hs dist/build/tmp7725/Storage/Hashed/Monad.hs dist/build/tmp7725/Storage/Hashed/Tree.hs dist/build/tmp7725/Storage/Hashed/Packed.hs dist/build/tmp7725/Storage/Hashed/Darcs.hs dist/build/tmp7725/dist/build/Bundled/Posix.hs dist/build/tmp7725/Bundled/SHA256.hs dist/build/tmp7725/Storage/Hashed/Utils.hs dist/build/tmp7725/Storage/Hashed/Utils.hs:62:36: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' against inferred type `BS.ByteString' In the first argument of `return', namely `BS.empty' In the expression: return BS.empty In the expression: if size == 0 then return BS.empty else performGC >> mmapFileByteString f range