Stack overflow on hackage upload

Ross Paterson ross at soi.city.ac.uk
Fri May 11 06:39:35 EDT 2007


On Fri, May 11, 2007 at 11:05:22AM +0200, Bjorn Bringert wrote:
> On May 11, 2007, at 1:14 , Ross Paterson wrote:
> >On Thu, May 10, 2007 at 10:30:17PM +0100, Duncan Coutts wrote:
> >>I suspect it's a server side limit on the upload size.
> >
> >The problem is probably the use of getInputFPS for the uploaded  
> >file -- a lazy bytestring version would be handy.
> 
> getInputFPS already returns a lazy ByteString, iirc. Besides, even  
> strict bytestrings should work fine with 500k, right?

Ah yes, getInputFPS works fine with large files.  So much for that theory.

The problem is in the package cabal-1.1.6.2.tar.gz itself: the name of
the tar file, directory, .cabal file and package must match exactly.
As the error message says:

could not extract cabal-1.1.6.2/cabal.cabal from cabal-1.1.6.2.tar.gz


More information about the cabal-devel mailing list