*** setup configure Configuring hxt-filter-8.3.0... Dependency HTTP >=4000.0.4 && <5000: using HTTP-4000.0.9 Dependency HUnit >=1.2: using HUnit-1.2.2.1 Dependency base >=4: using base-4.2.0.2 Dependency containers >=0.1: using containers-0.3.0.0 Dependency directory >=1: using directory-1.0.1.1 Dependency filepath >=1: using filepath-1.1.0.4 Dependency haskell98 >=1: using haskell98-1.0.1.1 Dependency hxt >=8.3: using hxt-8.5.4 Dependency network >=2.1: using network-2.2.1.7 Dependency parsec >=2.1 && <3: using parsec-2.1.0.1 Dependency process >=1.0.1: using process-1.0.1.3 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package hxt-filter-8.3.0 requires parsec-2.1.0.1 package network-2.2.1.7 requires parsec-3.1.0 package hxt-8.5.4 requires parsec-3.1.0 package HTTP-4000.0.9 requires parsec-3.1.0 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 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/hxt-filter-8.3.0/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hxt-filter-8.3.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hxt-filter-8.3.0 Using alex version 2.3.3 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 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 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.8.1 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.17 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.25 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 *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hxt-filter-8.3.0... Building hxt-filter-8.3.0... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name hxt-filter-8.3.0 -hide-all-packages -fbuilding-cabal-package -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id HTTP-4000.0.9-14744a8851d6a9d87bc133aa8cc6ffab -package-id HUnit-1.2.2.1-e0ae454ae6a63df781b9c31184c1a583 -package-id base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 -package-id containers-0.3.0.0-ee442470d8dcc9e45f31677c400c5379 -package-id directory-1.0.1.1-f959a158a71fc63ca3822eaf49ec66dc -package-id filepath-1.1.0.4-c303c646a99c2a24d2402008d247eb5f -package-id haskell98-1.0.1.1-4d2891ad99eae334ff8234bcfbddce06 -package-id hxt-8.5.4-791cfb3bdbe5cd4dbbbb3d1566b32b6b -package-id network-2.2.1.7-466bac89cd7f52852454ffd3a3ceb41a -package-id parsec-2.1.0.1-ea096577115d95b0cfde0225e2011564 -package-id process-1.0.1.3-73f46aa4e6bf1a4f2f418a3c761e4e80 -O -Wall -XMultiParamTypeClasses -XDeriveDataTypeable -XFunctionalDependencies -XFlexibleInstances Control.Monad.MonadStateIO Data.Tree.NTree.Filter System.PipeOpen Text.XML.HXT.DOM Text.XML.HXT.DOM.EditFilters Text.XML.HXT.DOM.Namespace Text.XML.HXT.DOM.NamespaceFilter Text.XML.HXT.DOM.XmlState Text.XML.HXT.DOM.XmlTree Text.XML.HXT.DOM.XmlTreeFilter Text.XML.HXT.DOM.XmlTreeFunctions Text.XML.HXT.DOM.XmlTreeTypes Text.XML.HXT.Parser Text.XML.HXT.Parser.DTDProcessing Text.XML.HXT.Parser.DefaultURI Text.XML.HXT.Parser.HtmlParser Text.XML.HXT.Parser.MainFunctions Text.XML.HXT.Parser.ProtocolHandler Text.XML.HXT.Parser.ProtocolHandlerFile Text.XML.HXT.Parser.ProtocolHandlerHttpCurl Text.XML.HXT.Parser.ProtocolHandlerHttpNative Text.XML.HXT.Parser.ProtocolHandlerHttpNativeOrCurl Text.XML.HXT.Parser.XmlInput Text.XML.HXT.Parser.XmlOutput Text.XML.HXT.Parser.XmlParser Text.XML.HXT.Validator.AttributeValueValidation Text.XML.HXT.Validator.DTDValidation Text.XML.HXT.Validator.DocTransformation Text.XML.HXT.Validator.DocValidation Text.XML.HXT.Validator.IdValidation Text.XML.HXT.Validator.RE Text.XML.HXT.Validator.Validation Text.XML.HXT.Validator.ValidationFilter Text.XML.HXT.Validator.XmlRE [ 1 of 34] Compiling Text.XML.HXT.Validator.RE ( src/Text/XML/HXT/Validator/RE.hs, dist/build/Text/XML/HXT/Validator/RE.o ) [ 2 of 34] Compiling System.PipeOpen ( src/System/PipeOpen.hs, dist/build/System/PipeOpen.o ) [ 3 of 34] Compiling Data.Tree.NTree.Filter ( src/Data/Tree/NTree/Filter.hs, dist/build/Data/Tree/NTree/Filter.o ) src/Data/Tree/NTree/Filter.hs:909:6: Warning: A do-notation statement discarded a result of type b. Suppress this warning by saying "_ <- cmd t", or by using the flag -fno-warn-unused-do-bind [ 4 of 34] Compiling Text.XML.HXT.DOM.XmlTreeTypes ( src/Text/XML/HXT/DOM/XmlTreeTypes.hs, dist/build/Text/XML/HXT/DOM/XmlTreeTypes.o ) [ 5 of 34] Compiling Text.XML.HXT.DOM.XmlTreeFunctions ( src/Text/XML/HXT/DOM/XmlTreeFunctions.hs, dist/build/Text/XML/HXT/DOM/XmlTreeFunctions.o ) [ 6 of 34] Compiling Text.XML.HXT.DOM.XmlTreeFilter ( src/Text/XML/HXT/DOM/XmlTreeFilter.hs, dist/build/Text/XML/HXT/DOM/XmlTreeFilter.o ) [ 7 of 34] Compiling Text.XML.HXT.DOM.XmlTree ( src/Text/XML/HXT/DOM/XmlTree.hs, dist/build/Text/XML/HXT/DOM/XmlTree.o ) [ 8 of 34] Compiling Text.XML.HXT.DOM.EditFilters ( src/Text/XML/HXT/DOM/EditFilters.hs, dist/build/Text/XML/HXT/DOM/EditFilters.o ) [ 9 of 34] Compiling Text.XML.HXT.DOM.NamespaceFilter ( src/Text/XML/HXT/DOM/NamespaceFilter.hs, dist/build/Text/XML/HXT/DOM/NamespaceFilter.o ) [10 of 34] Compiling Text.XML.HXT.Validator.XmlRE ( src/Text/XML/HXT/Validator/XmlRE.hs, dist/build/Text/XML/HXT/Validator/XmlRE.o ) [11 of 34] Compiling Control.Monad.MonadStateIO ( src/Control/Monad/MonadStateIO.hs, dist/build/Control/Monad/MonadStateIO.o ) [12 of 34] Compiling Text.XML.HXT.DOM.XmlState ( src/Text/XML/HXT/DOM/XmlState.hs, dist/build/Text/XML/HXT/DOM/XmlState.o ) src/Text/XML/HXT/DOM/XmlState.hs:159:6: Warning: A do-notation statement discarded a result of type SysState. Suppress this warning by saying "_ <- changeSysState (\ s -> s {sysStateErrorHandler = ehf})", or by using the flag -fno-warn-unused-do-bind src/Text/XML/HXT/DOM/XmlState.hs:187:6: Warning: A do-notation statement discarded a result of type SysState. Suppress this warning by saying "_ <- changeSysState (changeSysStateAttrs (addEntry name val))", or by using the flag -fno-warn-unused-do-bind src/Text/XML/HXT/DOM/XmlState.hs:220:6: Warning: A do-notation statement discarded a result of type SysState. Suppress this warning by saying "_ <- changeSysState (changeSysStateAttrs (addEntries (($) (.) toTreel getAttrl t)))", or by using the flag -fno-warn-unused-do-bind src/Text/XML/HXT/DOM/XmlState.hs:338:6: Warning: A do-notation statement discarded a result of type SysState. Suppress this warning by saying "_ <- setSysState (sysState finalState1)", or by using the flag -fno-warn-unused-do-bind src/Text/XML/HXT/DOM/XmlState.hs:503:6: Warning: A do-notation statement discarded a result of type XmlTrees. Suppress this warning by saying "_ <- ehf t", or by using the flag -fno-warn-unused-do-bind src/Text/XML/HXT/DOM/XmlState.hs:625:4: Warning: A do-notation statement discarded a result of type XmlTrees. Suppress this warning by saying "_ <- errorMsgHandler (mkXErrorTree c_warn ((++) errClass status (++) "s detected in " msg) (ghc-prim:GHC.Types.[]))", or by using the flag -fno-warn-unused-do-bind [13 of 34] Compiling Text.XML.HXT.Parser.XmlOutput ( src/Text/XML/HXT/Parser/XmlOutput.hs, dist/build/Text/XML/HXT/Parser/XmlOutput.o ) src/Text/XML/HXT/Parser/XmlOutput.hs:87:8: Warning: A do-notation statement discarded a result of type Either IOError (). Suppress this warning by saying "_ <- ($) io try (hClose h)", or by using the flag -fno-warn-unused-do-bind [14 of 34] Compiling Text.XML.HXT.DOM.Namespace ( src/Text/XML/HXT/DOM/Namespace.hs, dist/build/Text/XML/HXT/DOM/Namespace.o ) src/Text/XML/HXT/DOM/Namespace.hs:49:4: Warning: A do-notation statement discarded a result of type [NTree XNode]. Suppress this warning by saying "_ <- liftF (this) $$< errs", or by using the flag -fno-warn-unused-do-bind [15 of 34] Compiling Text.XML.HXT.DOM ( src/Text/XML/HXT/DOM.hs, dist/build/Text/XML/HXT/DOM.o ) [16 of 34] Compiling Text.XML.HXT.Parser.XmlParser ( src/Text/XML/HXT/Parser/XmlParser.hs, dist/build/Text/XML/HXT/Parser/XmlParser.o ) [17 of 34] Compiling Text.XML.HXT.Validator.AttributeValueValidation ( src/Text/XML/HXT/Validator/AttributeValueValidation.hs, dist/build/Text/XML/HXT/Validator/AttributeValueValidation.o ) [18 of 34] Compiling Text.XML.HXT.Validator.DTDValidation ( src/Text/XML/HXT/Validator/DTDValidation.hs, dist/build/Text/XML/HXT/Validator/DTDValidation.o ) [19 of 34] Compiling Text.XML.HXT.Validator.DocTransformation ( src/Text/XML/HXT/Validator/DocTransformation.hs, dist/build/Text/XML/HXT/Validator/DocTransformation.o ) src/Text/XML/HXT/Validator/DocTransformation.hs:40:0: Warning: The import of `Data.Maybe' is redundant except perhaps to import instances from `Data.Maybe' To import instances alone, use: import Data.Maybe() [20 of 34] Compiling Text.XML.HXT.Validator.DocValidation ( src/Text/XML/HXT/Validator/DocValidation.hs, dist/build/Text/XML/HXT/Validator/DocValidation.o ) src/Text/XML/HXT/Validator/DocValidation.hs:32:0: Warning: The import of `Data.Maybe' is redundant except perhaps to import instances from `Data.Maybe' To import instances alone, use: import Data.Maybe() [21 of 34] Compiling Text.XML.HXT.Validator.IdValidation ( src/Text/XML/HXT/Validator/IdValidation.hs, dist/build/Text/XML/HXT/Validator/IdValidation.o ) [22 of 34] Compiling Text.XML.HXT.Validator.ValidationFilter ( src/Text/XML/HXT/Validator/ValidationFilter.hs, dist/build/Text/XML/HXT/Validator/ValidationFilter.o ) [23 of 34] Compiling Text.XML.HXT.Validator.Validation ( src/Text/XML/HXT/Validator/Validation.hs, dist/build/Text/XML/HXT/Validator/Validation.o ) src/Text/XML/HXT/Validator/Validation.hs:52:5: Warning: A do-notation statement discarded a result of type [NTree XNode]. Suppress this warning by saying "_ <- issueError $$< res", or by using the flag -fno-warn-unused-do-bind [24 of 34] Compiling Text.XML.HXT.Parser.DefaultURI ( src/Text/XML/HXT/Parser/DefaultURI.hs, dist/build/Text/XML/HXT/Parser/DefaultURI.o ) [25 of 34] Compiling Text.XML.HXT.Parser.ProtocolHandlerFile ( src/Text/XML/HXT/Parser/ProtocolHandlerFile.hs, dist/build/Text/XML/HXT/Parser/ProtocolHandlerFile.o ) [26 of 34] Compiling Text.XML.HXT.Parser.ProtocolHandlerHttpCurl ( src/Text/XML/HXT/Parser/ProtocolHandlerHttpCurl.hs, dist/build/Text/XML/HXT/Parser/ProtocolHandlerHttpCurl.o ) src/Text/XML/HXT/Parser/ProtocolHandlerHttpCurl.hs:185:18: Couldn't match expected type `Text.ParserCombinators.Parsec.Prim.GenParser tok () a' against inferred type `parsec-3.1.0:Text.Parsec.String.Parser [(String, String)]' In the first argument of `parse', namely `parseContentType' In the expression: (parse parseContentType h v) In the expression: (case (parse parseContentType h v) of { Right res -> concatMap (uncurry xattr) res Left _ -> [] }) *** Trying again with preferred-versions *** setup configure Configuring hxt-filter-8.3.0... cabal-setup: At least the following dependencies are missing: base >=4 && <4