*** setup configure Configuring hprotoc-0.3.1... Flags chosen: small_base=True Dependency base>=3: using base-3.0.2.0 Dependency containers-any: using containers-0.1.0.2 Dependency bytestring-any: using bytestring-0.9.1.3 Dependency array-any: using array-0.1.0.0 Dependency filepath-any: using filepath-1.1.0.0 Dependency directory-any: using directory-1.0.0.1 Dependency mtl-any: using mtl-1.1.0.2 Dependency QuickCheck-any: using QuickCheck-2.1.0.1 Dependency protocol-buffers==0.3.1: using protocol-buffers-0.3.1 Dependency protocol-buffers-descriptor==0.3.1: using protocol-buffers-descriptor-0.3.1 Dependency binary-any: using binary-0.4.3.1 Dependency utf8-string-any: using utf8-string-0.3.1.1 Dependency parsec-any: using parsec-3.0.0 Dependency haskell-src-any: using haskell-src-1.0.1.3 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/hprotoc-0.3.1/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hprotoc-0.3.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hprotoc-0.3.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.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 hprotoc-0.3.1... Creating dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile (and its parents) /usr/bin/alex -g -o dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs Text/ProtocolBuffers/ProtoCompile/Lexer.x Building hprotoc-0.3.1... Building executable: hprotoc... Creating dist/build/hprotoc (and its parents) Creating dist/build/hprotoc/hprotoc-tmp (and its parents) /usr/local/bin/ghc -o dist/build/hprotoc/hprotoc --make -hide-all-packages -i -idist/build/autogen -idist/build/hprotoc/hprotoc-tmp -i. -Idist/build/hprotoc/hprotoc-tmp -odir dist/build/hprotoc/hprotoc-tmp -hidir dist/build/hprotoc/hprotoc-tmp -stubdir dist/build/hprotoc/hprotoc-tmp -package base-3.0.2.0 -package containers-0.1.0.2 -package bytestring-0.9.1.3 -package array-0.1.0.0 -package filepath-1.1.0.0 -package directory-1.0.0.1 -package mtl-1.1.0.2 -package QuickCheck-2.1.0.1 -package protocol-buffers-0.3.1 -package protocol-buffers-descriptor-0.3.1 -package binary-0.4.3.1 -package utf8-string-0.3.1.1 -package parsec-3.0.0 -package haskell-src-1.0.1.3 -O -O2 -Wall -XDeriveDataTypeable -XEmptyDataDecls -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XMagicHash -XPatternGuards -XRankNTypes -XScopedTypeVariables -XTypeSynonymInstances -XMultiParamTypeClasses -XFunctionalDependencies ./Text/ProtocolBuffers/ProtoCompile.hs [1 of 7] Compiling Text.ProtocolBuffers.ProtoCompile.Instances ( Text/ProtocolBuffers/ProtoCompile/Instances.hs, dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Instances.o ) [2 of 7] Compiling Text.ProtocolBuffers.ProtoCompile.Lexer ( dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs, dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.o ) Text/ProtocolBuffers/ProtoCompile/Lexer.x:77:0: Warning: Definition but no type signature for `errAt' Inferred type: errAt :: AlexPosn -> [Char] -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:79:0: Warning: Definition but no type signature for `dieAt' Inferred type: dieAt :: forall t. [Char] -> AlexPosn -> t -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:80:0: Warning: Definition but no type signature for `wtfAt' Inferred type: wtfAt :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:88:0: Warning: Definition but no type signature for `parseDec' Inferred type: parseDec :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:90:0: Warning: Definition but no type signature for `parseOct' Inferred type: parseOct :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:92:0: Warning: Definition but no type signature for `parseHex' Inferred type: parseHex :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:94:0: Warning: Definition but no type signature for `parseDouble' Inferred type: parseDouble :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:97:0: Warning: Definition but no type signature for `parseStr' Inferred type: parseStr :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:101:0: Warning: Definition but no type signature for `parseName' Inferred type: parseName :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:102:0: Warning: Definition but no type signature for `parseChar' Inferred type: parseChar :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:188:0: Warning: Definition but no type signature for `alex_action_2' Inferred type: alex_action_2 :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:189:0: Warning: Definition but no type signature for `alex_action_3' Inferred type: alex_action_3 :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:190:0: Warning: Definition but no type signature for `alex_action_4' Inferred type: alex_action_4 :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:191:0: Warning: Definition but no type signature for `alex_action_5' Inferred type: alex_action_5 :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:192:0: Warning: Definition but no type signature for `alex_action_6' Inferred type: alex_action_6 :: forall t. AlexPosn -> t -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:193:0: Warning: Definition but no type signature for `alex_action_7' Inferred type: alex_action_7 :: forall t. AlexPosn -> t -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:194:0: Warning: Definition but no type signature for `alex_action_8' Inferred type: alex_action_8 :: forall t. AlexPosn -> t -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:195:0: Warning: Definition but no type signature for `alex_action_9' Inferred type: alex_action_9 :: forall t. AlexPosn -> t -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:196:0: Warning: Definition but no type signature for `alex_action_10' Inferred type: alex_action_10 :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:197:0: Warning: Definition but no type signature for `alex_action_11' Inferred type: alex_action_11 :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:198:0: Warning: Definition but no type signature for `alex_action_12' Inferred type: alex_action_12 :: AlexPosn -> ByteString.ByteString -> Lexed Text/ProtocolBuffers/ProtoCompile/Lexer.x:199:0: Warning: Definition but no type signature for `alex_action_13' Inferred type: alex_action_13 :: AlexPosn -> ByteString.ByteString -> Lexed dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:22:18: Warning: Redundant import of: `ord' It is also imported from Data.Char at Text/ProtocolBuffers/ProtoCompile/Lexer.x:8:17-19 dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:349:0: Warning: Definition but no type signature for `alexIndexInt32OffAddr' Inferred type: alexIndexInt32OffAddr :: AlexAddr -> Int# -> Int# dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:373:0: Warning: Definition but no type signature for `quickIndex' Inferred type: quickIndex :: a i e -> Int -> e dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:389:0: Warning: Definition but no type signature for `alexScan' Inferred type: alexScan :: AlexInput -> Int -> AlexReturn (AlexPosn -> ByteString.ByteString -> Lexed) dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:392:0: Warning: Definition but no type signature for `alexScanUser' Inferred type: alexScanUser :: user -> AlexInput -> Int -> AlexReturn (AlexPosn -> ByteString.ByteString -> Lexed) dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:407:15: Warning: This binding for `input' shadows an existing binding In a case alternative dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:413:16: Warning: This binding for `input' shadows an existing binding In a case alternative dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:423:0: Warning: Definition but no type signature for `alex_scan_tkn' Inferred type: alex_scan_tkn :: user -> AlexInput -> Int# -> AlexInput -> Int# -> AlexLastAcc (AlexPosn -> ByteString.ByteString -> Lexed) -> (AlexLastAcc (AlexPosn -> ByteString.ByteString -> Lexed), AlexInput) dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:423:0: Warning: Definition but no type signature for `alex_accept' Inferred type: alex_accept :: Array Int [AlexAcc (AlexPosn -> ByteString.ByteString -> Lexed) user] dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:423:0: Warning: Definition but no type signature for `alexRightContext' Inferred type: alexRightContext :: Int -> AlexAccPred user dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:456:27: Warning: This binding for `pred' shadows an existing binding In the definition of `check_accs' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:456:34: Warning: Defined but not used: `rest' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:459:29: Warning: This binding for `pred' shadows an existing binding In the definition of `check_accs' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:459:36: Warning: Defined but not used: `rest' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:480:0: Warning: Defined but not used: `alexAndPred' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:480:0: Warning: Definition but no type signature for `alexAndPred' Inferred type: alexAndPred :: forall t t1 t2 t3. (t -> t1 -> t2 -> t3 -> Bool) -> (t -> t1 -> t2 -> t3 -> Bool) -> t -> t1 -> t2 -> t3 -> Bool dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:484:0: Warning: Defined but not used: `alexPrevCharIs' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:484:0: Warning: Definition but no type signature for `alexPrevCharIs' Inferred type: alexPrevCharIs :: forall t t1 t2. Char -> t -> AlexInput -> t1 -> t2 -> Bool dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:487:0: Warning: Defined but not used: `alexPrevCharIsOneOf' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:487:0: Warning: Definition but no type signature for `alexPrevCharIsOneOf' Inferred type: alexPrevCharIsOneOf :: forall t t1 t2 e. Array Char e -> t -> AlexInput -> t1 -> t2 -> e dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:499:0: Warning: Defined but not used: `iUnbox' dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Lexer.hs:499:0: Warning: Definition but no type signature for `iUnbox' Inferred type: iUnbox :: Int -> Int# templates/GenericTemplate.hs:54:0: Warning: Definition but no type signature for `alexIndexInt16OffAddr' Inferred type: alexIndexInt16OffAddr :: AlexAddr -> Int# -> Int# templates/wrappers.hs:36:0: Warning: Defined but not used: `alexInputPrevChar' templates/wrappers.hs:36:19: Warning: Defined but not used: `p' templates/wrappers.hs:36:23: Warning: Defined but not used: `s' templates/wrappers.hs:65:21: Warning: Defined but not used: `c' templates/wrappers.hs:301:0: Warning: Definition but no type signature for `alexScanTokens' Inferred type: alexScanTokens :: ByteString.ByteString -> [Lexed] templates/wrappers.hs:302:22: Warning: This binding for `str' shadows an existing binding In the definition of `go' templates/wrappers.hs:306:31: Warning: Defined but not used: `len' [3 of 7] Compiling Text.ProtocolBuffers.ProtoCompile.Parser ( Text/ProtocolBuffers/ProtoCompile/Parser.hs, dist/build/hprotoc/hprotoc-tmp/Text/ProtocolBuffers/ProtoCompile/Parser.o ) Text/ProtocolBuffers/ProtoCompile/Parser.hs:48:0: Type synonym `GenParser' should have 2 arguments, but has been given 1 In the type synonym declaration for `P'