
#677: Error: Couldn't read cabal file "./HDBC/2.2.5/HDBC.cabal"
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.6.0.3
Severity: normal | Resolution: fixed
Keywords: | Difficulty: unknown
Ghcversion: 6.10.4 | Platform: Linux
---------------------------------+------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Fixed by editing the HDBC.cabal file for 2.2.5 and 2.2.6 on the server.
The other workaround would have been to upgrade cabal-install.
The problem is that the package was using the following syntax:
{{{
Build-Depends: HUnit, QuickCheck (>= 2.0), testpack (>= 2.0)
}}}
But it only declared
{{{
Cabal-Version: >=1.2.3
}}}
When in fact this version range syntax (using parentheses) requires Cabal
1.8. The second problem is that the QA filters did not detect that this
package was using the later syntax without properly declaring it.
That is fixed by this patch
{{{
Wed Jun 2 18:37:03 BST 2010 Duncan Coutts