haddock: internal Haddock or GHC error: Win32-version:: openBinaryFile: invalid argument (Invalid argument)
This change to gen_contents_index
:
VERSION=`grep -i '^version:' $LIBPATH/$NAME.cabal | sed 's/.*[ \t]//'`
looks like it has caused this problem for SPJ on MSYS:
cd libraries && sh gen_contents_index --inplace
haddock: internal Haddock or GHC error: Win32-version:: openBinaryFile: invalid argument (Invalid argument)
make[1]: *** [libraries/index.html] Error 1
make: *** [all] Error 2
sh-3.1$
Presumably the problem is that the sed didn't remove what it was meant to, presumably because the '\t' didn't end up matching the tab character in the file.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | high |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |