extensible-exceptions 0.1.1.1 fails to build on GHC 6.8 (Cabal 1.2)
andersk at MIT.EDU
Thu Mar 25 01:59:38 EDT 2010
With ghc 6.8.2 on Debian lenny, with Cabal-22.214.171.124 and
$ cabal install extensible-exceptions
Warning: Unknown fields: bug-reports (line 6)
Fields allowed in this section:
name, version, cabal-version, build-type, license, license-file,
copyright, maintainer, build-depends, stability, homepage,
package-url, synopsis, description, category, author, tested-with,
data-files, extra-source-files, extra-tmp-files
Warning: Unknown section type: source-repository ignoring...
Warning: Ignoring trailing declarations.
cabal: cannot satisfy dependency Cabal>=1.6
This is a regression from extensible-exceptions-0.1.1.0, which worked
fine. Since compatibility with GHC < 6.10 is the entire point of the
extensible-exceptions package, this should probably be fixed.
The patch attached to the ticket fixes this by removing source-repository
from the Cabal file and lowering the Cabal requirement back to >=1.2.
(Cabal 1.2 would actually accept the package with a warning if the
source-repository section was moved to the bottom, but cabal check does
not know that, so the package could not be uploaded to Hackage that way.
See http://hackage.haskell.org/trac/hackage/ticket/639 .)
More information about the Libraries