Red Hat Bugzilla – Bug 425974
package.conf gives haddock dirs with incorrect path
Last modified: 2008-01-14 23:18:41 EST
Description of problem:
Given eg --package base, haddock complains
that /usr/share/doc/ghc/libraries/base-126.96.36.199 doesn't exist. Fair enough, it
doesn't, but /usr/share/doc/ghc-6.8.1/libraries/base-188.8.131.52 /does/ exist.
It looks to me that either haddock needs to know the version number of the
installed ghc-doc, or ghc or ghc-doc should install a symlink to the correct
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. haddock --use-package base -h SomeHaddockedHaskell.hs
Warning: cannot use package base:
HTML directory /usr/share/doc/ghc/libraries/base-184.108.40.206 does not exist.
links to the base package in the haddock output.
It seems this is actually ghc's fault, at least package.conf is listing:
haddockInterfaces = ["/usr/share/doc/ghc/libraries/base-220.127.116.11/base.haddock"],
haddockHTMLs = ["/usr/share/doc/ghc/libraries/base-18.104.22.168"]
This is fixed in ghc-6.8.2-8.fc8, which is in testing now.