*** setup configure Configuring xml2x-0.4.2... Dependency array -any: using array-0.2.0.0 Dependency base >3 && <4.2: using base-4.1.0.0 Dependency bio >=0.3.4: using bio-0.4 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 xhtml -any: using xhtml-3000.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 parsec-3.0.0 requires bytestring-0.9.1.4 package bio-0.4 requires bytestring-0.9.1.4 package binary-0.5.0.1 requires bytestring-0.9.1.4 package xml2x-0.4.2 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/xml2x-0.4.2/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/xml2x-0.4.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/xml2x-0.4.2 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/2164.c -o /tmp/2164 -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/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2/include -I/usr/local/tmp/archive/install/lib/network-2.2.1.4/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/old-time-1.0.0.2/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 build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for xml2x-0.4.2... Building xml2x-0.4.2... Building executable xml2x... Creating dist/build/xml2x (and its parents) Creating dist/build/xml2x/xml2x-tmp (and its parents) /usr/local/bin/ghc --make -o dist/build/xml2x/xml2x -hide-all-packages -package-conf dist/package.conf.inplace -i -idist/build/xml2x/xml2x-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/xml2x/xml2x-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/xml2x/xml2x-tmp -hidir dist/build/xml2x/xml2x-tmp -stubdir dist/build/xml2x/xml2x-tmp -package array-0.2.0.0 -package base-4.1.0.0 -package bio-0.4 -package bytestring-0.9.1.5 -package containers-0.2.0.1 -package directory-1.0.0.3 -package xhtml-3000.2.0.1 -O -Wall -O2 -threaded -XRank2Types src/Xml2X.hs [1 of 5] Compiling Tabulate ( src/Tabulate.hs, dist/build/xml2x/xml2x-tmp/Tabulate.o ) src/Tabulate.hs:17:29: Couldn't match expected type `ByteString' against inferred type `SeqId' In the second argument of `($)', namely `query b' In the second argument of `($)', namely `words $ query b' In the expression: head $ words $ query b src/Tabulate.hs:20:29: Couldn't match expected type `ByteString' against inferred type `SeqId' In the second argument of `($)', namely `subject h' In the second argument of `($)', namely `words $ subject h' In the expression: head $ words $ subject h *** Trying again with preferred-versions *** setup configure Configuring xml2x-0.4.2... Dependency array -any: using array-0.2.0.0 Dependency base >3 && <4: using base-3.0.3.1 Dependency bio >=0.3.4: using bio-0.4 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 xhtml -any: using xhtml-3000.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 parsec-3.0.0 requires bytestring-0.9.1.4 package bio-0.4 requires bytestring-0.9.1.4 package binary-0.5.0.1 requires bytestring-0.9.1.4 package xml2x-0.4.2 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/xml2x-0.4.2/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/xml2x-0.4.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/xml2x-0.4.2 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/2209.c -o /tmp/2209 -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/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2/include -I/usr/local/tmp/archive/install/lib/network-2.2.1.4/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/old-time-1.0.0.2/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 build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for xml2x-0.4.2... Building xml2x-0.4.2... Building executable xml2x... Creating dist/build/xml2x (and its parents) Creating dist/build/xml2x/xml2x-tmp (and its parents) /usr/local/bin/ghc --make -o dist/build/xml2x/xml2x -hide-all-packages -package-conf dist/package.conf.inplace -i -idist/build/xml2x/xml2x-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/xml2x/xml2x-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/xml2x/xml2x-tmp -hidir dist/build/xml2x/xml2x-tmp -stubdir dist/build/xml2x/xml2x-tmp -package array-0.2.0.0 -package base-3.0.3.1 -package bio-0.4 -package bytestring-0.9.1.5 -package containers-0.2.0.1 -package directory-1.0.0.3 -package xhtml-3000.2.0.1 -O -Wall -O2 -threaded -XRank2Types src/Xml2X.hs [1 of 5] Compiling Tabulate ( src/Tabulate.hs, dist/build/xml2x/xml2x-tmp/Tabulate.o ) src/Tabulate.hs:17:29: Couldn't match expected type `ByteString' against inferred type `SeqId' In the second argument of `($)', namely `query b' In the second argument of `($)', namely `words $ query b' In the expression: head $ words $ query b src/Tabulate.hs:20:29: Couldn't match expected type `ByteString' against inferred type `SeqId' In the second argument of `($)', namely `subject h' In the second argument of `($)', namely `words $ subject h' In the expression: head $ words $ subject h