Ticket #2694 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Building GHC 6.10 with Cabal 1.6 fails due to in-tree Cabal 1.5.5

Reported by: dons Owned by:
Priority: high Milestone: 6.10.1
Component: Build System Version: 6.9
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

If you've installed Cabal 1.6 (as we're recommending) GHC won't build, falling over at,

/home/dons/ghc-6.10/build/utils/installPackage/install-inplace/bin/installPackage 
             install '/home/dons/ghc-6.10/build/utils/ghc-pkg/install-inplace/bin/ghc-pkg'


installPackage: You need to re-run the 'configure' command. The version of
Cabal being used has changed (was Cabal-1.5.5, now Cabal-1.6.0.1)

Working out if this really is a correctness issue seems a good idea -- maybe we can lift this restriction, since it seems likely people will in the future have newer cabals than the one ghc ships with today.

Change History

Changed 5 years ago by simonmar

  • priority changed from normal to high
  • difficulty set to Unknown
  • milestone set to 6.10.1

Changed 5 years ago by igloo

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

The build system now forcibly uses the in-tree Cabal version (in HEAD and 6.10).

Note: See TracTickets for help on using tickets.