Issue 123 in xmonad: Full Haddocks can't be built

Issue 123: Full Haddocks can't be built http://code.google.com/p/xmonad/issues/detail?id=123 New issue report by gwern0: 'runhaskell Setup haddock' works fine, but a full haddock with all the docs (with the --executables flag) fails: gwern@localhost:1002~/bin/xmonad>haddock --executable [ 6:18PM] Creating dist/build/tmp (and its parents) Creating dist/doc/html/xmonad (and its parents) Preprocessing library xmonad-0.6... Preprocessing executables for xmonad-0.6... Running Haddock for xmonad-0.6... /usr/bin/ghc-pkg field base-3.0.1.0 haddock-interfaces /usr/bin/ghc-pkg field base-3.0.1.0 haddock-html /usr/bin/ghc-pkg field containers-0.1.0.1 haddock-interfaces Warning: The documentation for package base-3.0.1.0 is not installed. No links to it will be generated. /usr/bin/ghc-pkg field containers-0.1.0.1 haddock-html /usr/bin/ghc-pWarning: The documentation for package containers-0.1.0.1 is not installed. No links to it will be generated. kg field directory-1.0.0.0 haddock-interfaces /usr/bin/ghc-pkg field directory-1.0.0.0 haddock-html /usr/bin/ghc-pkg fieldWarning: The documentation for package directory-1.0.0.0 is not installed. No links to it will be generated. process-1.0.0.0 haddock-interfaces /usr/bin/ghc-pkg field process-1.0.0.0 haddock-html /usr/bin/Warning: The documentation for package process-1.0.0.0 is not installed. No links to it will be generated. ghc-pkg field X11-1.4.1.20080127 haddock-interfaces /usr/bin/ghc-pkg field X11-1.4.1.20080127 haddock-html Warning: The documentation for package X11-1.4.1.20080127 is not installed. No links to it will be generated. /usr/bin/ghc-pkg field mtl-1.1.0.0 haddock-interfaces /usr/bin/ghc-pkg field mtl-1.1.0.0 haddock-html /usr/biWarning: The documentation for package mtl-1.1.0.0 is not installed. No links to it will be generated. n/ghc-pkg field unix-2.3.0.0 haddock-interfaces /usr/bin/ghc-pkg field unix-2.3.0.0 haddock-html /usr/bin/hadWarning: The documentation for package unix-2.3.0.0 is not installed. No links to it will be generated. dock --ghc-version /usr/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library xmonad-0.6... Preprocessing executables for xmonad-0.6... /usr/bin/haddock --html --odir=dist/doc/html/xmonad --title=xmonad-0.6: A tiling window manager --dump-interface=dist/doc/html/xmonad/xmonad.haddock --prologue=dist/xmonad-0.6-haddock-prolog.txt --optghc=-package-name --optghc=xmonad-0.6 -B/usr/lib64/ghc-6.8.2 --optghc=-hide-all-packages --optghc=-package --optghc=base-3.0.1.0 --optghc=-package --optghc=containers-0.1.0.1 --optghc=-package --optghc=directory-1.0.0.0 --optghc=-package --optghc=process-1.0.0.0 --optghc=-package --optghc=X11-1.4.1.20080127 --optghc=-package --optghc=mtl-1.1.0.0 --optghc=-package --optghc=unix-2.3.0.0 --optghc=-i --optghc=-funbox-strict-fields --optghc=-Wall --optghc=-optl-Wl,-s --optghc=-idist/build/autogen --optghc=-i. --optghc=-idist/build --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-XCPP XMonad XMonad.Main XMonad.Core XMonad.Config XMonad.Layout XMonad.ManageHook XMonad.Operations XMonad.StackSet Warning: in export list of "XMonad": module not found: "Graphics.X11" Warning: in export list of "XMonad": module not found: "Graphics.X11.Xlib.Extras" Warning: xmonad-0.6:XMonad.Main: could not find link destinations for: Graphics.X11.Types.Window GHC.Read.Read GHC.IOBase.IO Warning: xmonad-0.6:XMonad.Core: could not find link destinations for: GHC.Base.Monad GHC.Base.Functor Control.Monad.Trans.MonadIO Control.Monad.State.Class.MonadState Control.Monad.Reader.Class.MonadReader Data.Monoid.Monoid Graphics.X11.Types.Window GHC.Base.String GHC.Base.Int GHC.Enum.Enum GHC.Base.Eq GHC.Real.Integral GHC.Num.Num GHC.Base.Ord GHC.Read.Read GHC.Real.Real GHC.Show.Show Graphics.X11.Xlib.Types.Rectangle Data.Set.Set Data.Map.Map Data.Maybe.Maybe Graphics.X11.Xlib.Types.Position Graphics.X11.Xlib.Types.Display Graphics.X11.Xlib.Types.Pixel Graphics.X11.Types.KeyMask Graphics.X11.Types.KeySym Graphics.X11.Types.Button Graphics.X11.Types.ButtonMask Graphics.X11.Xlib.Types.Dimension GHC.Base.Bool Data.Typeable.Typeable GHC.IOBase.IO Graphics.X11.Types.Atom Data.Monoid.Endo Control.Monad.Reader.ReaderT Warning: xmonad-0.6:XMonad.Layout: could not find link destinations for: GHC.Base.Eq GHC.Show.Show Data.Typeable.Typeable GHC.Read.Read GHC.Base.Int GHC.Real.Rational Graphics.X11.Xlib.Types.Rectangle GHC.Real.RealFrac Warning: xmonad-0.6:XMonad.ManageHook: could not find link destinations for: GHC.Base.Bool GHC.Base.Eq GHC.Base.Monad GHC.Base.String Warning: xmonad-0.6:XMonad.Operations: could not find link destinations for: Graphics.X11.Types.Window GHC.Base.Int Graphics.X11.Types.EventMask Graphics.X11.Xlib.Types.Rectangle GHC.Base.Bool Control.Monad.Trans.MonadIO Graphics.X11.Xlib.Types.Display Data.Maybe.Maybe Graphics.X11.Types.KeyMask GHC.Base.String GHC.IOBase.IO Graphics.X11.Xlib.Types.Pixel Graphics.X11.Xlib.Types.Position Graphics.X11.Xlib.Types.Dimension GHC.Real.Integral Graphics.X11.Xlib.Extras.SizeHints Warning: xmonad-0.6:XMonad.StackSet: could not find link destinations for: Data.Map.Map GHC.Base.Eq GHC.Base.Ord GHC.Read.Read GHC.Show.Show Data.Maybe.Maybe GHC.Real.Rational GHC.Real.Integral GHC.Base.Bool GHC.Base.String Documentation created: dist/doc/html/xmonad/index.html Creating dist/doc/html/xmonad/xmonad (and its parents) Creating dist/build/tmp/./ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/Main.hs Main.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad.hs XMonad.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./XMonad/ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad/Main.hs XMonad/Main.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./XMonad/ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad/Core.hs XMonad/Core.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./XMonad/ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad/Config.hs XMonad/Config.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./XMonad/ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad/Layout.hs XMonad/Layout.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./XMonad/ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad/ManageHook.hs XMonad/ManageHook.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./XMonad/ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad/Operations.hs XMonad/Operations.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 Creating dist/build/tmp/./XMonad/ (and its parents) /usr/bin/ghc -E -cpp -x hs -o dist/build/tmp/XMonad/StackSet.hs XMonad/StackSet.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL__=608 /usr/bin/haddock --html --odir=dist/doc/html/xmonad/xmonad --title=xmonad --prologue=dist/xmonad-0.6-haddock-prolog.txt -B/usr/lib64/ghc-6.8.2 --optghc=-hide-all-packages --optghc=-package --optghc=base-3.0.1.0 --optghc=-package --optghc=containers-0.1.0.1 --optghc=-package --optghc=directory-1.0.0.0 --optghc=-package --optghc=process-1.0.0.0 --optghc=-package --optghc=X11-1.4.1.20080127 --optghc=-package --optghc=mtl-1.1.0.0 --optghc=-package --optghc=unix-2.3.0.0 --optghc=-i --optghc=-funbox-strict-fields --optghc=-Wall --optghc=-optl-Wl,-s --optghc=-idist/build/autogen --optghc=-i. --optghc=-idist/build/xmonad/xmonad-tmp --optghc=-odir --optghc=dist/build/xmonad/xmonad-tmp --optghc=-hidir --optghc=dist/build/xmonad/xmonad-tmp --optghc=-XCPP ./Main.hs XMonad XMonad.Main XMonad.Core XMonad.Config XMonad.Layout XMonad.ManageHook XMonad.Operations XMonad.StackSet ./Main.hs:46:0: parse error in doc string haddock: Failed to load all needed modules Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com