Opened 7 years ago

Closed 7 years ago

#3525 closed bug (fixed)

current dist source fail to build when Happy not found

Reported by: kristerw Owned by: simonmar
Priority: normal Milestone: 6.12.1
Component: Build System Version: 6.11
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The daily source tarballs from errors out at configure time if Happy is not found. This error was introduced in the ghc-6.11.20090913-src.tar.bz2 source.

A workaround to make it compile is to modify the configure script as: --- configure.orig 2009-09-17 23:07:01.000000000 +0200 +++ configure 2009-09-17 23:07:39.000000000 +0200 @@ -5605,7 +5605,7 @@

fi { echo "$as_me:$LINENO: result: $fptools_cv_happy_version" >&5 echo "${ECHO_T}$fptools_cv_happy_version" >&6; }

-if test ! -f compiler/parser/Parser.hs test ! -f compiler/main/ParsePkgConf.hs test ! -f compiler/cmm/CmmParse.hs test ! -f compiler/parser/ParserCore.hs

+if test ! -f compiler/parser/Parser.hs
test ! -f compiler/cmm/CmmParse.hs test ! -f compiler/parser/ParserCore.hs


fp_version1=$fptools_cv_happy_version; fp_version2=1.16

fp_save_IFS=$IFS; IFS='.'

Attachments (1)

patch090917 (624 bytes) - added by kristerw 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by kristerw

comment:1 Changed 7 years ago by simonmar

  • difficulty set to Unknown
  • Owner set to simonmar

Thanks, I'll push.

comment:2 Changed 7 years ago by simonmar

  • Component changed from Compiler to Build System
  • Milestone set to 6.12.1
  • Resolution set to fixed
  • Status changed from new to closed


Fri Sep 18 11:43:27 BST 2009  Simon Marlow <>
  * Fix #3525 - we were still checking for ParsePkgConf.hs, which is gone
Note: See TracTickets for help on using tickets.