Ticket #943 (new defect)

Opened 13 months ago

Last modified 13 months ago

Synopsis field causes haddock build failure

Reported by: davidt Owned by:
Priority: high Milestone: Cabal-1.16
Component: Cabal library Version: 1.14.0
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: 7.4.1 Platform: Linux

Description

For some reason the presence of the 'synopsis' field causes haddock documentation to fail to build.

Steps: $ cabal unpack dclabel $ cabal configure $ cabal haddock

Running Haddock for dclabel-0.0.6...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0, cereal-0.3.5.1
Preprocessing library dclabel-0.0.6...

<command line>:
    Could not find module `The'
    Use -v to see a list of the files searched for.

I assume something is mis-configured on my system but have no idea what and how to fix it

Versions:

$ cabal --version
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1

$ haddock --version
Haddock version 2.10.0, (c) Simon Marlow 2006
Ported to use the GHC API by David Waern 2006-2008

This is on Ubuntu Linux 11.10.

Change History

Changed 13 months ago by davidt

The cabal file contains:

Synopsis:       The Disjunction Category Label Format

If I remove this line, haddock docs builds fine.

Changed 13 months ago by kosmikus

  • priority changed from normal to high
  • milestone set to Cabal-1.16
Note: See TracTickets for help on using tickets.