*** setup configure Configuring bencode-0.5... Dependency base <5: using base-4.1.0.0 Dependency binary -any: using binary-0.5.0.2 Dependency bytestring -any: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 Dependency parsec -any: using parsec-3.0.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package parsec-3.0.1 requires bytestring-0.9.1.4 package binary-0.5.0.2 requires bytestring-0.9.1.4 package bencode-0.5 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/bencode-0.5/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/bencode-0.5 Documentation installed in: /usr/local/tmp/archive/install/share/doc/bencode-0.5 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/7365.c -o /tmp/7365 -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 bencode-0.5... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/bencode-0.5 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library bencode-0.5... Running hscolour for bencode-0.5... Creating dist/doc/html/bencode (and its parents) Creating dist/doc/html/bencode/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/bencode/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/bencode/src/Data-BEncode.html src/Data/BEncode.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/bencode/src/Data-BEncode-Lexer.html src/Data/BEncode/Lexer.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/bencode/src/Data-BEncode-Parser.html src/Data/BEncode/Parser.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 src/Data/BEncode.hs to dist/build/tmp7407/src/Data/BEncode.hs copy src/Data/BEncode/Lexer.hs to dist/build/tmp7407/src/Data/BEncode/Lexer.hs copy src/Data/BEncode/Parser.hs to dist/build/tmp7407/src/Data/BEncode/Parser.hs Creating dist/doc/html/bencode/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/bencode-0.5 --prologue=dist/doc/html/bencode/haddock-prolog7407.txt --dump-interface=dist/doc/html/bencode/bencode.haddock --optghc=-package-name --optghc=bencode-0.5 --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/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/parsec/3.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/parsec-3.0.1/html/parsec.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/bencode/ --title=bencode-0.5: Parser and printer for bencoded data. --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-isrc --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=-package --optghc=containers-0.2.0.1 --optghc=-package --optghc=parsec-3.0.1 --optghc=-O --optghc=-Wall --optghc=-XPatternGuards -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp7407/src/Data/BEncode.hs dist/build/tmp7407/src/Data/BEncode/Lexer.hs dist/build/tmp7407/src/Data/BEncode/Parser.hs dist/build/tmp7407/src/Data/BEncode.hs:69:18: No instance for (Binary BS.ByteString) arising from a use of `get' at dist/build/tmp7407/src/Data/BEncode.hs:69:18-20 Possible fix: add an instance declaration for (Binary BS.ByteString) In a stmt of a 'do' expression: s <- get In the expression: do s <- get case bRead (L.fromChunks [s]) of { Just e -> return e Nothing -> fail "Failed to parse BEncoded data" } In the definition of `get': get = do s <- get case bRead (L.fromChunks [...]) of { Just e -> return e Nothing -> fail "Failed to parse BEncoded data" } *** Trying again with preferred-versions *** setup configure Configuring bencode-0.5... Dependency base <4: using base-3.0.3.1 Dependency binary -any: using binary-0.5.0.2 Dependency bytestring -any: using bytestring-0.9.1.5 Dependency containers -any: using containers-0.2.0.1 Dependency parsec <3: using parsec-2.1.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 bencode-0.5 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/bencode-0.5/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/bencode-0.5 Documentation installed in: /usr/local/tmp/archive/install/share/doc/bencode-0.5 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/7420.c -o /tmp/7420 -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 bencode-0.5... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/bencode-0.5 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library bencode-0.5... Running hscolour for bencode-0.5... Creating dist/doc/html/bencode (and its parents) Creating dist/doc/html/bencode/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/bencode/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/bencode/src/Data-BEncode.html src/Data/BEncode.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/bencode/src/Data-BEncode-Lexer.html src/Data/BEncode/Lexer.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/bencode/src/Data-BEncode-Parser.html src/Data/BEncode/Parser.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 src/Data/BEncode.hs to dist/build/tmp7455/src/Data/BEncode.hs copy src/Data/BEncode/Lexer.hs to dist/build/tmp7455/src/Data/BEncode/Lexer.hs copy src/Data/BEncode/Parser.hs to dist/build/tmp7455/src/Data/BEncode/Parser.hs Creating dist/doc/html/bencode/ (and its parents) /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/package/bencode-0.5 --prologue=dist/doc/html/bencode/haddock-prolog7455.txt --dump-interface=dist/doc/html/bencode/bencode.haddock --optghc=-package-name --optghc=bencode-0.5 --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/parsec/2.1.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/parsec-2.1.0.1/html/parsec.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/bencode/ --title=bencode-0.5: Parser and printer for bencoded data. --optghc=-hide-all-packages --optghc=-i --optghc=-idist/build --optghc=-isrc --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=-package --optghc=containers-0.2.0.1 --optghc=-package --optghc=parsec-2.1.0.1 --optghc=-O --optghc=-Wall --optghc=-XPatternGuards -B/usr/local/lib/ghc-6.10.2/. dist/build/tmp7455/src/Data/BEncode.hs dist/build/tmp7455/src/Data/BEncode/Lexer.hs dist/build/tmp7455/src/Data/BEncode/Parser.hs dist/build/tmp7455/src/Data/BEncode.hs:69:18: No instance for (Binary BS.ByteString) arising from a use of `get' at dist/build/tmp7455/src/Data/BEncode.hs:69:18-20 Possible fix: add an instance declaration for (Binary BS.ByteString) In a stmt of a 'do' expression: s <- get In the expression: do s <- get case bRead (L.fromChunks [s]) of { Just e -> return e Nothing -> fail "Failed to parse BEncoded data" } In the definition of `get': get = do s <- get case bRead (L.fromChunks [...]) of { Just e -> return e Nothing -> fail "Failed to parse BEncoded data" }