[GHC] #6133: bad error message when incorrect format package db is supplied (was: ghc dies when I use a package.conf in $GHC_PACKAGE_PATH)

GHC cvs-ghc at haskell.org
Thu May 31 00:50:10 CEST 2012


#6133: bad error message when incorrect format package db is supplied
--------------------------------+-------------------------------------------
 Reporter:  gfxmonk             |          Owner:                  
     Type:  bug                 |         Status:  new             
 Priority:  normal              |      Component:  ghc-pkg         
  Version:  7.0.4               |       Keywords:                  
       Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple
  Failure:  Compile-time crash  |       Testcase:                  
Blockedby:                      |       Blocking:                  
  Related:                      |  
--------------------------------+-------------------------------------------

Comment(by duncan):

 Replying to [comment:2 gfxmonk]:
 > Is there a way to explicitly generate of an "old style" db file instead
 of a folder & cache?

 Yes:

 old style:
 {{{
 echo [] > package.conf
 }}}

 new style:
 {{{
 ghc-pkg init package.conf.d
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6133#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list