cabal install fail for happs-hsp-template

Can cabal install be made to work for this package? ***** thartman@thartman-laptop:~>sudo cabal install happs-hsp-template [sudo] password for thartman: cabal: internal error: could not construct a valid install plan. The proposed (invalid) plan contained the following problems: Package Cabal is required by several packages, but they require inconsistent versions: package ghc-6.8.2 requires Cabal-1.2.3.0 package plugins-1.2 requires Cabal-1.5.2 thartman@thartman-laptop:~>cabal --version cabal-install version 0.4.7 using version 1.3.11 of the Cabal library thartman@thartman-laptop:~>ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.2 thartman@thartman-laptop:~>ghc-pkg list | grep -i ghc /usr/local/lib/ghc-6.8.2/package.conf: (ghc-6.8.2), haskell-src-1.0.1.1, haskell98-1.0.1.0, hpc-0.5.0.0,

I just noticed this is also reported as a 6.8 build failure on hackage itself.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/happs-hsp-templat...
2008/6/2 Thomas Hartman
Can cabal install be made to work for this package? ***** thartman@thartman-laptop:~>sudo cabal install happs-hsp-template [sudo] password for thartman: cabal: internal error: could not construct a valid install plan. The proposed (invalid) plan contained the following problems: Package Cabal is required by several packages, but they require inconsistent versions: package ghc-6.8.2 requires Cabal-1.2.3.0 package plugins-1.2 requires Cabal-1.5.2
thartman@thartman-laptop:~>cabal --version cabal-install version 0.4.7 using version 1.3.11 of the Cabal library thartman@thartman-laptop:~>ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.2 thartman@thartman-laptop:~>ghc-pkg list | grep -i ghc /usr/local/lib/ghc-6.8.2/package.conf: (ghc-6.8.2), haskell-src-1.0.1.1, haskell98-1.0.1.0, hpc-0.5.0.0,

On Mon, 2008-06-02 at 09:42 -0700, Thomas Hartman wrote:
Can cabal install be made to work for this package? ***** thartman@thartman-laptop:~>sudo cabal install happs-hsp-template [sudo] password for thartman: cabal: internal error: could not construct a valid install plan. The proposed (invalid) plan contained the following problems: Package Cabal is required by several packages, but they require inconsistent versions: package ghc-6.8.2 requires Cabal-1.2.3.0 package plugins-1.2 requires Cabal-1.5.2
The package deps are not actually inconsistent, the problem is that the current cabal-install dependency resolution algorithm is completely naive and comes up with an invalid install plan. I'll let people know when the new dep resolver for cabal-install is ready (hopefully just a few days now). It should address this issue. Duncan
participants (2)
-
Duncan Coutts
-
Thomas Hartman