haskell / haskell/cabal

Package build error due to unicode

未关闭
#619 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Cabal: cmd/haddock old-milestone: ⊥ type: bug
主要语言
Haskell
星标
1.7k
派生
750
平均合并
4 天 3 小时
30 天内合并 PR
28

描述

(Imported from [Trac #626](http://hackage.haskell.org/trac/hackage/ticket/626), reported by @basvandijk on 2010-01-26)

The following packages don't build on hackage due to the same error:
- [http://hackage.haskell.org/package/regions-0.3](http://hackage.haskell.org/package/regions-0.3)
- [http://hackage.haskell.org/package/ftdi-0.1](http://hackage.haskell.org/package/ftdi-0.1)

The [log](http://hackage.haskell.org/packages/archive/regions/0.3/logs/failure/ghc-6.12) contains the following error:

haddock: internal Haddock or GHC error: dist/doc/html/regions/regions.txt: commitAndReleaseBuffer: invalid argument (Invalid or incomplete multibyte or wide character)

I think the .txt file is generated because of the haddock --hoogle flag.

Note that these package make heavy use of Unicode syntax and symbols.

Note that cabal haddock works perferctly on my local system (tested with ghc-6.10.4 + haddock-2.5 + cabal-install-0.6.2 and ghc-6.12.1 + haddock-2.6.0 + cabal-install-0.8.0)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。