*** setup configure Configuring stringtable-atom-0.0.6.1... Flags chosen: sybinbase=False Dependency base ==4.*: using base-4.1.0.0 Dependency binary -any: using binary-0.5.0.2 Dependency bytestring >=0.9.0.1: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 Dependency syb -any: using syb-0.1.0.3 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 stringtable-atom-0.0.6.1 requires bytestring-0.9.1.5 package array-0.2.0.0 requires syb-0.1.0.1 package stringtable-atom-0.0.6.1 requires syb-0.1.0.3 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/stringtable-atom-0.0.6.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/stringtable-atom-0.0.6.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/stringtable-atom-0.0.6.1 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/17203.c -o /tmp/17203 -D__GLASGOW_HASKELL__=610 -Icbits -I. -std=c99 -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 stringtable-atom-0.0.6.1... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/stringtable-atom-0.0.6.1 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library stringtable-atom-0.0.6.1... Creating dist/build/StringTable (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Icbits --cflag=-std=c99 --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/syb-0.1.0.3/ghc-6.10.2 --lflag=-L/usr/local/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2 --lflag=-L/usr/local/tmp/archive/install/lib/binary-0.5.0.2/ghc-6.10.2 --lflag=-L/usr/local/lib/ghc-6.10.2/containers-0.2.0.1 --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/StringTable/Atom.hs src/StringTable/Atom.hsc Running hscolour for stringtable-atom-0.0.6.1... Creating dist/doc/html/stringtable-atom (and its parents) Creating dist/doc/html/stringtable-atom/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/stringtable-atom/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/stringtable-atom/src/StringTable-Atom.html dist/build/StringTable/Atom.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/stringtable-atom/src/StringTable-AtomMap.html src/StringTable/AtomMap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/stringtable-atom/src/StringTable-AtomSet.html src/StringTable/AtomSet.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 dist/build/StringTable/Atom.hs to dist/build/tmp17237/dist/build/StringTable/Atom.hs copy src/StringTable/AtomMap.hs to dist/build/tmp17237/src/StringTable/AtomMap.hs copy src/StringTable/AtomSet.hs to dist/build/tmp17237/src/StringTable/AtomSet.hs Creating dist/doc/html/stringtable-atom/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/stringtable-atom-0.0.6.1 --prologue=dist/doc/html/stringtable-atom/haddock-prolog17237.txt --dump-interface=dist/doc/html/stringtable-atom/stringtable-atom.haddock --optghc=-package-name --optghc=stringtable-atom-0.0.6.1 --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 --read-interface=http://hackage.haskell.org/packages/archive/syb/0.1.0.3/doc/html,/usr/local/tmp/archive/install/share/doc/syb-0.1.0.3/html/syb.haddock --odir=dist/doc/html/stringtable-atom/ --title=stringtable-atom-0.0.6.1: Memoize Strings as Atoms for fast comparison and sorting, with maps and sets --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-isrc --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-Icbits --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=-package --optghc=containers-0.2.0.1 --optghc=-package --optghc=syb-0.1.0.3 --optghc=-O --optghc=-XForeignFunctionInterface --optghc=-XTypeSynonymInstances --optghc=-XDeriveDataTypeable --optghc=-XFlexibleInstances --optghc=-XGeneralizedNewtypeDeriving -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp17237/dist/build/StringTable/Atom.hs dist/build/tmp17237/src/StringTable/AtomMap.hs dist/build/tmp17237/src/StringTable/AtomSet.hs src/StringTable/Atom.hsc:187:17: No instance for (ToAtom bytestring-0.9.1.4:Data.ByteString.Internal.ByteString) arising from a use of `toAtom' at src/StringTable/Atom.hsc:187:17-25 Possible fix: add an instance declaration for (ToAtom bytestring-0.9.1.4:Data.ByteString.Internal.ByteString) In the second argument of `($)', namely `toAtom bs' In the expression: return $ toAtom bs In the expression: do x <- getWord8 bs <- getBytes (fromIntegral x) return $ toAtom bs src/StringTable/Atom.hsc:191:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' against inferred type `BS.ByteString' In the first argument of `putByteString', namely `bs' In the expression: putByteString bs In the expression: do let bs = fromAtom a putWord8 $ fromIntegral $ BS.length bs putByteString bs *** Trying again with preferred-versions *** setup configure Configuring stringtable-atom-0.0.6.1... Flags chosen: sybinbase=True Dependency base ==3.*: using base-3.0.3.1 Dependency binary -any: using binary-0.5.0.2 Dependency bytestring >=0.9.0.1: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 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 stringtable-atom-0.0.6.1 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/stringtable-atom-0.0.6.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/stringtable-atom-0.0.6.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/stringtable-atom-0.0.6.1 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/17258.c -o /tmp/17258 -D__GLASGOW_HASKELL__=610 -Icbits -I. -std=c99 -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 stringtable-atom-0.0.6.1... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/stringtable-atom-0.0.6.1 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library stringtable-atom-0.0.6.1... Running hscolour for stringtable-atom-0.0.6.1... Creating dist/doc/html/stringtable-atom (and its parents) Creating dist/doc/html/stringtable-atom/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/stringtable-atom/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/stringtable-atom/src/StringTable-Atom.html dist/build/StringTable/Atom.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/stringtable-atom/src/StringTable-AtomMap.html src/StringTable/AtomMap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/stringtable-atom/src/StringTable-AtomSet.html src/StringTable/AtomSet.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 dist/build/StringTable/Atom.hs to dist/build/tmp17292/dist/build/StringTable/Atom.hs copy src/StringTable/AtomMap.hs to dist/build/tmp17292/src/StringTable/AtomMap.hs copy src/StringTable/AtomSet.hs to dist/build/tmp17292/src/StringTable/AtomSet.hs Creating dist/doc/html/stringtable-atom/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/stringtable-atom-0.0.6.1 --prologue=dist/doc/html/stringtable-atom/haddock-prolog17292.txt --dump-interface=dist/doc/html/stringtable-atom/stringtable-atom.haddock --optghc=-package-name --optghc=stringtable-atom-0.0.6.1 --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/stringtable-atom/ --title=stringtable-atom-0.0.6.1: Memoize Strings as Atoms for fast comparison and sorting, with maps and sets --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-isrc --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-Icbits --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=-package --optghc=containers-0.2.0.1 --optghc=-O --optghc=-XForeignFunctionInterface --optghc=-XTypeSynonymInstances --optghc=-XDeriveDataTypeable --optghc=-XFlexibleInstances --optghc=-XGeneralizedNewtypeDeriving -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp17292/dist/build/StringTable/Atom.hs dist/build/tmp17292/src/StringTable/AtomMap.hs dist/build/tmp17292/src/StringTable/AtomSet.hs src/StringTable/Atom.hsc:187:17: No instance for (ToAtom bytestring-0.9.1.4:Data.ByteString.Internal.ByteString) arising from a use of `toAtom' at src/StringTable/Atom.hsc:187:17-25 Possible fix: add an instance declaration for (ToAtom bytestring-0.9.1.4:Data.ByteString.Internal.ByteString) In the second argument of `($)', namely `toAtom bs' In the expression: return $ toAtom bs In the expression: do x <- getWord8 bs <- getBytes (fromIntegral x) return $ toAtom bs src/StringTable/Atom.hsc:191:22: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' against inferred type `BS.ByteString' In the first argument of `putByteString', namely `bs' In the expression: putByteString bs In the expression: do let bs = fromAtom a putWord8 $ fromIntegral $ BS.length bs putByteString bs