*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global -v0 /usr/local/bin/ghc-pkg dump --user -v0 /usr/local/bin/ghc --print-libdir creating dist/setup creating dist creating dist/setup /usr/local/bin/ghc -package Cabal-1.12.0 --make Setup.hs -o dist/setup/setup -odir dist/setup -hidir dist/setup [1 of 2] Compiling WebSetup ( WebSetup.hs, dist/setup/WebSetup.o ) [2 of 2] Compiling Main ( Setup.hs, dist/setup/Main.o ) Setup.hs:2:1: Warning: In the use of `runTests' (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking dist/setup/setup ... dist/setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/gf-3.3 --haddock-option=--built-in-themes --verbose Configuring gf-3.3... Flags chosen: cclazy=True, server=True, interrupt=True Dependency array -any: using array-0.3.0.3 Dependency base >=4.2 && <5: using base-4.4.1.0 Dependency bytestring -any: using bytestring-0.9.2.0 Dependency cgi -any: using cgi-3001.1.8.2 Dependency containers -any: using containers-0.4.1.0 Dependency directory -any: using directory-1.1.0.1 Dependency filepath -any: using filepath-1.2.0.1 Dependency fst -any: using fst-0.9.0.1 Dependency haskeline -any: using haskeline-0.6.4.5 Dependency httpd-shed -any: using httpd-shed-0.4 Dependency json -any: using json-0.5 Dependency mtl -any: using mtl-2.0.1.0 Dependency network -any: using network-2.3.0.7 Dependency old-time -any: using old-time-1.0.0.7 Dependency pretty -any: using pretty-1.1.0.0 Dependency process -any: using process-1.1.0.0 Dependency random -any: using random-1.0.1.0 Dependency silently -any: using silently-1.1.4 Dependency unix -any: using unix-2.5.0.0 Dependency utf8-string -any: using utf8-string-0.3.7 Using Cabal-1.12.0 compiled by ghc-7.2 Using compiler: ghc-7.2.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/gf-3.3/ghc-7.2.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/gf-3.3 Documentation installed in: /usr/local/tmp/archive/install/share/doc/gf-3.3 Using alex version 2.3.5 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/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.6 found on system at: /usr/bin/gcc Using gf found on system at: dist/build/gf/gf Using ghc version 7.2.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.2.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.9.4 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 found on system at: /usr/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.19 found on system at: /usr/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.26 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 No uhc found *** setup build dist/setup/setup build --verbose creating dist/build creating dist/build/autogen Building gf-3.3... Preprocessing library gf-3.3... Building library... creating dist/build /usr/local/bin/ghc --make -package-name gf-3.3 -hide-all-packages -fbuilding-cabal-package -i -idist/build -isrc/compiler -isrc/runtime/haskell -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 array-0.3.0.3-ea09841aaf8e340f109e7ae88f466cb2 -package-id base-4.4.1.0-1f81e4e7baf87af8ebbcf52b7bec2254 -package-id bytestring-0.9.2.0-6cd6a90f79cbe419ccff0712438db3e6 -package-id containers-0.4.1.0-f1a01354b46f586a2ae9c4625be9a212 -package-id fst-0.9.0.1-f21bc24d9213340608ab59517000b69b -package-id mtl-2.0.1.0-7d701501fd7330456a3150c61d70dd7b -package-id pretty-1.1.0.0-ea03881a32f128dc4031082859a896d9 -package-id random-1.0.1.0-39b89e333e76316b652a958c9acc46ac -O -O2 -XHaskell98 PGF PGF.CId PGF.Data PGF.Macros PGF.Generate PGF.Linearize PGF.Parse PGF.SortTop PGF.Expr PGF.Type PGF.Tree PGF.Tokenizer PGF.Paraphrase PGF.TypeCheck PGF.Binary PGF.Morphology PGF.VisualizeTree PGF.Printer PGF.Probabilistic PGF.Forest PGF.Optimize PGF.Signature GF.Data.TrieMap GF.Data.Utilities GF.Data.SortedList GF.Data.ErrM GF.Data.Relation GF.Data.Operations Data.Binary Data.Binary.Put Data.Binary.Get Data.Binary.Builder Data.Binary.IEEE754 [ 1 of 34] Compiling Data.Binary.Builder ( src/runtime/haskell/Data/Binary/Builder.hs, dist/build/Data/Binary/Builder.o ) src/runtime/haskell/Data/Binary/Builder.hs:57:1: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" [ 2 of 34] Compiling GF.Data.ErrM ( src/compiler/GF/Data/ErrM.hs, dist/build/GF/Data/ErrM.o ) [ 3 of 34] Compiling PGF.Signature ( src/runtime/haskell/PGF/Signature.hs, dist/build/PGF/Signature.o ) [ 4 of 34] Compiling Data.Binary.Get ( src/runtime/haskell/Data/Binary/Get.hs, dist/build/Data/Binary/Get.o ) src/runtime/haskell/Data/Binary/Get.hs:92:1: Warning: In the use of `unsafeInterleaveST' (imported from Control.Monad.ST): Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release" [ 5 of 34] Compiling Data.Binary.Put ( src/runtime/haskell/Data/Binary/Put.hs, dist/build/Data/Binary/Put.o ) src/runtime/haskell/Data/Binary/Put.hs:68:16: Warning: Ignoring unusable UNPACK pragma on the second argument of `PairS' In the definition of data constructor `PairS' In the data type declaration for `PairS' [ 6 of 34] Compiling Data.Binary.IEEE754 ( src/runtime/haskell/Data/Binary/IEEE754.lhs, dist/build/Data/Binary/IEEE754.o ) [ 7 of 34] Compiling GF.Data.TrieMap ( src/compiler/GF/Data/TrieMap.hs, dist/build/GF/Data/TrieMap.o ) src/compiler/GF/Data/TrieMap.hs:27:1: Warning: In the use of `Map.foldWithKey' (imported from Data.Map): Deprecated: "Use foldrWithKey instead" [ 8 of 34] Compiling Data.Binary ( src/runtime/haskell/Data/Binary.hs, dist/build/Data/Binary.o ) [ 9 of 34] Compiling GF.Data.Utilities ( src/compiler/GF/Data/Utilities.hs, dist/build/GF/Data/Utilities.o ) [10 of 34] Compiling GF.Data.SortedList ( src/compiler/GF/Data/SortedList.hs, dist/build/GF/Data/SortedList.o ) [11 of 34] Compiling GF.Data.Relation ( src/compiler/GF/Data/Relation.hs, dist/build/GF/Data/Relation.o ) [12 of 34] Compiling GF.Data.Operations ( src/compiler/GF/Data/Operations.hs, dist/build/GF/Data/Operations.o ) [13 of 34] Compiling PGF.CId ( src/runtime/haskell/PGF/CId.hs, dist/build/PGF/CId.o ) [14 of 34] Compiling PGF.Expr[boot] ( src/runtime/haskell/PGF/Expr.hs-boot, dist/build/PGF/Expr.o-boot ) [15 of 34] Compiling PGF.Type ( src/runtime/haskell/PGF/Type.hs, dist/build/PGF/Type.o ) [16 of 34] Compiling PGF.Expr ( src/runtime/haskell/PGF/Expr.hs, dist/build/PGF/Expr.o ) [17 of 34] Compiling PGF.Data ( src/runtime/haskell/PGF/Data.hs, dist/build/PGF/Data.o ) [18 of 34] Compiling PGF.Macros ( src/runtime/haskell/PGF/Macros.hs, dist/build/PGF/Macros.o ) [19 of 34] Compiling PGF.Linearize ( src/runtime/haskell/PGF/Linearize.hs, dist/build/PGF/Linearize.o ) [20 of 34] Compiling PGF.TypeCheck ( src/runtime/haskell/PGF/TypeCheck.hs, dist/build/PGF/TypeCheck.o ) [21 of 34] Compiling PGF.VisualizeTree ( src/runtime/haskell/PGF/VisualizeTree.hs, dist/build/PGF/VisualizeTree.o ) [22 of 34] Compiling PGF.Probabilistic ( src/runtime/haskell/PGF/Probabilistic.hs, dist/build/PGF/Probabilistic.o ) [23 of 34] Compiling PGF.Generate ( src/runtime/haskell/PGF/Generate.hs, dist/build/PGF/Generate.o ) [24 of 34] Compiling PGF.Morphology ( src/runtime/haskell/PGF/Morphology.hs, dist/build/PGF/Morphology.o ) [25 of 34] Compiling PGF.Tokenizer ( src/runtime/haskell/PGF/Tokenizer.hs, dist/build/PGF/Tokenizer.o ) [26 of 34] Compiling PGF.Forest ( src/runtime/haskell/PGF/Forest.hs, dist/build/PGF/Forest.o ) [27 of 34] Compiling PGF.Parse ( src/runtime/haskell/PGF/Parse.hs, dist/build/PGF/Parse.o ) [28 of 34] Compiling PGF.SortTop ( src/runtime/haskell/PGF/SortTop.hs, dist/build/PGF/SortTop.o ) [29 of 34] Compiling PGF.Tree ( src/runtime/haskell/PGF/Tree.hs, dist/build/PGF/Tree.o ) [30 of 34] Compiling PGF.Paraphrase ( src/runtime/haskell/PGF/Paraphrase.hs, dist/build/PGF/Paraphrase.o ) [31 of 34] Compiling PGF.Optimize ( src/runtime/haskell/PGF/Optimize.hs, dist/build/PGF/Optimize.o ) [32 of 34] Compiling PGF.Binary ( src/runtime/haskell/PGF/Binary.hs, dist/build/PGF/Binary.o ) [33 of 34] Compiling PGF.Printer ( src/runtime/haskell/PGF/Printer.hs, dist/build/PGF/Printer.o ) [34 of 34] Compiling PGF ( src/runtime/haskell/PGF.hs, dist/build/PGF.o ) src/runtime/haskell/PGF.hs:160:1: Warning: In the use of `Map.foldWithKey' (imported from Data.Map): Deprecated: "Use foldrWithKey instead" Linking... /usr/bin/ar -r dist/build/libHSgf-3.3.a dist/build/PGF.o dist/build/PGF/CId.o dist/build/PGF/Data.o dist/build/PGF/Macros.o dist/build/PGF/Generate.o dist/build/PGF/Linearize.o dist/build/PGF/Parse.o dist/build/PGF/SortTop.o dist/build/PGF/Expr.o dist/build/PGF/Type.o dist/build/PGF/Tree.o dist/build/PGF/Tokenizer.o dist/build/PGF/Paraphrase.o dist/build/PGF/TypeCheck.o dist/build/PGF/Binary.o dist/build/PGF/Morphology.o dist/build/PGF/VisualizeTree.o dist/build/PGF/Printer.o dist/build/PGF/Probabilistic.o dist/build/PGF/Forest.o dist/build/PGF/Optimize.o dist/build/PGF/Signature.o dist/build/GF/Data/TrieMap.o dist/build/GF/Data/Utilities.o dist/build/GF/Data/SortedList.o dist/build/GF/Data/ErrM.o dist/build/GF/Data/Relation.o dist/build/GF/Data/Operations.o dist/build/Data/Binary.o dist/build/Data/Binary/Put.o dist/build/Data/Binary/Get.o dist/build/Data/Binary/Builder.o dist/build/Data/Binary/IEEE754.o /usr/bin/ar: creating dist/build/libHSgf-3.3.a /usr/bin/ld -x -r -o dist/build/HSgf-3.3.o dist/build/PGF.o dist/build/PGF/CId.o dist/build/PGF/Data.o dist/build/PGF/Macros.o dist/build/PGF/Generate.o dist/build/PGF/Linearize.o dist/build/PGF/Parse.o dist/build/PGF/SortTop.o dist/build/PGF/Expr.o dist/build/PGF/Type.o dist/build/PGF/Tree.o dist/build/PGF/Tokenizer.o dist/build/PGF/Paraphrase.o dist/build/PGF/TypeCheck.o dist/build/PGF/Binary.o dist/build/PGF/Morphology.o dist/build/PGF/VisualizeTree.o dist/build/PGF/Printer.o dist/build/PGF/Probabilistic.o dist/build/PGF/Forest.o dist/build/PGF/Optimize.o dist/build/PGF/Signature.o dist/build/GF/Data/TrieMap.o dist/build/GF/Data/Utilities.o dist/build/GF/Data/SortedList.o dist/build/GF/Data/ErrM.o dist/build/GF/Data/Relation.o dist/build/GF/Data/Operations.o dist/build/Data/Binary.o dist/build/Data/Binary/Put.o dist/build/Data/Binary/Get.o dist/build/Data/Binary/Builder.o dist/build/Data/Binary/IEEE754.o Registering gf-3.3... /usr/local/bin/ghc-pkg update - --global --user --package-conf=dist/package.conf.inplace Preprocessing executable 'gf' for gf-3.3... creating dist/build/gf/gf-tmp/GF/Grammar creating dist/build/gf/gf-tmp/GF creating dist/build/gf/gf-tmp creating dist/build/gf creating dist/build/gf/gf-tmp creating dist/build/gf/gf-tmp/GF creating dist/build/gf/gf-tmp/GF/Grammar /usr/bin/alex -g -o dist/build/gf/gf-tmp/GF/Grammar/Lexer.hs src/compiler/GF/Grammar/Lexer.x creating dist/build/gf/gf-tmp/GF/Grammar /usr/bin/happy -agc -o dist/build/gf/gf-tmp/GF/Grammar/Parser.hs src/compiler/GF/Grammar/Parser.y Building executable gf... creating dist/build/gf creating dist/build/gf/gf-tmp /usr/local/bin/ghc --make -o dist/build/gf/gf -hide-all-packages -fbuilding-cabal-package -package-conf dist/package.conf.inplace -i -idist/build/gf/gf-tmp -isrc/server -isrc/server/transfer -isrc/example-based -isrc/compiler -isrc/runtime/haskell -idist/build/autogen -Idist/build/autogen -Idist/build/gf/gf-tmp -optP-DSERVER_MODE -optP-DUSE_INTERRUPT -optP-DCC_LAZY -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/gf/gf-tmp -hidir dist/build/gf/gf-tmp -stubdir dist/build/gf/gf-tmp -package-id array-0.3.0.3-ea09841aaf8e340f109e7ae88f466cb2 -package-id base-4.4.1.0-1f81e4e7baf87af8ebbcf52b7bec2254 -package-id bytestring-0.9.2.0-6cd6a90f79cbe419ccff0712438db3e6 -package-id cgi-3001.1.8.2-4434e15b04c427fe7a064e23fd3e71f1 -package-id containers-0.4.1.0-f1a01354b46f586a2ae9c4625be9a212 -package-id directory-1.1.0.1-cbdf38734bd8fecb3519f4f9562ab1e4 -package-id filepath-1.2.0.1-16b7a7902f5c6a9398c10b6f4692a21f -package-id fst-0.9.0.1-f21bc24d9213340608ab59517000b69b -package-id haskeline-0.6.4.5-8715954ae545d0c7e2996bfdc766cbbf -package-id httpd-shed-0.4-7f8bded2b7cdee89bb4951bdcb462db8 -package-id json-0.5-eb583038a8fbcf2cef174d6daa501050 -package-id mtl-2.0.1.0-7d701501fd7330456a3150c61d70dd7b -package-id network-2.3.0.7-5d9cfec2dfc461bc1a01752dff04e1ed -package-id old-time-1.0.0.7-7c5cbdbeec52c74fcdf7a52f1a3a00d2 -package-id pretty-1.1.0.0-ea03881a32f128dc4031082859a896d9 -package-id process-1.1.0.0-ded94950078eefc365bc43476bd795b0 -package-id random-1.0.1.0-39b89e333e76316b652a958c9acc46ac -package-id silently-1.1.4-d5952c36d7accc0e1e1644b86364fabd -package-id unix-2.5.0.0-f4492dece9dbc86208534cb0c3e40076 -package-id utf8-string-0.3.7-59b2f76bee525ef52325b9245e4fcf74 -O -rtsopts -O2 -XHaskell98 src/compiler/GF.hs [ 1 of 135] Compiling GF.Data.BacktrackM ( src/compiler/GF/Data/BacktrackM.hs, dist/build/gf/gf-tmp/GF/Data/BacktrackM.o ) [ 2 of 135] Compiling GF.Compile.Multi ( src/compiler/GF/Compile/Multi.hs, dist/build/gf/gf-tmp/GF/Compile/Multi.o ) [ 3 of 135] Compiling GF.JavaScript.AbsJS ( src/compiler/GF/JavaScript/AbsJS.hs, dist/build/gf/gf-tmp/GF/JavaScript/AbsJS.o ) [ 4 of 135] Compiling GF.JavaScript.PrintJS ( src/compiler/GF/JavaScript/PrintJS.hs, dist/build/gf/gf-tmp/GF/JavaScript/PrintJS.o ) [ 5 of 135] Compiling GF.Text.Transliterations ( src/compiler/GF/Text/Transliterations.hs, dist/build/gf/gf-tmp/GF/Text/Transliterations.o ) [ 6 of 135] Compiling GF.Text.Clitics ( src/compiler/GF/Text/Clitics.hs, dist/build/gf/gf-tmp/GF/Text/Clitics.o ) [ 7 of 135] Compiling GF.Text.Lexing ( src/compiler/GF/Text/Lexing.hs, dist/build/gf/gf-tmp/GF/Text/Lexing.o ) [ 8 of 135] Compiling GF.Command.Messages ( src/compiler/GF/Command/Messages.hs, dist/build/gf/gf-tmp/GF/Command/Messages.o ) [ 9 of 135] Compiling GF.System.UseSignal ( src/compiler/GF/System/UseSignal.hs, dist/build/gf/gf-tmp/GF/System/UseSignal.o ) [ 10 of 135] Compiling URLEncoding ( src/server/URLEncoding.hs, dist/build/gf/gf-tmp/URLEncoding.o ) [ 11 of 135] Compiling Cache ( src/server/Cache.hs, dist/build/gf/gf-tmp/Cache.o ) [ 12 of 135] Compiling RunHTTP ( src/server/RunHTTP.hs, dist/build/gf/gf-tmp/RunHTTP.o ) [ 13 of 135] Compiling FastCGIUtils ( src/server/FastCGIUtils.hs, dist/build/gf/gf-tmp/FastCGIUtils.o ) [ 14 of 135] Compiling GF.System.Signal ( src/compiler/GF/System/Signal.hs, dist/build/gf/gf-tmp/GF/System/Signal.o ) [ 15 of 135] Compiling GF.Text.Coding ( src/compiler/GF/Text/Coding.hs, dist/build/gf/gf-tmp/GF/Text/Coding.o ) src/compiler/GF/Text/Coding.hs:20:63: Couldn't match expected type `(Buffer e0, Buffer GHC.Word.Word8)' with actual type `(CodingProgress, Buffer e0, Buffer GHC.Word.Word8)' Expected type: Buffer e0 -> Buffer GHC.Word.Word8 -> IO (Buffer e0, Buffer GHC.Word.Word8) Actual type: Buffer e0 -> Buffer GHC.Word.Word8 -> IO (CodingProgress, Buffer e0, Buffer GHC.Word.Word8) In the return type of a call of `encode' In the first argument of `translate', namely `(encode encoder)' src/compiler/GF/Text/Coding.hs:44:61: Couldn't match expected type `(Buffer e0, Buffer CharBufElem)' with actual type `(CodingProgress, Buffer e0, Buffer CharBufElem)' Expected type: Buffer e0 -> Buffer CharBufElem -> IO (Buffer e0, Buffer CharBufElem) Actual type: Buffer e0 -> Buffer CharBufElem -> IO (CodingProgress, Buffer e0, Buffer CharBufElem) In the return type of a call of `encode' In the first argument of `translate', namely `(encode decoder)'