#3669: haddock: internal Haddock or GHC error: Win32-version:: openBinaryFile:
invalid argument (Invalid argument)
-------------------------------+--------------------------------------------
Reporter: igloo | Owner: igloo
Type: bug | Status: new
Priority: high | Milestone: 6.12.1
Component: Compiler | Version: 6.10.4
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-------------------------------+--------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3669>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs