[Pkg-haskell-maintainers] Bug#728584: cabal-install hangs
Zhang Zengbo
zengbo.zhang at gmail.com
Sun Nov 3 11:41:56 UTC 2013
Package: cabal-install
Version: 1.16.0.2-2
Severity: important
Dear Maintainer,
I am a new user of haskell-platform. After I installed it, I simply run:
cabal update, it hangs, then I try to use --verbose=3 to see what happend:
$ cabal update --verbose=3
Downloading the latest package list from hackage.haskell.org
Sending:
GET /packages/archive/00-index.tar.gz HTTP/1.1
Host: hackage.haskell.org
User-Agent: cabal-install/1.16.0.2
Creating new connection to hackage.haskell.org
Received:
HTTP/1.1 301 Moved Permanently
Server: nginx/1.4.2
Date: Sun, 03 Nov 2013 11:28:43 GMT
Content-Type: text/plain; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Location: /packages/index.tar.gz
Content-Length: 0
301 - redirect
Redirecting to http://hackage.haskell.org/packages/index.tar.gz ...
Sending:
GET /packages/index.tar.gz HTTP/1.1
Host: hackage.haskell.org
User-Agent: cabal-install/1.16.0.2
Recovering connection to hackage.haskell.org
It hangs after the last output line of "Recovering connecton to hackage.haskell.org"
I don't know if it is related to cabal-install itself or something else. however I
did additional tests:
1) proxychains cabal update,
$ proxychains cabal update --verbose=3
ProxyChains-3.1 (http://proxychains.sf.net)
Downloading the latest package list from hackage.haskell.org
Sending:
GET /packages/archive/00-index.tar.gz HTTP/1.1
Host: hackage.haskell.org
User-Agent: cabal-install/1.16.0.2
Creating new connection to hackage.haskell.org
|DNS-request| hackage.haskell.org
|S-chain|-<>-127.0.0.1:7070-<><>-4.2.2.2:53-<><>-OK
|DNS-response| hackage.haskell.org is 88.198.224.242
Segmentation fault
Note: my proxychains works well with wget.
2) install Wheezy (7.2) using debootstrap, chroot to it, install haskell platform and
proxychains, do cabal update
with and without proxychains, same results : hang without proxychains, Segmentation fault
with proxychains.
3) install Wheezy (7.2) using kvm, do same as 2), once again get same results.
So I guess there is something wrong in the network part of cabal-install.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cabal-install depends on:
ii libc6 2.17-93
ii libffi6 3.0.13-4
ii libgmp10 2:5.1.2+dfsg-3
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages cabal-install recommends:
ii ghc 7.6.3-5
cabal-install suggests no packages.
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list