*** setup configure Configuring Flippi-0.0.3... Dependency base-any: using base-3.0.2.0 Dependency haskell98-any: using haskell98-1.0.1.0 Dependency xhtml-any: using xhtml-3000.2.0.1 Dependency html-any: using html-1.0.1.2 Dependency cgi-any: using cgi-3001.1.7.0 Dependency parsec-any: using parsec-3.0.0 Dependency directory-any: using directory-1.0.0.1 Dependency old-time-any: using old-time-1.0.0.0 Dependency FiniteMap-any: using FiniteMap-0.1 Using compiler: ghc-6.8.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/Flippi-0.0.3/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/Flippi-0.0.3 Documentation installed in: /usr/local/tmp/archive/install/share/doc/Flippi-0.0.3 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 ghc version 6.8.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.0 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.66-ghc 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 executables for Flippi-0.0.3... Building Flippi-0.0.3... Building executable: flippi... Creating dist/build/flippi (and its parents) Creating dist/build/flippi/flippi-tmp (and its parents) /usr/local/bin/ghc -o dist/build/flippi/flippi --make -hide-all-packages -i -idist/build/autogen -idist/build/flippi/flippi-tmp -isrc/ -Idist/build/flippi/flippi-tmp -odir dist/build/flippi/flippi-tmp -hidir dist/build/flippi/flippi-tmp -stubdir dist/build/flippi/flippi-tmp -package base-3.0.2.0 -package haskell98-1.0.1.0 -package xhtml-3000.2.0.1 -package html-1.0.1.2 -package cgi-3001.1.7.0 -package parsec-3.0.0 -package directory-1.0.0.1 -package old-time-1.0.0.0 -package FiniteMap-0.1 -O -O2 -Wall -optl-Wl,-s src/Flippi.hs [1 of 7] Compiling ScriptSyntax ( src//ScriptSyntax.hs, dist/build/flippi/flippi-tmp/ScriptSyntax.o ) src//ScriptSyntax.hs:38:0: Warning: Definition but no type signature for `scriptname' Inferred type: scriptname :: forall u. Text.Parsec.Prim.ParsecT s u m [Char] src//ScriptSyntax.hs:40:0: Warning: Definition but no type signature for `fieldname' Inferred type: fieldname :: forall u. Text.Parsec.Prim.ParsecT s u m [Char] src//ScriptSyntax.hs:42:0: Warning: Definition but no type signature for `parmstring' Inferred type: parmstring :: forall u. Text.Parsec.Prim.ParsecT s u m [Char] src//ScriptSyntax.hs:46:0: Warning: Definition but no type signature for `scriptparm' Inferred type: scriptparm :: forall st. Text.Parsec.Prim.ParsecT [Char] st mtl-1.1.0.2:Control.Monad.Identity.Identity ScriptParm src//ScriptSyntax.hs:48:21: Warning: This binding for `p' shadows an existing binding In a pattern binding in a 'do' expression src//ScriptSyntax.hs:55:0: Warning: Definition but no type signature for `scriptLink' Inferred type: scriptLink :: forall st. [Char] -> Text.Parsec.Prim.ParsecT [Char] st mtl-1.1.0.2:Control.Monad.Identity.Identity Html src//ScriptSyntax.hs:59:34: Warning: This binding for `p' shadows an existing binding In a pattern binding in a 'do' expression src//ScriptSyntax.hs:65:19: Warning: This binding for `t' shadows an existing binding In a pattern binding in a 'do' expression src//ScriptSyntax.hs:70:20: Warning: This binding for `ps' shadows an existing binding In a case alternative src//ScriptSyntax.hs:103:0: Warning: Definition but no type signature for `matchScriptLink' Inferred type: matchScriptLink :: forall st. Text.Parsec.Prim.ParsecT [Char] st mtl-1.1.0.2:Control.Monad.Identity.Identity Html src//ScriptSyntax.hs:109:41: Warning: This binding for `p' shadows an existing binding In a pattern binding in a 'do' expression src//ScriptSyntax.hs:110:41: Warning: This binding for `spaces' shadows an existing binding In a pattern binding in a 'do' expression src//ScriptSyntax.hs:119:37: Warning: This binding for `spaces' shadows an existing binding In a pattern binding in a 'do' expression [2 of 7] Compiling DeWikify ( src//DeWikify.hs, dist/build/flippi/flippi-tmp/DeWikify.o ) src//DeWikify.hs:39:0: Warning: Definition but no type signature for `wikiParser' Inferred type: wikiParser :: forall u. [Char] -> Text.Parsec.Prim.ParsecT [Char] u mtl-1.1.0.2:Control.Monad.Identity.Identity Html src//DeWikify.hs:49:0: Warning: Definition but no type signature for `newParagraph' Inferred type: newParagraph :: forall u. Text.Parsec.Prim.ParsecT s u m Html src//DeWikify.hs:55:0: Warning: Definition but no type signature for `wikiLink' Inferred type: wikiLink :: forall st. [Char] -> Text.Parsec.Prim.ParsecT [Char] st mtl-1.1.0.2:Control.Monad.Identity.Identity Html src//DeWikify.hs:60:0: Warning: Definition but no type signature for `prependedUnderscore' Inferred type: prependedUnderscore :: forall u. Text.Parsec.Prim.ParsecT [Char] u mtl-1.1.0.2:Control.Monad.Identity.Identity Html src//DeWikify.hs:65:46: Warning: This binding for `p' shadows an existing binding In a pattern binding in a 'do' expression src//DeWikify.hs:70:0: Warning: Definition but no type signature for `pagenamePattern' Inferred type: pagenamePattern :: forall u. Text.Parsec.Prim.ParsecT s u m [Char] src//DeWikify.hs:72:0: Warning: Definition but no type signature for `linkPattern' Inferred type: linkPattern :: forall st. GenParser Char st ([Char], [Char], [Char]) src//DeWikify.hs:78:17: Warning: This binding for `p' shadows an existing binding In a pattern binding in a 'do' expression src//DeWikify.hs:81:0: Warning: Definition but no type signature for `studlyCapsPattern' Inferred type: studlyCapsPattern :: forall u. Text.Parsec.Prim.ParsecT s u m [Char] src//DeWikify.hs:88:0: Warning: Definition but no type signature for `aCharacter' Inferred type: aCharacter :: forall u. Text.Parsec.Prim.ParsecT s u m Html src//DeWikify.hs:91:0: Warning: Definition but no type signature for `deWikify' Inferred type: deWikify :: [Char] -> [Char] -> Html [3 of 7] Compiling PageIO ( src//PageIO.hs, dist/build/flippi/flippi-tmp/PageIO.o ) src//PageIO.hs:45:0: Warning: Definition but no type signature for `dataDirectory' Inferred type: dataDirectory :: [Char] src//PageIO.hs:47:0: Warning: Definition but no type signature for `pagenameToFilename' Inferred type: pagenameToFilename :: [Char] -> [Char] src//PageIO.hs:49:0: Warning: Definition but no type signature for `isPagename' Inferred type: isPagename :: [Char] -> Bool src//PageIO.hs:60:0: Warning: Definition but no type signature for `deCRLF' Inferred type: deCRLF :: [Char] -> [Char] src//PageIO.hs:69:0: Warning: Definition but no type signature for `writePage' Inferred type: writePage :: [Char] -> [Char] -> IO () src//PageIO.hs:73:0: Warning: Definition but no type signature for `getPage' Inferred type: getPage :: forall t. [Char] -> t -> IO (Maybe [Char]) src//PageIO.hs:73:10: Warning: Defined but not used: `env' src//PageIO.hs:82:0: Warning: Definition but no type signature for `getPagenames' Inferred type: getPagenames :: IO [[Char]] src//PageIO.hs:60:11: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: Left _ [4 of 7] Compiling PageTemplates ( src//PageTemplates.hs, dist/build/flippi/flippi-tmp/PageTemplates.o ) src//PageTemplates.hs:39:0: Warning: Definition but no type signature for `htmlPage' Inferred type: htmlPage :: forall b (m :: * -> *). (Monad m, HTML b) => b -> Html -> [([Char], String)] -> m Html src//PageTemplates.hs:39:9: Warning: This binding for `p' shadows an existing binding In the definition of `htmlPage' src//PageTemplates.hs:40:33: Warning: Defined but not used: `h' src//PageTemplates.hs:44:23: Warning: Defined but not used: `editform' src//PageTemplates.hs:63:0: Warning: Definition but no type signature for `page' Inferred type: page :: forall (t :: * -> *). (Monad t) => [Char] -> String -> [([Char], [Char])] -> t Html src//PageTemplates.hs:63:5: Warning: This binding for `p' shadows an existing binding In the definition of `page' src//PageTemplates.hs:66:0: Warning: Definition but no type signature for `viewPage' Inferred type: viewPage :: String -> [([Char], String)] -> IO Html src//PageTemplates.hs:66:9: Warning: This binding for `p' shadows an existing binding In the definition of `viewPage' src//PageTemplates.hs:66:20: Warning: This binding for `text' shadows an existing binding In a pattern binding in a 'do' expression src//PageTemplates.hs:68:26: Warning: This binding for `text' shadows an existing binding In a case alternative src//PageTemplates.hs:81:0: Warning: Definition but no type signature for `editPage' Inferred type: editPage :: [Char] -> [([Char], String)] -> IO Html src//PageTemplates.hs:81:9: Warning: This binding for `p' shadows an existing binding In the definition of `editPage' src//PageTemplates.hs:82:20: Warning: This binding for `text' shadows an existing binding In a pattern binding in a 'do' expression src//PageTemplates.hs:84:20: Warning: This binding for `modified' shadows an existing binding In a pattern binding in a 'do' expression src//PageTemplates.hs:117:0: Warning: Definition but no type signature for `pageNotFound' Inferred type: pageNotFound :: forall (t :: * -> *). (Monad t) => [Char] -> [([Char], [Char])] -> t Html src//PageTemplates.hs:117:13: Warning: This binding for `p' shadows an existing binding In the definition of `pageNotFound' src//PageTemplates.hs:133:0: Warning: Definition but no type signature for `updateSuccessPage' Inferred type: updateSuccessPage :: forall (t :: * -> *). (Monad t) => [Char] -> [([Char], [Char])] -> t Html src//PageTemplates.hs:133:18: Warning: This binding for `p' shadows an existing binding In the definition of `updateSuccessPage' src//PageTemplates.hs:136:0: Warning: Definition but no type signature for `updateMalformedPage' Inferred type: updateMalformedPage :: forall t (t1 :: * -> *). (Monad t1) => t -> [([Char], [Char])] -> t1 Html src//PageTemplates.hs:136:20: Warning: Defined but not used: `p' src//PageTemplates.hs:136:20: Warning: This binding for `p' shadows an existing binding In the definition of `updateMalformedPage' src//PageTemplates.hs:139:0: Warning: Definition but no type signature for `editMalformedPage' Inferred type: editMalformedPage :: forall t (t1 :: * -> *). (Monad t1) => t -> [([Char], [Char])] -> t1 Html src//PageTemplates.hs:139:18: Warning: Defined but not used: `p' src//PageTemplates.hs:139:18: Warning: This binding for `p' shadows an existing binding In the definition of `editMalformedPage' src//PageTemplates.hs:142:0: Warning: Definition but no type signature for `editConflictPage' Inferred type: editConflictPage :: forall (t :: * -> *). (Monad t) => [Char] -> [([Char], [Char])] -> t Html src//PageTemplates.hs:142:17: Warning: This binding for `p' shadows an existing binding In the definition of `editConflictPage' src//PageTemplates.hs:150:0: Warning: Definition but no type signature for `malformedQueryPage' Inferred type: malformedQueryPage :: forall (t :: * -> *). (Monad t) => [([Char], [Char])] -> t Html src//PageTemplates.hs:154:0: Warning: Definition but no type signature for `unknownScriptPage' Inferred type: unknownScriptPage :: forall (t :: * -> *). (Monad t) => [Char] -> [([Char], [Char])] -> t Html src//PageTemplates.hs:159:0: Warning: Definition but no type signature for `defaultPage' Inferred type: defaultPage :: [([Char], String)] -> IO Html [5 of 7] Compiling RecentChanges ( src//RecentChanges.hs, dist/build/flippi/flippi-tmp/RecentChanges.o ) src//RecentChanges.hs:32:0: Warning: Module `Text.Html' is imported, but nothing from it is used, except perhaps instances visible in `Text.Html' To suppress this warning, use: import Text.Html() src//RecentChanges.hs:37:0: Warning: Definition but no type signature for `recentChanges' Inferred type: recentChanges :: [([Char], String)] -> IO Html src//RecentChanges.hs:42:58: Warning: Defined but not used: `d' [6 of 7] Compiling Scripts ( src//Scripts.hs, dist/build/flippi/flippi-tmp/Scripts.o ) src//Scripts.hs:38:0: Warning: Definition but no type signature for `scriptMap' Inferred type: scriptMap :: FiniteMap [Char] ([([Char], [Char])] -> IO Html) src//Scripts.hs:45:0: Warning: Definition but no type signature for `scripts' Inferred type: scripts :: [([Char], [([Char], [Char])] -> IO Html)] src//Scripts.hs:49:0: Warning: Definition but no type signature for `helloWorldScript' Inferred type: helloWorldScript :: forall (t :: * -> *). (Monad t) => [([Char], [Char])] -> t Html [7 of 7] Compiling Main ( src/Flippi.hs, dist/build/flippi/flippi-tmp/Main.o ) src/Flippi.hs:45:15: Couldn't match expected type `xhtml-3000.2.0.1:Text.XHtml.Internals.Html' against inferred type `Html' Expected type: [(String, String)] -> IO xhtml-3000.2.0.1:Text.XHtml.Internals.Html Inferred type: [(String, String)] -> IO Html In the first argument of `wrapper', namely `cgi' In the expression: wrapper cgi