1.15.1 Build failure with haddock #2457
$ haddock --version
Haddock version 2.16.1, (c) Simon Marlow 2006
Ported to use the GHC API by David Waern 2006-2008
Hrm, strange :/
Now I've tried with both 2.16.0 and 2.16.1, and I don't get an error with either version when doing cabal haddock --html --hoogle
.
I just figured out the problem - it only fails with locale setting to "C". The last version 1.15.0.6 didn't have the issue though, so this is probably related to this commit: 82b3e0a
By specifying LC_CTYPE=en_US.UTF-8
for runhaskell Setup haddock --hoogle --html
the problem no longer occurs.
@MarLinn - I'm thinking it would be good to remove the use of unicode symbols (or at least unicode symbols in Haddocks), in order to make the build procedure as robust as possible. (This is an error others might encounter too, and it's not at all obvious how to fix it.) Would you mind finding new names for the unicode symbols -- I think it's just one or two?
I am building latest pandoc (1.15.1) on Arch with all dependency being latest. It failed with the following error. 1.15.0.6 builds just fine in the same environment, though.
Package versions:
I don't know if it's a problem in haddock or pandoc, or even in my build environment. Would like some suggestions, many thanks!