Bug 237398
Summary: | Wrong haddock-* paths in package.conf | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Roberto Zunino <zunino> |
Component: | ghc | Assignee: | Bryan O'Sullivan <bos> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7 | CC: | petersen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-01-16 04:12:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 425974 | ||
Bug Blocks: |
Description
Roberto Zunino
2007-04-21 22:54:31 UTC
Jens, I can take this. Reassign to yourself if you really, really want it :-) Thanks, Bryan. BTW is this a ghc bug or an haddock issue? Don't know yet :-) This bug is still present in Fedora 7. Our ghc-6.6.1 had /usr/share/ghc-6.6.1/html/libraries/<package>. We are overriding docdir when build the ghc haddock files but that doesn't seem to be reaching the package.conf file. It would be good to ask about it upstream anyway IMHO. Otherwise a simple workaround for now would be just to tweak the package.conf file with "sed -i" say. Though that would be a bad hack. I'm trying a fix with the configure script. If that doesn't work, I'll file a bug upstream and write a sed script to mangle package.conf. There is indeed an upstream bug: http://hackage.haskell.org/trac/ghc/ticket/2020 But I might have a workaround. I've got a build going in koji right now: http://koji.fedoraproject.org/koji/taskinfo?taskID=330010 That took a lot of work, but here's a fixed version. It's in F-8 testing now. http://koji.fedoraproject.org/koji/buildinfo?buildID=30503 ghc-6.8.2-8.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ghc' Updated to testing as suggested, but still wrong paths: $ ghc-pkg describe base | grep haddock haddock-interfaces: /usr/share/doc/ghc/libraries/base/base.haddock haddock-html: /usr/share/doc/ghc/libraries/base (should be ghc-6.8.2) Also see #425974 What release of the package is installed now? Should be ghc-6.8.2-8.fc8 which has the correct paths. The release was the right one (ghc682-6.8.2-8.fc8), but my package.conf file was not updated, likely because it's a conf file and was somehow modified (by installing the gtk2hs RPM I guess). S.5....T c /usr/lib64/ghc-6.8.2/package.conf (BTW Cabal should really install one file per package, rather than put everything in the global package.conf.) Sorry for the spam. Yes, package.conf is marked as noreplace, so that behaviour is expected. ghc-6.8.2-8.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |