Ticket #626 (reopened defect)
Package build error due to unicode
| Reported by: | basvandijk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.6.0.1 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: |
Description
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/ftdi-0.1
The log 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)
