cabal安装挂起安装yesod-platform

时间:2013-09-30 22:38:23

标签: haskell yesod cabal-install

yesod-platform的cabal安装挂起下载xss-sanitize。 NetHogs没有显示与此下载相关的网络活动。

$ cabal install yesod-platform
Resolving dependencies...
Downloading xss-sanitize-0.3.4...

其他软件包立即下载并安装。

我在使用Fedora 18. haskell-platform和cabal-install是最新的。

$ cabal --version
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1

修改

我让它一夜之间运行它似乎放弃了xss-sanitizer,并继续安装其他依赖项。这是尾巴。

...
Configuring yesod-test-1.2.1...
Building yesod-test-1.2.1...
Preprocessing library yesod-test-1.2.1...
[1 of 3] Compiling Yesod.Test.CssQuery ( Yesod/Test/CssQuery.hs, dist/build/Yesod/Test/CssQuery.o )
[2 of 3] Compiling Yesod.Test.TransversingCSS ( Yesod/Test/TransversingCSS.hs, dist/build/Yesod/Test/TransversingCSS.o )
[3 of 3] Compiling Yesod.Test       ( Yesod/Test.hs, dist/build/Yesod/Test.o )

Yesod/Test.hs:113:1:
    Warning: In the use of `runFakeHandler'
             (imported from Yesod.Core, but defined in yesod-core-1.2.4.2:Yesod.Core.Internal.Run):
             "Usually you should *not* use runFakeHandler unless you really understand how it works and why you need it."
Registering yesod-test-1.2.1...
Installing library in /home/smithd/.cabal/lib/yesod-test-1.2.1/ghc-7.4.1

cabal: Error: some packages failed to install:
xss-sanitize-0.3.4 failed while downloading the package. The exception was:
<socket: 4>: hGetBufSome: timeout (Connection timed out)
yesod-1.2.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-auth-1.2.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-form-1.3.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-platform-1.2.4.2 depends on xss-sanitize-0.3.4 which failed to install.
[smithd@lin2900 ~]$ cabal install yesod-platform

1 个答案:

答案 0 :(得分:0)

我的公司互联网过滤器阻止了haskell-xss-sanitize包作为可能的XSS威胁。特别是测试模块。如果可能,请管理您的管理员白名单。