*** setup configure Configuring HAppS-Data-0.9.2... Dependency HAppS-Util >=0.9.2: using HAppS-Util-0.9.3 Dependency HaXml ==1.13.*: using HaXml-1.13.3 Dependency base -any: using base-4.1.0.0 Dependency binary -any: using binary-0.5.0.1 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency mtl -any: using mtl-1.1.0.2 Dependency pretty -any: using pretty-1.0.1.0 Dependency regex-compat -any: using regex-compat-0.92 Dependency syb-with-class >=0.4: using syb-with-class-0.5.1 Dependency template-haskell -any: using template-haskell-2.3.0.1 Using Cabal-1.6.0.1 compiled by ghc-6.8 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/HAppS-Data-0.9.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/HAppS-Data-0.9.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HAppS-Data-0.9.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.15.1 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 No greencard found 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 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 *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library HAppS-Data-0.9.2... Building HAppS-Data-0.9.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name HAppS-Data-0.9.2 --make -hide-all-packages -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 HAppS-Util-0.9.3 -package HaXml-1.13.3 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package mtl-1.1.0.2 -package pretty-1.0.1.0 -package regex-compat-0.92 -package syb-with-class-0.5.1 -package template-haskell-2.3.0.1 -O -Wall -fno-warn-orphans -XUndecidableInstances -XOverlappingInstances -XRank2Types -XTemplateHaskell -XFlexibleInstances -XCPP -XMultiParamTypeClasses -XFunctionalDependencies HAppS.Data HAppS.Data.Default HAppS.Data.Default.Generic HAppS.Data.DeriveAll HAppS.Data.HList HAppS.Data.Migrate HAppS.Data.Normalize HAppS.Data.Pairs HAppS.Data.Xml HAppS.Data.Xml.HaXml HAppS.Data.Atom HAppS.Data.GOps HAppS.Data.Proxy HAppS.Data.Serialize HAppS.Data.SerializeTH HAppS.Data.HListBase HAppS.Data.Xml.Base HAppS.Data.Xml.Instances HAppS.Data.Xml.PrintParse src/HAppS/Data/Atom.hs:1:15: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead src/HAppS/Data/Atom.hs:1:15: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances#-} instead src/HAppS/Data/Serialize.hs:1:11: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances#-} instead src/HAppS/Data/Serialize.hs:1:11: Warning: -fallow-overlapping-instances is deprecated: use -XOverlappingInstances or pragma {-# LANGUAGE OverlappingInstances#-} instead src/HAppS/Data/Xml/Base.hs:3:34: Warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables#-} instead src/HAppS/Data/DeriveAll.hs:25:17: Could not find module `Data.Generics': it is a member of the hidden package `base-3.0.3.1' it is a member of the hidden package `syb-0.1.0.0' it is a member of the hidden package `syb' Use -v to see a list of the files searched for. *** Trying again with preferred-versions *** setup configure Configuring HAppS-Data-0.9.2... Dependency HAppS-Util >=0.9.2: using HAppS-Util-0.9.3 Dependency HaXml ==1.13.* && ==1.13.*: using HaXml-1.13.3 Dependency base -any && <4: using base-3.0.3.1 Dependency binary -any: using binary-0.5.0.1 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency mtl -any: using mtl-1.1.0.2 Dependency pretty -any: using pretty-1.0.1.0 Dependency regex-compat -any: using regex-compat-0.92 Dependency syb-with-class >=0.4: using syb-with-class-0.5.1 Dependency template-haskell -any: using template-haskell-2.3.0.1 Using Cabal-1.6.0.1 compiled by ghc-6.8 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/HAppS-Data-0.9.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/HAppS-Data-0.9.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HAppS-Data-0.9.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.15.1 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 No greencard found 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 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 *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library HAppS-Data-0.9.2... Building HAppS-Data-0.9.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name HAppS-Data-0.9.2 --make -hide-all-packages -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 HAppS-Util-0.9.3 -package HaXml-1.13.3 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package mtl-1.1.0.2 -package pretty-1.0.1.0 -package regex-compat-0.92 -package syb-with-class-0.5.1 -package template-haskell-2.3.0.1 -O -Wall -fno-warn-orphans -XUndecidableInstances -XOverlappingInstances -XRank2Types -XTemplateHaskell -XFlexibleInstances -XCPP -XMultiParamTypeClasses -XFunctionalDependencies HAppS.Data HAppS.Data.Default HAppS.Data.Default.Generic HAppS.Data.DeriveAll HAppS.Data.HList HAppS.Data.Migrate HAppS.Data.Normalize HAppS.Data.Pairs HAppS.Data.Xml HAppS.Data.Xml.HaXml HAppS.Data.Atom HAppS.Data.GOps HAppS.Data.Proxy HAppS.Data.Serialize HAppS.Data.SerializeTH HAppS.Data.HListBase HAppS.Data.Xml.Base HAppS.Data.Xml.Instances HAppS.Data.Xml.PrintParse src/HAppS/Data/Atom.hs:1:15: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead src/HAppS/Data/Atom.hs:1:15: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances#-} instead src/HAppS/Data/Serialize.hs:1:11: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances#-} instead src/HAppS/Data/Serialize.hs:1:11: Warning: -fallow-overlapping-instances is deprecated: use -XOverlappingInstances or pragma {-# LANGUAGE OverlappingInstances#-} instead src/HAppS/Data/Xml/Base.hs:3:34: Warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables#-} instead [ 1 of 19] Compiling HAppS.Data.GOps ( src/HAppS/Data/GOps.hs, dist/build/HAppS/Data/GOps.o ) src/HAppS/Data/GOps.hs:7:0: Warning: Definition but no type signature for `gSet' Inferred type: gSet :: forall a a1. (Data a1, Typeable a) => a -> a1 -> a1 src/HAppS/Data/GOps.hs:8:0: Warning: Definition but no type signature for `gReplace' Inferred type: gReplace :: forall b a. (Data a, Typeable b) => (b -> b) -> a -> a src/HAppS/Data/GOps.hs:10:0: Warning: Definition but no type signature for `gFind' Inferred type: gFind :: forall a (m :: * -> *) a1. (MonadPlus m, Data a1, Typeable a) => a1 -> m a src/HAppS/Data/GOps.hs:12:0: Warning: Definition but no type signature for `gFind'' Inferred type: gFind' :: forall a a1. (Data a1, Typeable a) => a1 -> a src/HAppS/Data/GOps.hs:14:0: Warning: Definition but no type signature for `gModify' Inferred type: gModify :: forall s (m :: * -> *) b. (MonadState s m, Data s, Typeable b) => (b -> b) -> m () src/HAppS/Data/GOps.hs:15:0: Warning: Definition but no type signature for `gAsk' Inferred type: gAsk :: forall r a (m :: * -> *) (m1 :: * -> *) a1. (Data r, Typeable a, MonadReader r m, MonadPlus m1) => (a -> m1 a1) -> m (m1 a1) src/HAppS/Data/GOps.hs:19:0: Warning: Definition but no type signature for `gGet' Inferred type: gGet :: forall t s a (m :: * -> *) (m1 :: * -> *) a1. (Data s, Typeable a, MonadState s m, MonadPlus m1) => (a -> m1 a1) -> t -> m (m1 a1) src/HAppS/Data/GOps.hs:19:7: Warning: Defined but not used: `x' [ 2 of 19] Compiling HAppS.Data.Normalize ( src/HAppS/Data/Normalize.hs, dist/build/HAppS/Data/Normalize.o ) [ 3 of 19] Compiling HAppS.Data.Migrate ( src/HAppS/Data/Migrate.hs, dist/build/HAppS/Data/Migrate.o ) [ 4 of 19] Compiling HAppS.Data.Default ( src/HAppS/Data/Default.hs, dist/build/HAppS/Data/Default.o ) [ 5 of 19] Compiling HAppS.Data.Default.Generic ( src/HAppS/Data/Default/Generic.hs, dist/build/HAppS/Data/Default/Generic.o ) [ 6 of 19] Compiling HAppS.Data.DeriveAll ( src/HAppS/Data/DeriveAll.hs, dist/build/HAppS/Data/DeriveAll.o ) [ 7 of 19] Compiling HAppS.Data.HListBase ( src/HAppS/Data/HListBase.hs, dist/build/HAppS/Data/HListBase.o ) [ 8 of 19] Compiling HAppS.Data.Xml.Base ( src/HAppS/Data/Xml/Base.hs, dist/build/HAppS/Data/Xml/Base.o ) src/HAppS/Data/Xml/Base.hs:281:23: GADT pattern match with non-rigid result type `t1' Solution: add a type signature In a case alternative: Rigid -> case m of { Just ([], x) -> Just x _ -> Nothing } In the expression: case r of { Rigid -> case m of { Just ([], x) -> Just x _ -> Nothing } Flexible -> case runIdentity m of { (_, x) -> Just x } } In the expression: let m :: m ([Element], t) m = constrFromElements r c es in case r of { Rigid -> case m of { Just ([], x) -> Just x _ -> Nothing } Flexible -> case runIdentity m of { (_, x) -> Just x } } Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. Loading package syb ... linking ... done. Loading package array-0.2.0.0 ... linking ... done. Loading package bytestring-0.9.1.4 ... linking ... done. Loading package containers-0.2.0.1 ... linking ... done. Loading package packedstring-0.1.0.1 ... linking ... done. Loading package pretty-1.0.1.0 ... linking ... done. Loading package template-haskell ... linking ... done. Loading package syb-with-class-0.5.1 ... linking ... done. Loading package mtl-1.1.0.2 ... linking ... done. Loading package regex-base-0.93.1 ... linking ... done. Loading package regex-posix-0.94.1 ... linking ... done. Loading package regex-compat-0.92 ... linking ... done. Loading package binary-0.5.0.1 ... linking ... done. Loading package filepath-1.1.0.2 ... linking ... done. Loading package old-locale-1.0.0.1 ... linking ... done. Loading package old-time-1.0.0.2 ... linking ... done. Loading package unix-2.3.2.0 ... linking ... done. Loading package directory-1.0.0.3 ... linking ... done. Loading package process-1.0.1.1 ... linking ... done. Loading package random-1.0.0.1 ... linking ... done. Loading package haskell98 ... linking ... done. Loading package HaXml-1.13.3 ... linking ... done. Loading package base-3.0.3.1 ... linking ... done. Loading package parsec-3.0.0 ... linking ... done. Loading package network-2.2.1 ... linking ... done. Loading package time-1.1.2.3 ... linking ... done. Loading package hslogger-1.0.7 ... linking ... done. Loading package HAppS-Util-0.9.3 ... linking ... done.