darcs record tests fail for XMonadContrib

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

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

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.
Yeah, this is true for older versions of Haddock. Matt, what version of haddock do you have? I'd recommend upgrading to the newest stable version (2.something). -Brent

Looks like 0.8-2 (from ubuntu's hardy repo). I'll upgrade and try
again later tonight.
thanks
-matt
On Fri, Oct 17, 2008 at 11:04 AM, Brent Yorgey
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.
Yeah, this is true for older versions of Haddock. Matt, what version of haddock do you have? I'd recommend upgrading to the newest stable version (2.something).
-Brent
participants (3)
-
Brent Yorgey
-
Gwern Branwen
-
Matt Brown