[Hackage] #677: Error: Couldn't read cabal file "./HDBC/2.2.5/HDBC.cabal"

#677: Error: Couldn't read cabal file "./HDBC/2.2.5/HDBC.cabal" ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.3 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: 6.10.4 Platform: Linux | ---------------------------------+------------------------------------------ I recently upgraded cabal-install and started getting this error: $ cabal install HDBC Resolving dependencies... cabal: Couldn't read cabal file "./HDBC/2.2.5/HDBC.cabal" I also get the same error when I try to install one of my own packages that depends on HDBC. I tried changing my HDBC dependency to == 2.2.2 as well as >= 2.2.6, but still get the same error for version 2.2.5. I have cabal-install version 0.6.2 and Cabal version 1.6.0.3. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/677 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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

#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 ---------------------------------+------------------------------------------ Comment(by elga): * [http://www.releve-identite-operateur.fr/rio-simyo.html simyo] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/677#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage