[Hackage] #404: Setup.hs haddock requires Setup.hs build but doesn't warn

Hackage trac at galois.com
Tue Nov 11 15:12:17 EST 2008


#404: Setup.hs haddock requires Setup.hs build but doesn't warn
----------------------------+-----------------------------------------------
  Reporter:  taejo          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.2.3.0
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:                 |  
----------------------------+-----------------------------------------------
 Building haddocks requires compilation (at least for Cabal itself)

 {{{
 $ runhaskell Setup.hs haddock
 Preprocessing library Cabal-1.6.0.1...
 Running Haddock for Cabal-1.6.0.1...
 Warning: The documentation for the following packages are not installed.
 No
 links will be generated to these packages: rts-1.0

 <command-line>:15:0:
      error: dist/build/autogen/cabal_macros.h: No such file or directory
 }}}

 This should say that "build" needs to be run first.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/404>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list