[Hackage] #480: "cabal list" fails after "cabal update"

#480: "cabal list" fails after "cabal update" ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.4.0.2 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: 6.8.3 Platform: Mac OS | ----------------------------+----------------------------------------------- I've got cabal-install version 0.5.2 and Cabal version 1.4.0.2. After doing a "cabal update", "cabal list" fails with the following error: {{{ ... * GeoIp Latest version available: 0.3 Category: Network Synopsis: Pure bindings for the MaxMind IP database. License: OtherLicense cabal: Couldn't read cabal file "./Glob/0.1/Glob.cabal" }}} I looked at some version numbers, and it ''seems'' like some version of GeoIp is confusing the tools. On another machine (Arch Linux, not Mac OSX) I built a new 1.6.0.1, did "cabal update" and then "cabal list" and it worked fine. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/480 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#480: "cabal list" fails after "cabal update" ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.4.0.2 Severity: normal | Resolution: wontfix Keywords: | Difficulty: unknown Ghcversion: 6.8.3 | Platform: Mac OS ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => wontfix Comment: Yes, the problem is that the version of cabal-install you're using is using the older Cabal library that cannot parse some of the constructs in newer .cabal files. That's why updating to the latest version solves the problem. There is no reason not to upgrade so that is the recommended solution. For the future we should try to make it handle packages that need later versions of Cabal in a more graceful way. See #419. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/480#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage