[Hackage] #686: cabal install - Codec.Compression.Zlib: incorrect header check

Hackage cvs-ghc at haskell.org
Tue May 11 04:35:05 EDT 2010


#686: cabal install - Codec.Compression.Zlib: incorrect header check
---------------------------------+------------------------------------------
  Reporter:  Monsikos            |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.8.0.2
  Severity:  normal              |     Keywords:  Zlib   
Difficulty:  unknown             |   Ghcversion:  6.12.1 
  Platform:  Windows             |  
---------------------------------+------------------------------------------

Comment(by Monsikos):

 After running "cabal --version" I confirm that I'm using the 0.8.2
 version.

 I think it happens for all packages as every package I tried to install
 gave the same "incorrect header check" error.

 I unpacked the .tar.gz manually successfully and then installed the
 package manually with the "runghc Setup ..." commands. It works this way.

 {{{
 Here is what I get when I run "cabal install binary-search -v" for example
 C:\Users\Paul>cabal install binary-search  -v
 C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe --numeric-version
 looking for package tool: ghc-pkg near compiler in C:\Program
 Files\Haskell
 Platform\2010.1.0.0\bin
 found package tool in C:\Program Files\Haskell
 Platform\2010.1.0.0\bin\ghc-pkg.exe
 C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe --version
 C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe --supported-
 languages
 Reading installed packages...
 C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe dump --global
 C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe dump --user
 Reading available packages...
 Resolving dependencies...
 selecting binary-search-0.0 (hackage)
 selecting base-3.0.3.2 (installed) and 4.2.0.0 (installed) and discarding
 syb-0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2 and 0.2.1
 selecting ffi-1.0 (installed)
 selecting ghc-prim-0.2.0.0 (installed)
 selecting integer-gmp-0.2.0.0 (installed)
 selecting rts-1.0 (installed)
 selecting syb-0.1.0.2 (installed)
 In order, the following would be installed:
 binary-search-0.0 (new package)
 Downloading binary-search-0.0...
 Downloaded to
 C:\Users\Paul\AppData\Roaming\cabal\packages\hackage.haskell.org\binary-
 search\
 0.0\binary-search-0.0.tar.gz
 Extracting
 C:\Users\Paul\AppData\Roaming\cabal\packages\hackage.haskell.org\binary-
 search\
 0.0\binary-search-0.0.tar.gz
 to C:\Users\Paul\AppData\Local\Temp\binary-search-0.04196...
 cabal: Codec.Compression.Zlib: incorrect header check
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/686#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list