darcs

Issue 1187 haddock sometimes fails, http://joyful.com/repos/darcs-unstable/api-doc/ broken

Title haddock sometimes fails, http://joyful.com/repos/darcs-unstable/api-doc/ broken
Priority urgent Status resolved
Milestone Resolved in
Superseder Nosy List ckeen, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur
Assigned To
Topics

Created on 2008-10-30.15:28:47 by simon, last changed 2009-08-27.14:13:22 by admin.

Messages
msg6534 (view) Author: simon Date: 2008-10-30.15:28:44
On Oct 30, 2008, at 3:33 AM, Christian Kellermann wrote:
> if you have some spare time, could you look after
> http://joyful.com/repos/darcs-unstable/api-doc/?  It looks broken
> to me.

Thanks for the bug report Christian. I looked into it and I'm not sure  
how to fix it quickly, and would welcome help. The problem is that  
current haddock (2.2.2) is fragile and make api-doc-with-source can  
fail with "haddock: internal Haddock or GHC error: renameDecl"  
depending on what it has to parse. I think small doc changes have  
fixed this in the past, removing recent haddock-related patches would  
be a good thing to try.

A second issue is that the makefile generates this recursive frame  
when haddock fails, maybe it could do something more graceful as a  
fallback (like show the non-source-linked "make api-doc" output ?)
msg6535 (view) Author: simon Date: 2008-10-30.15:33:21
I see latest haddock may fix it: http://trac.haskell.org/haddock/ticket/55 
  . I'll try.
msg6538 (view) Author: simon Date: 2008-10-30.16:23:11
Fixed with haddock from darcs and some makefile tweaks.
History
Date User Action Args
2008-10-30 15:28:47simoncreate
2008-10-30 15:33:23simonsetstatus: unread -> unknown
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, ckeen
messages: + msg6535
2008-10-30 15:37:56simonsetpriority: urgent
status: unknown -> has-patch
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, ckeen
2008-10-30 16:23:13simonsetstatus: has-patch -> resolved
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, ckeen
messages: + msg6538
2009-08-10 23:50:00adminsetnosy: - dagit
2009-08-25 17:33:06adminsetnosy: + darcs-devel, - simon
2009-08-27 14:13:22adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, ckeen