Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2373 closed bug (fixed)

Build fails to pass locations of external tools to libraries

Reported by: bos Owned by: igloo
Priority: normal Milestone: 6.10.1
Component: Compiler Version: 6.8.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


I am trying to build GHC 6.8.3, and the default version of Haddock on my system is I have Haddock 0.9 installed as /usr/bin/haddock-0.9, but libraries/Makefile does not pass this information down to the libraries it is building. I am already running the top-level configure script with the HaddockCmd environment variable set appropriately (and verified in the output from configure and inspection of mk/, so it's a simple matter of passing the information along.

I have attached a patch that passes the build's configured versions of Alex, Haddock, and Happy down to Cabal for each library. This fixes the problem for me, and I think it ought to apply to HEAD as well as to the 6.8 branch.

Attachments (1)

ghc-6.8.3-libraries-config.patch (597 bytes) - added by bos 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by bos

comment:1 Changed 11 years ago by igloo

difficulty: Unknown
Milestone: 6.10.1
Owner: set to igloo

Agreed; thanks for the report

comment:2 Changed 11 years ago by igloo

Resolution: fixed
Status: newclosed

Thanks, I've fixed this. We now pass the flags, provided the values were not empty.

comment:3 Changed 11 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:4 Changed 11 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.