Ticket #2373 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I am trying to build GHC 6.8.3, and the default version of Haddock on my system is 2.0.0.0. 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/config.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

ghc-6.8.3-libraries-config.patch Download (0.6 KB) - added by bos 5 years ago.

Change History

Changed 5 years ago by bos

Changed 5 years ago by igloo

  • owner set to igloo
  • difficulty set to Unknown
  • milestone set to 6.10.1

Agreed; thanks for the report

Changed 5 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

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

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.