Summary: | ghc 6.2 requires haddock 0.6 to build documentation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan Coutts (RETIRED) <dcoutts> |
Component: | [OLD] Development | Assignee: | Andres Loeh (RETIRED) <kosmikus> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | howard_b_golden |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Duncan Coutts (RETIRED)
![]() I'll take this one. You're right, of course. I've changed the dependency to haddock-0.6 if USE="doc". It may be that haddock is also called if USE="-doc". I'll run a few tests and adapt the ebuild accordingly. Andres Andres, ghc-6.2 ebuild is also looking for haddock-0.6 in a different directory than where it's installed. See the ebuild failure message below. (Note: There is a file /usr/share/doc/haddock-0.6/haddock.css, but not /usr/share/haddock-0.6/haddock.css.) /usr/bin/haddock -t "Haskell Hierarchical Libraries (base package)" --no-implicit-prelude -h -o html Control/Arrow.raw-hs Control/Concurrent.raw-hs Control/Concurrent/Chan.raw-hs Control/Concurrent/MVar.raw-hs Control/Concurrent/QSem.raw-hs Control/Concurrent/QSemN.raw-hs Control/Concurrent/SampleVar.raw-hs Control/Exception.raw-hs Control/Monad.raw-hs Control/Monad/Cont.raw-hs Control/Monad/Error.raw-hs Control/Monad/Fix.raw-hs Control/Monad/Identity.raw-hs Control/Monad/List.raw-hs Control/Monad/RWS.raw-hs Control/Monad/Reader.raw-hs Control/Monad/ST.raw-hs Control/Monad/ST/Lazy.raw-hs Control/Monad/ST/Strict.raw-hs Control/Monad/State.raw-hs Control/Monad/Trans.raw-hs Control/Monad/Writer.raw-hs Control/Parallel.raw-hs Data/Array.raw-hs Data/Array/Base.raw-hs Data/Array/Diff.raw-hs Data/Array/IArray.raw-hs Data/Array/IO.raw-hs Data/Array/IO/Internals.raw-hs Data/Array/MArray.raw-hs Data/Array/ST.raw-hs Data/Array/Storable.raw-hs Data/Array/Unboxed.raw-hs Data/Bits.raw-hs Data/Bool.raw-hs Data/Char.raw-hs Data/Complex.raw-hs Data/Dynamic.raw-hs Data/Either.raw-hs Data/FiniteMap.raw-hs Data/Generics.raw-hs Data/Generics/Aliases.raw-hs Data/Generics/Basics.raw-hs Data/Generics/Reify.raw-hs Data/Generics/Schemes.raw-hs Data/Generics/Text.raw-hs Data/Generics/Twins.raw-hs Data/Graph.raw-hs Data/HashTable.raw-hs Data/IORef.raw-hs Data/Int.raw-hs Data/Ix.raw-hs Data/List.raw-hs Data/Maybe.raw-hs Data/Monoid.raw-hs Data/PackedString.raw-hs Data/Ratio.raw-hs Data/STRef.raw-hs Data/STRef/Lazy.raw-hs Data/STRef/Strict.raw-hs Data/Set.raw-hs Data/Tree.raw-hs Data/Tuple.raw-hs Data/Typeable.raw-hs Data/Unique.raw-hs Data/Word.raw-hs Debug/Trace.raw-hs Foreign.raw-hs Foreign/C.raw-hs Foreign/C/Error.raw-hs Foreign/C/String.raw-hs Foreign/C/Types.raw-hs Foreign/Concurrent.raw-hs Foreign/ForeignPtr.raw-hs Foreign/Marshal.raw-hs Foreign/Marshal/Alloc.raw-hs Foreign/Marshal/Array.raw-hs Foreign/Marshal/Error.raw-hs Foreign/Marshal/Pool.raw-hs Foreign/Marshal/Utils.raw-hs Foreign/Ptr.raw-hs Foreign/StablePtr.raw-hs Foreign/Storable.raw-hs GHC/Arr.raw-hs GHC/Base.raw-hs GHC/Conc.raw-hs GHC/Dotnet.raw-hs GHC/Enum.raw-hs GHC/Err.raw-hs GHC/Exception.raw-hs GHC/Exts.raw-hs GHC/Float.raw-hs GHC/ForeignPtr.raw-hs GHC/Handle.raw-hs GHC/IO.raw-hs GHC/IOBase.raw-hs GHC/Int.raw-hs GHC/List.raw-hs GHC/Num.raw-hs GHC/Pack.raw-hs GHC/Ptr.raw-hs GHC/Read.raw-hs GHC/Real.raw-hs GHC/ST.raw-hs GHC/STRef.raw-hs GHC/Show.raw-hs GHC/Stable.raw-hs GHC/Storable.raw-hs GHC/TopHandler.raw-hs GHC/Unicode.raw-hs GHC/Weak.raw-hs GHC/Word.raw-hs Numeric.raw-hs Prelude.raw-hs System/CPUTime.raw-hs System/Cmd.raw-hs System/Console/GetOpt.raw-hs System/Directory.raw-hs System/Environment.raw-hs System/Exit.raw-hs System/IO.raw-hs System/IO/Error.raw-hs System/IO/Unsafe.raw-hs System/Info.raw-hs System/Locale.raw-hs System/Mem.raw-hs System/Mem/StableName.raw-hs System/Mem/Weak.raw-hs System/Posix/Internals.raw-hs System/Posix/Signals.raw-hs System/Posix/Types.raw-hs System/Random.raw-hs System/Time.raw-hs Text/Html.raw-hs Text/Html/BlockTable.raw-hs Text/ParserCombinators/ReadP.raw-hs Text/ParserCombinators/ReadPrec.raw-hs Text/PrettyPrint.raw-hs Text/PrettyPrint/HughesPJ.raw-hs Text/Read.raw-hs Text/Read/Lex.raw-hs Text/Regex.raw-hs Text/Regex/Posix.raw-hs Text/Show.raw-hs Text/Show/Functions.raw-hs \ --package=base \ --dump-interface=base.haddock \ --use-index=../doc-index.html --use-contents=../index.html \ Warning: GHC.Err: the following names could not be resolved: String Addr# Bool Warning: in export list of GHC.Base: module not found: GHC.Prim Warning: GHC.Base: the following names could not be resolved: Char# Int# Word# Addr# Warning: GHC.Ptr: the following names could not be resolved: Addr# Warning: Data.Tree: the following names could not be resolved: Eq Read Show Functor String Warning: GHC.List: the following names could not be resolved: Int# Warning: Data.FiniteMap: the following names could not be resolved: Maybe Int# Warning: GHC.Show: the following names could not be resolved: Int# Warning: GHC.Num: the following names could not be resolved: Int# ByteArray# Warning: GHC.ST: the following names could not be resolved: State# Warning: GHC.Arr: the following names could not be resolved: Array# MutableArray# Warning: GHC.Float: the following names could not be resolved: Float# Double# Int# ByteArray# Warning: GHC.Pack: the following names could not be resolved: ByteArray# MutableByteArray# Int# Char# Warning: GHC.STRef: the following names could not be resolved: MutVar# Warning: GHC.IOBase: the following names could not be resolved: State# MVar# MutableByteArray# Dynamic Warning: GHC.Conc: the following names could not be resolved: ThreadId# Warning: GHC.Stable: the following names could not be resolved: StablePtr# Warning: GHC.Weak: the following names could not be resolved: Weak# Array# Warning: GHC.Word: the following names could not be resolved: Word# Word64# Int# Int64# ByteArray# Warning: GHC.Int: the following names could not be resolved: Int# Int64# Word# Word64# ByteArray# Warning: Data.Generics.Basics: the following names could not be resolved: Bool String Int Integer Float Char Show Eq Rational Either Warning: Data.Generics.Aliases: the following names could not be resolved: Maybe Warning: Data.Generics.Schemes: the following names could not be resolved: Bool Maybe Warning: Data.Generics.Reify: the following names could not be resolved: Bool Int Maybe Warning: Data.Generics.Twins: the following names could not be resolved: Monad Bool Maybe Warning: Data.Generics.Text: the following names could not be resolved: String Warning: GHC.ForeignPtr: the following names could not be resolved: ForeignObj# MutableByteArray# Warning: GHC.IO: the following names could not be resolved: commitBuffer' hGetcBuffered Warning: System.Posix.Signals: the following names could not be resolved: IO Maybe Bool String Warning: GHC.Dotnet: the following names could not be resolved: Addr# State# Warning: Prelude: the following names could not be resolved: seq Warning: Control.Monad.ST.Lazy: the following names could not be resolved: State# Warning: Data.Array.Base: the following names could not be resolved: ByteArray# MutableByteArray# Int# Word# Warning: Data.Graph: the following names could not be resolved: Ord Int Bool Warning: in export list of GHC.Exts: module not found: GHC.Prim Warning: System.Mem.StableName: the following names could not be resolved: StableName# Warning: Control.Concurrent: the following names could not be resolved: ThreadId# Fail: does not exist Action: openFile Reason: No such file or directory File: /usr/share/haddock-0.6/haddock.css make[2]: *** [html/haddock.css] Error 1 make[1]: *** [html] Error 1 make: *** [html] Error 1 !!! ERROR: dev-lang/ghc-6.2 failed. !!! Function src_compile, Line 105, Exitcode 2 !!! make html failed I hope that this is all resolved now. Please complain if you still have problems ;) ks Yep, works for me now. I used USE="doc -tetex". Thanks for the fixes. |