cabal update retrieves broken index: warp-1.3.3.x.cabal not readable

Michael Snoyman michael at snoyman.com
Fri Oct 5 05:59:37 CEST 2012


On Fri, Oct 5, 2012 at 1:58 AM, Ross Paterson <ross at soi.city.ac.uk> wrote:

> On Thu, Oct 04, 2012 at 11:44:47PM +0100, Andreas Abel wrote:
> > I pulled the new 00-index.tar from hackage an hour ago with cabal
> > update, breaking cabal install.
> >
> > cabal: Couldn't read cabal file "warp/1.3.3/warp.cabal"
> > cabal: Couldn't read cabal file "warp/1.3.3.1/warp.cabal"
> >
> > Fix is
> >
> > $ tar -f 00-index.tar --delete warp/1.3.3
> > $ tar -f 00-index.tar --delete warp/1.3.3.1
> >
> > My system:
> >
> > $ cabal --version
> > cabal-install version 0.10.2
> > using version 1.10.1.0 of the Cabal library
> > $ ghc --version
> > The Glorious Glasgow Haskell Compilation System, version 7.0.1
> >
> > The cabal files for warp/1.3.3... need a fix, or be removed from
> hackage.
>
> Yet another test suite containing a conditional, which breaks
> cabal-install-0.10.2.  Are these going to be rejected by the Cabal
> library, or should people stop using cabal-install-0.10.2?
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>

If consensus is that we should still be dropping the conditionals from
test-suite sections, I can send you updated cabal files for those two
versions. I would just default to assuming a non-Windows system.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20121005/e8fbbf05/attachment.htm>


More information about the Libraries mailing list