[Hackage] #412: build-reports: option is invalid in a config file

Hackage trac at galois.com
Fri Nov 21 21:24:06 EST 2008

#412: build-reports: option is invalid in a config file
  Reporter:  guest               |        Owner:       
      Type:  defect              |       Status:  new  
  Priority:  normal              |    Milestone:       
 Component:  cabal-install tool  |      Version:  HEAD 
  Severity:  normal              |     Keywords:       
Difficulty:  easy (<4 hours)     |   Ghcversion:  6.8.3
  Platform:                      |  
 With darcs (tonight) cabal and cabal-install, I see the generated
 .cabal/config includes the line '-- build-reports:', suggesting that this
 is a valid configuration option.

 However, it is not. If one uncomments it to 'build-reports: True', then
 Cabal warns and apparently ignores one's configuration as corrupt:

 gwern at craft:29302~>cabal update
 Warning: Error parsing config file /home/gwern/.cabal/config:9: "True"
 Warning: Using default configuration.
 Downloading package list from server

 The syntax is valid, the True is correct, it's not listed as being part of
 a section. further, --build-reports is a valid CLI option:

 gwern at craft:29304~>rm .cabal/config && mv config .cabal && cabal install
 --build-reports ztail                       [ 9:21PM]
 Resolving dependencies...
 Downloading hinotify-0.2...
 [1 of 1] Compiling Main             (
 /tmp/TMPhinotify-0.2/hinotify-0.2/dist/setup/Main.o )
 Linking /tmp/TMPhinotify-0.2/hinotify-0.2/dist/setup/setup ...
 Downloading ztail-1.0...

 Either the default config is lying/wrong, or the build-reports: option is

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

More information about the cabal-devel mailing list