[Hackage] #141: Cabal throws an ugly "irrefutable pattern match failed" error when confronted to an empty .cabal descriptor

Hackage trac at galois.com
Thu Sep 6 20:46:47 EDT 2007


#141: Cabal throws an ugly "irrefutable pattern match failed" error when
confronted to an empty .cabal descriptor
----------------------------------+-----------------------------------------
  Reporter:  mnislaih             |        Owner:  mnislaih
      Type:  defect               |       Status:  closed  
  Priority:  low                  |    Milestone:          
 Component:  Cabal                |      Version:  HEAD    
  Severity:  minor                |   Resolution:  fixed   
  Keywords:                       |   Ghcversion:  6.6     
Difficulty:  very easy (<1 hour)  |     Platform:  Mac OS  
----------------------------------+-----------------------------------------
Changes (by duncan):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 We now get

 {{{
 setup: Warning: No library or executable specified
 Configuring ...
 setup: Warning: No executables and no library found. Nothing to do.
 setup: Warning: No exposed modules or executables in this package.
 setup: Warning: No license-file field.
 setup: Error: Missing field: name
 setup: Error: Missing field: version
 }}}

 I suppose it could be better yet.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/141>
Hackage <http://example.com/>
My example project


More information about the cabal-devel mailing list