Cabal-1.10.1.0 and bytestring-0.9.2.0 hackage problem.

Dear list, Cabal-1.10.1.0 contains a bug that causes it to fail to parse the test-suite target of bytestring-0.9.2.0. Since cabal-install parses all package descriptions to before resolving dependencies, users with that version of Cabal are stuck. Now it seems somebody realised this problem and removed bytestring-0.9.2.0 from hackage. However, 1. http://hackage.haskell.org/package/bytestring is now broken. 2. The downloadeble package index (00-index.tar) still contains the bytestring-0.9.2.0 cabal file, so the problem persists. As a workaround, one can remove the cabal file from the downloaded index manually, tar -f ~/.cabal/packages/hackage.haskell.org/00-index.tar --delete bytestring/0.9.2.0 (or rebuild Cabal / cabal-install starting with 'cabal unpack Cabal; cabal unpack cabal-install') But it really needs to be fixed on the hackage server. Best regards, Bertram

Thanks! I was scratching my head at this On Thu, Aug 25, 2011 at 16:42:58 +0200, Bertram Felgenhauer wrote:
1. http://hackage.haskell.org/package/bytestring is now broken. 2. The downloadeble package index (00-index.tar) still contains the bytestring-0.9.2.0 cabal file, so the problem persists.
As a workaround, one can remove the cabal file from the downloaded index manually,
tar -f ~/.cabal/packages/hackage.haskell.org/00-index.tar --delete bytestring/0.9.2.0
gnutar for the apparently 50% of Haskellers (*) that use Macs * or at least those that attend UK hackathons -- Eric Kow http://erickow.com

On 11-08-25 10:42 AM, Bertram Felgenhauer wrote:
(or rebuild Cabal / cabal-install starting with 'cabal unpack Cabal; cabal unpack cabal-install')
Replacing Cabal will break bin-package-db. Breaking bin-package-db will break ghc (the GHC API). "Break" means you likely don't run into problems right now, but several weeks later, you try to "cabal install" a package that depends on some of the above, and you get a nonsensical error message, and you don't even suspect it all started with replacing a package several weeks ago (you likely even forget that you did it). See my http://www.vex.net/~trebla/haskell/sicp.xhtml , in particular the "pigeon drop con" scenerio.
participants (3)
-
Albert Y. C. Lai
-
Bertram Felgenhauer
-
Eric Y. Kow