Ticket #2335 (closed bug: fixed)

Opened 6 months ago

Last modified 2 months ago

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

Reported by: bos Assigned to:
Priority: high Milestone: 6.10.1
Component: Build System Version: 6.8.2
Severity: blocker Keywords:
Cc: batterseapower+GHC2335@hotmail.com Difficulty: Unknown
Test Case: Operating System: Linux
Architecture: Unknown/Multiple

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

06/04/08 04:10:07 changed by igloo

  • priority changed from normal to high.
  • difficulty set to Unknown.
  • component changed from Compiler to Build System.
  • owner changed.
  • 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.

07/14/08 07:12:07 changed by simonmar

  • milestone changed from 6.10 branch to 6.10.1.

07/18/08 17:02:53 changed by batterseapower

  • cc set to batterseapower+GHC2335@hotmail.com.

08/30/08 06:23:14 changed by igloo

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

haddock 2 is now built while building ghc.

09/30/08 08:45:03 changed by simonmar

  • architecture changed from Multiple to Unknown/Multiple.