Ticket #2335 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Haddock's internal GHC version must match the configured GHC version

Reported by: bos Owned by:
Priority: high Milestone: 6.10.1
Component: Build System Version: 6.8.2
Keywords: Cc: batterseapower+GHC2335@…
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I'm trying to build ghc-6.8.2.20080603 with haddock-2.0.0.0, and I get the above error when the build tries to emit docs for the base package.

I'm not really sure how to make progress here. 2.0 is the default version of haddock distributed with Fedora 9. I don't know if haddock 0.8 has the same problem, but unfortunately I can't use it without tremendous bother.

Doubly unfortunately, I can't actually tell whether the error is coming from GHC, the system's Haddock, or some other place entirely.

What I'm trying to do is prepare the GHC 6.8.3 RPM for Fedora, so that we can roll it in short order once the official release is announced. I'm sorry to be so completely clueless :-(

Change History

Changed 5 years ago by igloo

  • priority changed from normal to high
  • difficulty set to Unknown
  • component changed from Compiler to Build System
  • milestone set to 6.10 branch

See the thread started here:

 http://www.haskell.org/pipermail/cvs-ghc/2008-June/042772.html

and continued here:

 http://www.haskell.org/pipermail/cvs-libraries/2008-June/008910.html

The short story is that you either need to go back to haddock 0.8, or do a bootstrapping dance (compile 6.8.3 without haddocking the libraries, compile haddock 2, do your final 6.8.3 build with haddocking).

If we (as a community) want to move to haddock 2 then I think we need to bundle it with GHC.

Changed 5 years ago by simonmar

  • milestone changed from 6.10 branch to 6.10.1

Changed 5 years ago by batterseapower

  • cc batterseapower+GHC2335@… added

Changed 5 years ago by igloo

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

haddock 2 is now built while building ghc.

Changed 5 years ago by simonmar

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