*** setup configure Configuring twidge-0.99.1... Dependency Cabal -any: using Cabal-1.7.0 Dependency ConfigFile -any: using ConfigFile-1.0.5 Dependency HSH -any: using HSH-2.0.2 Dependency HaXml <1.19 && >=1.13.2: using HaXml-1.13.3 Dependency MissingH >=1.0.0: using MissingH-1.0.0 Dependency base -any: using base-4.1.0.0 Dependency directory -any: using directory-1.0.0.3 Dependency hslogger -any: using hslogger-1.0.7 Dependency mtl -any: using mtl-1.1.0.2 Dependency network -any: using network-2.2.1.4 Dependency parsec -any: using parsec-3.0.0 Dependency regex-posix -any: using regex-posix-0.94.1 Dependency unix -any: using unix-2.3.2.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package MissingH-1.0.0 requires parsec-2.1.0.1 package ConfigFile-1.0.5 requires parsec-2.1.0.1 package twidge-0.99.1 requires parsec-3.0.0 package network-2.2.1.4 requires parsec-3.0.0 Using Cabal-1.7.0 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/twidge-0.99.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/twidge-0.99.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/twidge-0.99.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.3 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 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/13460.c -o /tmp/13460 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/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/process-1.0.1.1/include -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/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 twidge-0.99.1... Building twidge-0.99.1... Building executable: twidge... Creating dist/build/twidge (and its parents) Creating dist/build/twidge/twidge-tmp (and its parents) /usr/local/bin/ghc -o dist/build/twidge/twidge --make -hide-all-packages -i -idist/build/twidge/twidge-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/twidge/twidge-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/twidge/twidge-tmp -hidir dist/build/twidge/twidge-tmp -stubdir dist/build/twidge/twidge-tmp -package Cabal-1.7.0 -package ConfigFile-1.0.5 -package HSH-2.0.2 -package HaXml-1.13.3 -package MissingH-1.0.0 -package base-4.1.0.0 -package directory-1.0.0.3 -package hslogger-1.0.7 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-3.0.0 -package regex-posix-0.94.1 -package unix-2.3.2.0 -O -O2 -XExistentialQuantification -XOverlappingInstances -XUndecidableInstances ./twidge.hs [ 1 of 13] Compiling Download ( Download.hs, dist/build/twidge/twidge-tmp/Download.o ) [ 3 of 13] Compiling MailParser ( MailParser.hs, dist/build/twidge/twidge-tmp/MailParser.o ) [ 7 of 13] Compiling Utils ( Utils.hs, dist/build/twidge/twidge-tmp/Utils.o ) [10 of 13] Compiling Commands.Update ( Commands/Update.hs, dist/build/twidge/twidge-tmp/Commands/Update.o ) [11 of 13] Compiling Commands.Ls ( Commands/Ls.hs, dist/build/twidge/twidge-tmp/Commands/Ls.o ) Commands/Ls.hs:231:24: Couldn't match expected type `[String] -> t' against inferred type `String' In the expression: wrapText (80 - 22 - 2) (words (sText m)) In the definition of `wrappedtext': wrappedtext = wrapText (80 - 22 - 2) (words (sText m)) In the definition of `shortStatus': shortStatus m = (printf "%-22s %s\n" ("<" ++ sSender m ++ ">") (head wrappedtext)) ++ concatMap (printf "%-22s %s\n" "") (tail wrappedtext) where wrappedtext = wrapText (80 - 22 - 2) (words (sText m)) Commands/Ls.hs:239:25: Couldn't match expected type `[String] -> t' against inferred type `String' In the expression: wrapText (80 - 22 - 22 - 3) (words (sText m)) In the definition of `wrappedtext': wrappedtext = wrapText (80 - 22 - 22 - 3) (words (sText m)) In the definition of `shortDM': shortDM m = (printf "%-22s %-22s %s\n" ("<" ++ sSender m ++ ">") ("<" ++ sRecipient m ++ ">") (head wrappedtext)) ++ concatMap (printf "%-22s %-22s %s\n" "" "") (tail wrappedtext) where wrappedtext = wrapText (80 - 22 - 22 - 3) (words (sText m)) *** Trying again with preferred-versions *** setup configure Configuring twidge-0.99.1... Dependency Cabal -any: using Cabal-1.7.0 Dependency ConfigFile -any: using ConfigFile-1.0.5 Dependency HSH -any: using HSH-2.0.2 Dependency HaXml <1.19 && >=1.13.2 && ==1.13.*: using HaXml-1.13.3 Dependency MissingH >=1.0.0: using MissingH-1.0.0 Dependency base -any && <4: using base-3.0.3.1 Dependency directory -any: using directory-1.0.0.3 Dependency hslogger -any: using hslogger-1.0.7 Dependency mtl -any: using mtl-1.1.0.2 Dependency network -any: using network-2.2.1.4 Dependency parsec -any && <3: using parsec-2.1.0.1 Dependency regex-posix -any: using regex-posix-0.94.1 Dependency unix -any: using unix-2.3.2.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package twidge-0.99.1 requires parsec-2.1.0.1 package MissingH-1.0.0 requires parsec-2.1.0.1 package ConfigFile-1.0.5 requires parsec-2.1.0.1 package network-2.2.1.4 requires parsec-3.0.0 Using Cabal-1.7.0 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/twidge-0.99.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/twidge-0.99.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/twidge-0.99.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.3 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 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/13513.c -o /tmp/13513 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/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/process-1.0.1.1/include -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/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 twidge-0.99.1... Building twidge-0.99.1... Building executable: twidge... Creating dist/build/twidge (and its parents) Creating dist/build/twidge/twidge-tmp (and its parents) /usr/local/bin/ghc -o dist/build/twidge/twidge --make -hide-all-packages -i -idist/build/twidge/twidge-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/twidge/twidge-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/twidge/twidge-tmp -hidir dist/build/twidge/twidge-tmp -stubdir dist/build/twidge/twidge-tmp -package Cabal-1.7.0 -package ConfigFile-1.0.5 -package HSH-2.0.2 -package HaXml-1.13.3 -package MissingH-1.0.0 -package base-3.0.3.1 -package directory-1.0.0.3 -package hslogger-1.0.7 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package regex-posix-0.94.1 -package unix-2.3.2.0 -O -O2 -XExistentialQuantification -XOverlappingInstances -XUndecidableInstances ./twidge.hs [ 3 of 13] Compiling MailParser ( MailParser.hs, dist/build/twidge/twidge-tmp/MailParser.o ) [10 of 13] Compiling Commands.Update ( Commands/Update.hs, dist/build/twidge/twidge-tmp/Commands/Update.o ) [11 of 13] Compiling Commands.Ls ( Commands/Ls.hs, dist/build/twidge/twidge-tmp/Commands/Ls.o ) Commands/Ls.hs:231:24: Couldn't match expected type `[String] -> t' against inferred type `String' In the expression: wrapText (80 - 22 - 2) (words (sText m)) In the definition of `wrappedtext': wrappedtext = wrapText (80 - 22 - 2) (words (sText m)) In the definition of `shortStatus': shortStatus m = (printf "%-22s %s\n" ("<" ++ sSender m ++ ">") (head wrappedtext)) ++ concatMap (printf "%-22s %s\n" "") (tail wrappedtext) where wrappedtext = wrapText (80 - 22 - 2) (words (sText m)) Commands/Ls.hs:239:25: Couldn't match expected type `[String] -> t' against inferred type `String' In the expression: wrapText (80 - 22 - 22 - 3) (words (sText m)) In the definition of `wrappedtext': wrappedtext = wrapText (80 - 22 - 22 - 3) (words (sText m)) In the definition of `shortDM': shortDM m = (printf "%-22s %-22s %s\n" ("<" ++ sSender m ++ ">") ("<" ++ sRecipient m ++ ">") (head wrappedtext)) ++ concatMap (printf "%-22s %-22s %s\n" "" "") (tail wrappedtext) where wrappedtext = wrapText (80 - 22 - 22 - 3) (words (sText m))