Resolving dependencies... Downloading BNFC-2.4.2.1... Configuring BNFC-2.4.2.1... Building BNFC-2.4.2.1... Preprocessing executable 'bnfc' for BNFC-2.4.2.1... CF.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead ParBNF.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead dist/build/bnfc/bnfc-tmp/LexBNF.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 1 of 90] Compiling MkSharedString ( formats/haskell2/MkSharedString.hs, dist/build/bnfc/bnfc-tmp/MkSharedString.o ) [ 2 of 90] Compiling MkErrM ( formats/haskell2/MkErrM.hs, dist/build/bnfc/bnfc-tmp/MkErrM.o ) [ 3 of 90] Compiling STLUtils ( formats/cpp_stl/STLUtils.hs, dist/build/bnfc/bnfc-tmp/STLUtils.o ) [ 4 of 90] Compiling LexBNF ( dist/build/bnfc/bnfc-tmp/LexBNF.hs, dist/build/bnfc/bnfc-tmp/LexBNF.o ) dist/build/bnfc/bnfc-tmp/LexBNF.hs:279:17: Warning: Pattern bindings containing unlifted types should use an outermost bang pattern: (I# (ord_c)) = ord c In the expression: let base = alexIndexInt32OffAddr alex_base s (I# (ord_c)) = ord c offset = (base +# ord_c) .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } In a case alternative: Just (c, new_input) -> let base = alexIndexInt32OffAddr alex_base s (I# (ord_c)) = ord c .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } In the second argument of `seq', namely `case alexGetChar input of { Nothing -> (new_acc, input) Just (c, new_input) -> let base = ... .... in case new_s of { -1# -> ... _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } }' [ 5 of 90] Compiling ErrM ( ErrM.hs, dist/build/bnfc/bnfc-tmp/ErrM.o ) [ 6 of 90] Compiling AbsBNF ( AbsBNF.hs, dist/build/bnfc/bnfc-tmp/AbsBNF.o ) [ 7 of 90] Compiling RegToFlex ( formats/cpp/RegToFlex.hs, dist/build/bnfc/bnfc-tmp/RegToFlex.o ) [ 8 of 90] Compiling RegToGPLEX ( formats/c-sharp/RegToGPLEX.hs, dist/build/bnfc/bnfc-tmp/RegToGPLEX.o ) [ 9 of 90] Compiling RegToJLex ( formats/java/RegToJLex.hs, dist/build/bnfc/bnfc-tmp/RegToJLex.o ) [10 of 90] Compiling RegToAlex ( formats/haskell2/RegToAlex.hs, dist/build/bnfc/bnfc-tmp/RegToAlex.o ) [11 of 90] Compiling PrintBNF ( PrintBNF.hs, dist/build/bnfc/bnfc-tmp/PrintBNF.o ) PrintBNF.hs:204:16: Warning: Pattern match(es) are overlapped In a case alternative: [x] -> ... x : xs -> ... [12 of 90] Compiling ParBNF ( ParBNF.hs, dist/build/bnfc/bnfc-tmp/ParBNF.o ) GenericTemplate.hs:219:14: Warning: Pattern bindings containing unlifted types should use an outermost bang pattern: sts1@((HappyCons (st1@(action)) (_))) = happyDrop k (HappyCons (st) (sts)) In an equation for `happyMonadReduce': happyMonadReduce k nt fn j tk st sts stk = happyThen1 (fn stk) (\ r -> happyGoto nt j tk st1 sts1 (r `HappyStk` drop_stk)) where sts1@((HappyCons (st1@(action)) (_))) = happyDrop k (HappyCons (st) (sts)) drop_stk = happyDropStk k stk [13 of 90] Compiling Utils ( Utils.hs, dist/build/bnfc/bnfc-tmp/Utils.o ) [14 of 90] Compiling CF ( CF.hs, dist/build/bnfc/bnfc-tmp/CF.o ) [15 of 90] Compiling TypeChecker ( TypeChecker.hs, dist/build/bnfc/bnfc-tmp/TypeChecker.o ) [16 of 90] Compiling MultiView ( MultiView.hs, dist/build/bnfc/bnfc-tmp/MultiView.o ) [17 of 90] Compiling CFtoTemplate ( formats/haskell2/CFtoTemplate.hs, dist/build/bnfc/bnfc-tmp/CFtoTemplate.o ) [18 of 90] Compiling NamedVariables ( formats/NamedVariables.hs, dist/build/bnfc/bnfc-tmp/NamedVariables.o ) [19 of 90] Compiling CFtoFlexC ( formats/c/CFtoFlexC.hs, dist/build/bnfc/bnfc-tmp/CFtoFlexC.o ) [20 of 90] Compiling CFtoHappyProfile ( formats/profile/CFtoHappyProfile.hs, dist/build/bnfc/bnfc-tmp/CFtoHappyProfile.o ) [21 of 90] Compiling CFtoAlex ( formats/haskell2/CFtoAlex.hs, dist/build/bnfc/bnfc-tmp/CFtoAlex.o ) [22 of 90] Compiling CFtoAlex2 ( formats/haskell2/CFtoAlex2.hs, dist/build/bnfc/bnfc-tmp/CFtoAlex2.o ) [23 of 90] Compiling CFtoHappy ( formats/haskell2/CFtoHappy.hs, dist/build/bnfc/bnfc-tmp/CFtoHappy.o ) [24 of 90] Compiling CFtoLayout ( formats/haskell2/CFtoLayout.hs, dist/build/bnfc/bnfc-tmp/CFtoLayout.o ) [25 of 90] Compiling HaskellGADTCommon ( formats/haskell-gadt/HaskellGADTCommon.hs, dist/build/bnfc/bnfc-tmp/HaskellGADTCommon.o ) [26 of 90] Compiling GetCF ( GetCF.hs, dist/build/bnfc/bnfc-tmp/GetCF.o ) [27 of 90] Compiling CFtoLatex ( formats/CFtoLatex.hs, dist/build/bnfc/bnfc-tmp/CFtoLatex.o ) [28 of 90] Compiling OCamlUtil ( formats/ocaml/OCamlUtil.hs, dist/build/bnfc/bnfc-tmp/OCamlUtil.o ) [29 of 90] Compiling CFtoOCamlYacc ( formats/ocaml/CFtoOCamlYacc.hs, dist/build/bnfc/bnfc-tmp/CFtoOCamlYacc.o ) [30 of 90] Compiling CFtoOCamlLex ( formats/ocaml/CFtoOCamlLex.hs, dist/build/bnfc/bnfc-tmp/CFtoOCamlLex.o ) [31 of 90] Compiling CFtoOCamlAbs ( formats/ocaml/CFtoOCamlAbs.hs, dist/build/bnfc/bnfc-tmp/CFtoOCamlAbs.o ) [32 of 90] Compiling CFtoOCamlTemplate ( formats/ocaml/CFtoOCamlTemplate.hs, dist/build/bnfc/bnfc-tmp/CFtoOCamlTemplate.o ) [33 of 90] Compiling CFtoOCamlPrinter ( formats/ocaml/CFtoOCamlPrinter.hs, dist/build/bnfc/bnfc-tmp/CFtoOCamlPrinter.o ) [34 of 90] Compiling CFtoOCamlShow ( formats/ocaml/CFtoOCamlShow.hs, dist/build/bnfc/bnfc-tmp/CFtoOCamlShow.o ) [35 of 90] Compiling CFtoOCamlTest ( formats/ocaml/CFtoOCamlTest.hs, dist/build/bnfc/bnfc-tmp/CFtoOCamlTest.o ) [36 of 90] Compiling CFtoCAbs ( formats/c/CFtoCAbs.hs, dist/build/bnfc/bnfc-tmp/CFtoCAbs.o ) [37 of 90] Compiling CFtoBisonC ( formats/c/CFtoBisonC.hs, dist/build/bnfc/bnfc-tmp/CFtoBisonC.o ) [38 of 90] Compiling CFtoCSkel ( formats/c/CFtoCSkel.hs, dist/build/bnfc/bnfc-tmp/CFtoCSkel.o ) [39 of 90] Compiling CFtoCPrinter ( formats/c/CFtoCPrinter.hs, dist/build/bnfc/bnfc-tmp/CFtoCPrinter.o ) [40 of 90] Compiling CFtoFlex ( formats/cpp/CFtoFlex.hs, dist/build/bnfc/bnfc-tmp/CFtoFlex.o ) [41 of 90] Compiling CFtoBisonSTL ( formats/cpp_stl/CFtoBisonSTL.hs, dist/build/bnfc/bnfc-tmp/CFtoBisonSTL.o ) [42 of 90] Compiling CFtoSTLPrinter ( formats/cpp_stl/CFtoSTLPrinter.hs, dist/build/bnfc/bnfc-tmp/CFtoSTLPrinter.o ) [43 of 90] Compiling OOAbstract ( formats/OOAbstract.hs, dist/build/bnfc/bnfc-tmp/OOAbstract.o ) [44 of 90] Compiling CFtoSTLAbs ( formats/cpp_stl/CFtoSTLAbs.hs, dist/build/bnfc/bnfc-tmp/CFtoSTLAbs.o ) [45 of 90] Compiling CFtoCVisitSkelSTL ( formats/cpp_stl/CFtoCVisitSkelSTL.hs, dist/build/bnfc/bnfc-tmp/CFtoCVisitSkelSTL.o ) [46 of 90] Compiling CSharpUtils ( formats/c-sharp/CSharpUtils.hs, dist/build/bnfc/bnfc-tmp/CSharpUtils.o ) [47 of 90] Compiling CAbstoCSharpAbs ( formats/c-sharp/CAbstoCSharpAbs.hs, dist/build/bnfc/bnfc-tmp/CAbstoCSharpAbs.o ) [48 of 90] Compiling CFtoGPLEX ( formats/c-sharp/CFtoGPLEX.hs, dist/build/bnfc/bnfc-tmp/CFtoGPLEX.o ) [49 of 90] Compiling CFtoGPPG ( formats/c-sharp/CFtoGPPG.hs, dist/build/bnfc/bnfc-tmp/CFtoGPPG.o ) [50 of 90] Compiling CAbstoCSharpVisitSkeleton ( formats/c-sharp/CAbstoCSharpVisitSkeleton.hs, dist/build/bnfc/bnfc-tmp/CAbstoCSharpVisitSkeleton.o ) [51 of 90] Compiling CAbstoCSharpAbstractVisitSkeleton ( formats/c-sharp/CAbstoCSharpAbstractVisitSkeleton.hs, dist/build/bnfc/bnfc-tmp/CAbstoCSharpAbstractVisitSkeleton.o ) [52 of 90] Compiling CFtoCSharpPrinter ( formats/c-sharp/CFtoCSharpPrinter.hs, dist/build/bnfc/bnfc-tmp/CFtoCSharpPrinter.o ) [53 of 90] Compiling CFtoCPPAbs ( formats/cpp/CFtoCPPAbs.hs, dist/build/bnfc/bnfc-tmp/CFtoCPPAbs.o ) [54 of 90] Compiling CFtoBison ( formats/cpp/CFtoBison.hs, dist/build/bnfc/bnfc-tmp/CFtoBison.o ) [55 of 90] Compiling CFtoCVisitSkel ( formats/cpp/CFtoCVisitSkel.hs, dist/build/bnfc/bnfc-tmp/CFtoCVisitSkel.o ) [56 of 90] Compiling CFtoCPPPrinter ( formats/cpp/CFtoCPPPrinter.hs, dist/build/bnfc/bnfc-tmp/CFtoCPPPrinter.o ) [57 of 90] Compiling CFtoCup15 ( formats/java1.5/CFtoCup15.hs, dist/build/bnfc/bnfc-tmp/CFtoCup15.o ) [58 of 90] Compiling CFtoJLex15 ( formats/java1.5/CFtoJLex15.hs, dist/build/bnfc/bnfc-tmp/CFtoJLex15.o ) [59 of 90] Compiling CFtoJavaAbs15 ( formats/java1.5/CFtoJavaAbs15.hs, dist/build/bnfc/bnfc-tmp/CFtoJavaAbs15.o ) [60 of 90] Compiling CFtoJavaPrinter15 ( formats/java1.5/CFtoJavaPrinter15.hs, dist/build/bnfc/bnfc-tmp/CFtoJavaPrinter15.o ) [61 of 90] Compiling CFtoVisitSkel15 ( formats/java1.5/CFtoVisitSkel15.hs, dist/build/bnfc/bnfc-tmp/CFtoVisitSkel15.o ) [62 of 90] Compiling CFtoComposVisitor ( formats/java1.5/CFtoComposVisitor.hs, dist/build/bnfc/bnfc-tmp/CFtoComposVisitor.o ) [63 of 90] Compiling CFtoAbstractVisitor ( formats/java1.5/CFtoAbstractVisitor.hs, dist/build/bnfc/bnfc-tmp/CFtoAbstractVisitor.o ) [64 of 90] Compiling CFtoFoldVisitor ( formats/java1.5/CFtoFoldVisitor.hs, dist/build/bnfc/bnfc-tmp/CFtoFoldVisitor.o ) [65 of 90] Compiling CFtoAllVisitor ( formats/java1.5/CFtoAllVisitor.hs, dist/build/bnfc/bnfc-tmp/CFtoAllVisitor.o ) [66 of 90] Compiling CFtoCup ( formats/java/CFtoCup.hs, dist/build/bnfc/bnfc-tmp/CFtoCup.o ) [67 of 90] Compiling CFtoJLex ( formats/java/CFtoJLex.hs, dist/build/bnfc/bnfc-tmp/CFtoJLex.o ) [68 of 90] Compiling CFtoJavaAbs ( formats/java/CFtoJavaAbs.hs, dist/build/bnfc/bnfc-tmp/CFtoJavaAbs.o ) [69 of 90] Compiling CFtoJavaPrinter ( formats/java/CFtoJavaPrinter.hs, dist/build/bnfc/bnfc-tmp/CFtoJavaPrinter.o ) [70 of 90] Compiling CFtoJavaSkeleton ( formats/java/CFtoJavaSkeleton.hs, dist/build/bnfc/bnfc-tmp/CFtoJavaSkeleton.o ) [71 of 90] Compiling CFtoVisitSkel ( formats/java/CFtoVisitSkel.hs, dist/build/bnfc/bnfc-tmp/CFtoVisitSkel.o ) [72 of 90] Compiling CFtoAbstractGADT ( formats/haskell-gadt/CFtoAbstractGADT.hs, dist/build/bnfc/bnfc-tmp/CFtoAbstractGADT.o ) [73 of 90] Compiling CFtoTemplateGADT ( formats/haskell-gadt/CFtoTemplateGADT.hs, dist/build/bnfc/bnfc-tmp/CFtoTemplateGADT.o ) [74 of 90] Compiling CFtoPrinterGADT ( formats/haskell-gadt/CFtoPrinterGADT.hs, dist/build/bnfc/bnfc-tmp/CFtoPrinterGADT.o ) [75 of 90] Compiling CFtoTxt ( formats/CFtoTxt.hs, dist/build/bnfc/bnfc-tmp/CFtoTxt.o ) [76 of 90] Compiling CFtoAbstract ( formats/haskell2/CFtoAbstract.hs, dist/build/bnfc/bnfc-tmp/CFtoAbstract.o ) [77 of 90] Compiling CFtoPrinter ( formats/haskell2/CFtoPrinter.hs, dist/build/bnfc/bnfc-tmp/CFtoPrinter.o ) [78 of 90] Compiling CFtoXML ( formats/xml/CFtoXML.hs, dist/build/bnfc/bnfc-tmp/CFtoXML.o ) [79 of 90] Compiling FSharpTop ( formats/f-sharp/FSharpTop.hs, dist/build/bnfc/bnfc-tmp/FSharpTop.o ) [80 of 90] Compiling OCamlTop ( formats/ocaml/OCamlTop.hs, dist/build/bnfc/bnfc-tmp/OCamlTop.o ) [81 of 90] Compiling CTop ( formats/c/CTop.hs, dist/build/bnfc/bnfc-tmp/CTop.o ) [82 of 90] Compiling STLTop ( formats/cpp_stl/STLTop.hs, dist/build/bnfc/bnfc-tmp/STLTop.o ) [83 of 90] Compiling CSharpTop ( formats/c-sharp/CSharpTop.hs, dist/build/bnfc/bnfc-tmp/CSharpTop.o ) formats/c-sharp/CSharpTop.hs:362:19: Not in scope: `catch' Failed to install BNFC-2.4.2.1 cabal: Error: some packages failed to install: BNFC-2.4.2.1 failed during the building phase. The exception was: ExitFailure 1