printf ' ' | fink --no-use-binary-dist --yes rebuild happy 2>&1 The package 'happy' will be built without being installed. Reading build dependency for happy-1.18.10-1... Reading dependency for happy-1.18.10-1... Reading build conflict for happy-1.18.10-1... The following package will be rebuilt: happy Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-happy-1.18.10-1 /sw/build.build dpkg-deb: building package `fink-buildlock-happy-1.18.10-1' in `/sw/build.build/fink-buildlock-happy-1.18.10-1_2014.08.01-04.38.21_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-happy-1.18.10-1_2014.08.01-04.38.21_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-happy-1.18.10-1. (Reading database ... 16612 files and directories currently installed.) Unpacking fink-buildlock-happy-1.18.10-1 (from .../fink-buildlock-happy-1.18.10-1_2014.08.01-04.38.21_darwin-x86_64.deb) ... Setting up fink-buildlock-happy-1.18.10-1 (2014.08.01-04.38.21) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.xRUId env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/happy-1.18.10.tar.gz happy-1.18.10/ happy-1.18.10/Makefile happy-1.18.10/ANNOUNCE happy-1.18.10/TODO happy-1.18.10/CHANGES happy-1.18.10/Setup.lhs happy-1.18.10/LICENSE happy-1.18.10/happy.spec happy-1.18.10/README happy-1.18.10/happy.cabal happy-1.18.10/templates/ happy-1.18.10/templates/GLR_Base.hs happy-1.18.10/templates/GenericTemplate.hs happy-1.18.10/templates/GLR_Lib.hs happy-1.18.10/dist/ happy-1.18.10/dist/build/ happy-1.18.10/dist/build/happy/ happy-1.18.10/dist/build/happy/happy-tmp/ happy-1.18.10/dist/build/happy/happy-tmp/Parser.hs happy-1.18.10/dist/build/happy/happy-tmp/AttrGrammarParser.hs happy-1.18.10/tests/ happy-1.18.10/tests/TestPrecedence.ly happy-1.18.10/tests/Makefile happy-1.18.10/tests/bug002.y happy-1.18.10/tests/error001.y happy-1.18.10/tests/error001.stderr happy-1.18.10/tests/precedence001.ly happy-1.18.10/tests/Partial.ly happy-1.18.10/tests/monad001.y happy-1.18.10/tests/Test.ly happy-1.18.10/tests/bogus-token.y happy-1.18.10/tests/precedence002.y happy-1.18.10/tests/error001.stdout happy-1.18.10/tests/monad002.ly happy-1.18.10/tests/test_rules.y happy-1.18.10/tests/bug001.ly happy-1.18.10/tests/TestMulti.ly happy-1.18.10/src/ happy-1.18.10/src/AttrGrammarParser.ly happy-1.18.10/src/Lexer.lhs happy-1.18.10/src/ProduceGLRCode.lhs happy-1.18.10/src/ProduceCode.lhs happy-1.18.10/src/GenUtils.lhs happy-1.18.10/src/Parser.ly happy-1.18.10/src/AttrGrammar.lhs happy-1.18.10/src/First.lhs happy-1.18.10/src/Target.lhs happy-1.18.10/src/Grammar.lhs happy-1.18.10/src/Main.lhs happy-1.18.10/src/LALR.lhs happy-1.18.10/src/Info.lhs happy-1.18.10/src/NameSet.hs happy-1.18.10/src/ParamRules.hs happy-1.18.10/src/AbsSyn.lhs happy-1.18.10/src/ARRAY-NOTES happy-1.18.10/src/ParseMonad.lhs happy-1.18.10/doc/ happy-1.18.10/doc/Makefile happy-1.18.10/doc/happy.xml happy-1.18.10/doc/config.mk.in happy-1.18.10/doc/configure.ac happy-1.18.10/doc/aclocal.m4 happy-1.18.10/doc/fptools.css happy-1.18.10/doc/docbook-xml.mk happy-1.18.10/doc/happy.1.in happy-1.18.10/examples/ happy-1.18.10/examples/SimonsExample.ly happy-1.18.10/examples/MonadTest.ly happy-1.18.10/examples/DavesExample.ly happy-1.18.10/examples/Calc.ly happy-1.18.10/examples/PgnParser.ly happy-1.18.10/examples/LexerTest.ly happy-1.18.10/examples/README happy-1.18.10/examples/ErrorTest.ly happy-1.18.10/examples/ErlParser.ly happy-1.18.10/examples/igloo/ happy-1.18.10/examples/igloo/Makefile happy-1.18.10/examples/igloo/Parser.hs happy-1.18.10/examples/igloo/ParserM.hs happy-1.18.10/examples/igloo/Lexer.x happy-1.18.10/examples/igloo/Foo.hs happy-1.18.10/examples/igloo/README happy-1.18.10/examples/igloo/Lexer.hs happy-1.18.10/examples/igloo/Parser.y happy-1.18.10/examples/glr/ happy-1.18.10/examples/glr/Makefile happy-1.18.10/examples/glr/Makefile.defs happy-1.18.10/examples/glr/packing/ happy-1.18.10/examples/glr/packing/Makefile happy-1.18.10/examples/glr/packing/Expr.y happy-1.18.10/examples/glr/packing/Hugs.lhs happy-1.18.10/examples/glr/packing/Main.lhs happy-1.18.10/examples/glr/packing/README happy-1.18.10/examples/glr/nlp/ happy-1.18.10/examples/glr/nlp/Makefile happy-1.18.10/examples/glr/nlp/Hugs.lhs happy-1.18.10/examples/glr/nlp/Main.lhs happy-1.18.10/examples/glr/nlp/English.y happy-1.18.10/examples/glr/nlp/README happy-1.18.10/examples/glr/bio-eg/ happy-1.18.10/examples/glr/bio-eg/Makefile happy-1.18.10/examples/glr/bio-eg/1-1200.dna happy-1.18.10/examples/glr/bio-eg/Bio.y happy-1.18.10/examples/glr/bio-eg/1-600.dna happy-1.18.10/examples/glr/bio-eg/Main.lhs happy-1.18.10/examples/glr/bio-eg/README happy-1.18.10/examples/glr/highly-ambiguous/ happy-1.18.10/examples/glr/highly-ambiguous/Makefile happy-1.18.10/examples/glr/highly-ambiguous/Expr.y happy-1.18.10/examples/glr/highly-ambiguous/Hugs.lhs happy-1.18.10/examples/glr/highly-ambiguous/Main.lhs happy-1.18.10/examples/glr/highly-ambiguous/README happy-1.18.10/examples/glr/common/ happy-1.18.10/examples/glr/common/DV_lhs happy-1.18.10/examples/glr/common/DaVinciTypes.hs happy-1.18.10/examples/glr/hidden-leftrec/ happy-1.18.10/examples/glr/hidden-leftrec/Makefile happy-1.18.10/examples/glr/hidden-leftrec/Expr.y happy-1.18.10/examples/glr/hidden-leftrec/Hugs.lhs happy-1.18.10/examples/glr/hidden-leftrec/Main.lhs happy-1.18.10/examples/glr/hidden-leftrec/README happy-1.18.10/examples/glr/expr-tree/ happy-1.18.10/examples/glr/expr-tree/Makefile happy-1.18.10/examples/glr/expr-tree/Expr.y happy-1.18.10/examples/glr/expr-tree/Hugs.lhs happy-1.18.10/examples/glr/expr-tree/Main.lhs happy-1.18.10/examples/glr/expr-tree/Tree.lhs happy-1.18.10/examples/glr/expr-tree/README happy-1.18.10/examples/glr/expr-eval/ happy-1.18.10/examples/glr/expr-eval/Makefile happy-1.18.10/examples/glr/expr-eval/Expr.y happy-1.18.10/examples/glr/expr-eval/Hugs.lhs happy-1.18.10/examples/glr/expr-eval/Main.lhs happy-1.18.10/examples/glr/expr-eval/README happy-1.18.10/examples/glr/expr-monad/ happy-1.18.10/examples/glr/expr-monad/Makefile happy-1.18.10/examples/glr/expr-monad/Expr.y happy-1.18.10/examples/glr/expr-monad/Hugs.lhs happy-1.18.10/examples/glr/expr-monad/Main.lhs happy-1.18.10/examples/glr/expr-monad/README sudo -u fink-bld [ENV] sh -c /tmp/fink.tXmfE /tmp/fink.8gYsU #!/bin/sh -ev runghc Setup.lhs configure --prefix=/sw --docdir=/sw/share/doc/happy Setup.lhs:16:29: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Setup.lhs:41:44: Warning: In the use of ‘buildVerbose’ (imported from Distribution.Simple.Setup): Deprecated: "Use buildVerbosity instead" Setup.lhs:57:12: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Setup.lhs:63:12: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.10... runghc Setup.lhs build Setup.lhs:16:29: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Setup.lhs:41:44: Warning: In the use of ‘buildVerbose’ (imported from Distribution.Simple.Setup): Deprecated: "Use buildVerbosity instead" Setup.lhs:57:12: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Setup.lhs:63:12: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Building happy-1.18.10... Preprocessing executable 'happy' for happy-1.18.10... [ 1 of 18] Compiling NameSet ( src/NameSet.hs, dist/build/happy/happy-tmp/NameSet.o ) [ 2 of 18] Compiling Target ( src/Target.lhs, dist/build/happy/happy-tmp/Target.o ) [ 3 of 18] Compiling AbsSyn ( src/AbsSyn.lhs, dist/build/happy/happy-tmp/AbsSyn.o ) [ 4 of 18] Compiling ParamRules ( src/ParamRules.hs, dist/build/happy/happy-tmp/ParamRules.o ) src/ParamRules.hs:6:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future [ 5 of 18] Compiling GenUtils ( src/GenUtils.lhs, dist/build/happy/happy-tmp/GenUtils.o ) [ 6 of 18] Compiling ParseMonad ( src/ParseMonad.lhs, dist/build/happy/happy-tmp/ParseMonad.o ) src/ParseMonad.lhs:17:12: Warning: ‘P’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal. [ 7 of 18] Compiling AttrGrammar ( src/AttrGrammar.lhs, dist/build/happy/happy-tmp/AttrGrammar.o ) [ 8 of 18] Compiling AttrGrammarParser ( dist/build/happy/happy-tmp/AttrGrammarParser.hs, dist/build/happy/happy-tmp/AttrGrammarParser.o ) templates/GenericTemplate.hs:104:22: Couldn't match expected type ‘Bool’ with actual type ‘Happy_GHC_Exts.Int#’ In the expression: (n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#)) In a stmt of a pattern guard for a case alternative: (n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#)) In a case alternative: n | (n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#)) -> (happyReduceArr Happy_Data_Array.! rule) i tk st where rule = (Happy_GHC_Exts.I# ((Happy_GHC_Exts.negateInt# ((n Happy_GHC_Exts.+# (1# :: Happy_GHC_Exts.Int#)))))) templates/GenericTemplate.hs:115:23: Couldn't match expected type ‘Bool’ with actual type ‘Happy_GHC_Exts.Int#’ In the expression: (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) In the expression: if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then (indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i) else False In an equation for ‘check’: check = if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then (indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i) else False templates/GenericTemplate.hs:117:30: Couldn't match expected type ‘Happy_GHC_Exts.Int#’ with actual type ‘Bool’ In the expression: False In the expression: if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then (indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i) else False templates/GenericTemplate.hs:119:13: Couldn't match expected type ‘Bool’ with actual type ‘Happy_GHC_Exts.Int#’ In the expression: check In a stmt of a pattern guard for a pattern binding: check templates/GenericTemplate.hs:212:14: 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 tk) (\ 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 templates/GenericTemplate.hs:219:14: Pattern bindings containing unlifted types should use an outermost bang pattern: (sts1@((HappyCons (st1@(action)) (_)))) = happyDrop k (HappyCons (st) (sts)) In an equation for ‘happyMonad2Reduce’: happyMonad2Reduce k nt fn j tk st sts stk = happyThen1 (fn stk tk) (\ r -> happyNewToken new_state sts1 (r `HappyStk` drop_stk)) where (sts1@((HappyCons (st1@(action)) (_)))) = happyDrop k (HappyCons (st) (sts)) drop_stk = happyDropStk k stk (off) = indexShortOffAddr happyGotoOffsets st1 (off_i) = (off Happy_GHC_Exts.+# nt) .... ### execution of /tmp/fink.8gYsU failed, exit code 1 ### execution of /tmp/fink.tXmfE failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-happy-1.18.10-1 (Reading database ... 16613 files and directories currently installed.) Removing fink-buildlock-happy-1.18.10-1 ... Failed: phase compiling: happy-1.18.10-1 failed Before reporting any errors, please run "fink selfupdate" and try again. Also try using "fink configure" to set your maximum build jobs to 1 and attempt to build the package again. If you continue to have issues, please check to see if the FAQ on Fink's website solves the problem. If not, ask on one (not both, please) of these mailing lists: The Fink Users List The Fink Beginners List , with a carbon copy to the maintainer: Brendan Cully Note that this is preferable to emailing just the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. Please try to include the complete error message in your report. This generally consists of a compiler line starting with e.g. "gcc" or "g++" followed by the actual error output from the compiler. Also include the following system information: Package manager version: 0.37.0 Distribution version: selfupdate-cvs Thu Jul 24 20:26:24 2014, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.1.1 Xcode command-line tools: 6.0.0.0.1.1405597879 Max. Fink build jobs: 8