Ticket #3669 (closed bug: fixed)
haddock: internal Haddock or GHC error: Win32-version:: openBinaryFile: invalid argument (Invalid argument)
| Reported by: | igloo | Owned by: | igloo |
|---|---|---|---|
| Priority: | high | Milestone: | 6.12.1 |
| Component: | Compiler | Version: | 6.10.4 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
