Andreas Abel | 5 Oct 00:44 2012
Picon

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

Hi,

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.

Cheers,
Andreas

--

-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Theoretical Computer Science, University of Munich
(Continue reading)

Ross Paterson | 5 Oct 01:58 2012
Picon

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

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?
Michael Snoyman | 5 Oct 05:59 2012

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



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
_______________________________________________
Libraries mailing list
Libraries <at> haskell.org
http://www.haskell.org/mailman/listinfo/libraries
Erik Hesselink | 5 Oct 11:20 2012
Picon

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

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?

I still have a patch to Cabal rejecting these packages. If we decide
to reject these, it's at https://github.com/hesselink/cabal . We've
since moved on to installing cabal-0.14 in all relevant places, since
last time it seemed nobody cared much about supporting cabal-0.10.

Erik

Gmane