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-22.214.171.124 doesn't exist. Fair enough, it
doesn't, but /usr/share/doc/ghc-6.8.1/libraries/base-126.96.36.199 /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-188.8.131.52 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-184.108.40.206/base.haddock"],
haddockHTMLs = ["/usr/share/doc/ghc/libraries/base-220.127.116.11"]
This is fixed in ghc-6.8.2-8.fc8, which is in testing now.