#4510: No links will be generated to these packages: base-4.3.0.0
---------------------------------+------------------------------------------
Reporter: claus | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: Windows | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
As reported earlier, (point 6. in #4292), running haddock (via cabal)
leads to missing documentation links. This was assumed fixed
(comment:4:ticket:4292), but apparently not tested - the problem still
exists (to reproduce, `cabal-install` anything that uses `base` types in
its documentation, on top of a `7.0.1` windows install, with documentation
enabled). As I can't see similar failures in hackage build reports, I
guess the issue is Windows-specific.
From bug report to guessing at causes:
My current best bet is the occurrence of unescaped backslashes in
filepaths in `ghc-pkg` fields (I seem to recall an implicit contract that
these fields are supposed to be valid Haskell Strings?). As a general
remark, using forward-slashes seems to be less error-prone.
Cabal (which generates these warnings, in
`Distribution/Simple/Haddock.hs`) seems to parse these fields as Haskell
Strings, and fails when `doesFileExist` can't find the `.haddock`
interface file.
{{{
haddock-interfaces:
$topdir/../doc/html/libraries/base-4.3.0.0\base.haddock
}}}
There are other fields in `ghc-pkg` output that have unescaped backslashes
in file names (the `*-dirs` family), so apparently the Haskell String
contract is just my imagination?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4510>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs