Skip to content

ghc-pkg prints warnings to stdout instead of stderr

The warning

WARNING: cache is out of date: /var/lib/ghc-6.12.1/package.conf.d/package.cache
  use 'ghc-pkg recache' to fix.

is printed to stdout, which breaks scripts. It should be printed to stderr instead.

Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Package system
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information