Changes between Version 20 and Version 21 of Building/Troubleshooting


Ignore:
Timestamp:
Aug 27, 2009 10:39:36 AM (5 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Troubleshooting

    v20 v21  
    66 
    77We don't expect anyone to read this page from beginning to end.  The only way you get here is by searching, so remember when adding a new entry the most important thing to do is to '''include the error message verbatim''', so searches will find it.  If a build failure is caused by a bug in GHC or the build system, please link to the ticket number so we can tell when it's safe to remove the entry and keep this page from getting too crufty. 
     8 
     9== haddock: internal Haddock or GHC error: Data.Binary.getWord8: end of file == 
     10 
     11If you see this 
     12{{{ 
     13Documentation created: stage2/doc/html/ghc/index.html 
     14cd libraries && sh gen_contents_index --inplace 
     15haddock: internal Haddock or GHC error: Data.Binary.getWord8: end of file 
     16make[1]: *** [libraries/index.html] Error 1 
     17make: *** [all] Error 2 
     18}}} 
     19it's probably because you have an old library in your tree with incomprehensible `.haddock` files.  Try 
     20{{{ 
     21rm libraries/*/*/doc/*/*/*.haddock 
     22}}} 
    823 
    924=== ar: Bad file number ===