haskell / haskell/cabal

Package build error due to unicode

Open
#619 7 comments 0 reactions 0 assignees View on GitHub
Cabal: cmd/haddock old-milestone: ⊥ type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.