
On 2008.10.17 08:54:00 -0700, Matt Brown
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