[xmonad] darcs record tests fail for XMonadContrib

Gwern Branwen gwern0 at gmail.com
Fri Oct 17 12:10:02 EDT 2008


On 2008.10.17 08:54:00 -0700, Matt Brown <deadguysfrom at gmail.com> scribbled 1.7K characters:
> Hello all,
>
> I'm having trouble creating a patch for XMonadContrib using darcs
> record.  Here's the error:
>
> /usr/bin/ar: creating dist/build/libHSxmonad-contrib-0.8.a
> Preprocessing library xmonad-contrib-0.8...
> Running Haddock for xmonad-contrib-0.8...
> Warning: The documentation for package base-3.0.1.0 is not installed.
> No links to it will be generated.
> Warning: The documentation for package containers-0.1.0.1 is not
> installed. No links to it will be generated.
> Warning: The documentation for package directory-1.0.0.0 is not
> installed. No links to it will be generated.
> Warning: The documentation for package process-1.0.0.0 is not
> installed. No links to it will be generated.
> Warning: The documentation for package random-1.0.0.0 is not
> installed. No links to it will be generated.
> Warning: The documentation for package old-time-1.0.0.0 is not
> installed. No links to it will be generated.
> Warning: The documentation for package old-locale-1.0.0.0 is not
> installed. No links to it will be generated.
> Warning: The documentation for package mtl-1.1.0.0 is not installed.
> No links to it will be generated.
> Warning: The documentation for package unix-2.3.0.0 is not installed.
> No links to it will be generated.
> Warning: The documentation for package X11-1.4.4 is not installed. No
> links to it will be generated.
> Warning: The documentation for package xmonad-0.8 is not installed. No
> links to it will be generated.
> Warning: The documentation for package xmonad-0.8 is not installed. No
> links to it will be generated.
> dist/build/tmp/./XMonad/Util/XSelection.hs:"dist/build/tmp/./XMonad/Util/XSelection.hs":
> 33:1: Parse error
> Test failed!
>
> darcs failed:  exit: ExitFailure 1
>
> Any ideas what could be wrong?
>
> thanks
> -Matt

If you look at the error, it says the problem is on line 33. Line 33 here is '#ifdef USE_UTF8'; that is, it seems your Haddock doesn't like CPP for some reason.

--
gwern
Police NSWC Sponge Pais mindwar CipherTAC-2000 Cell Information SAFE colonel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20081017/bc3dd1af/attachment.bin


More information about the xmonad mailing list