Created attachment 392836 [details] build.log Emerge quits with "setup build failed". Please have a look into the build.log for the actual issue.
Yeah, old happy needs old ghc. happy-1.19.4 is fine, but it's in ~arch. Build log: [ 8 of 18] Compiling Parser ( dist/build/happy/happy-tmp/Parser.hs, dist/build/happy/happy-tmp/Parser.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#))))))
I've added upper bound to stabilize new versions in time: > 02 Jan 2015; Sergei Trofimovich <slyfox@gentoo.org> > -files/happy-1.18.6-missing-tests.patch, -files/happy-1.18.9-ghc-7.5.patch, > -happy-1.18.9.ebuild, happy-1.18.10.ebuild: > Disallow ghc-7.8 on happy generating old lexers (bug #534182 by Dennis > Schridde). Thanks!