Ticket #3636 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

ghc --make sends progress output to stderr

Reported by: ab Owned by: igloo
Priority: normal Milestone: 7.0.1
Component: Compiler Version: 6.10.4
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

This is a relatively minor problem, but it is really annoying. Running ghc --make generates progress output on the standard error stream rather than the usual standard out. For example, lines such as the following appear on stderr:

[ 1 of 13] Compiling Poly             ( tools/mackerel/Poly.hs, Poly.o )
[ 2 of 13] Compiling Space            ( tools/mackerel/Space.hs, Space.o )

Could you please consider changing this so that progress output goes to stdout and only actual errors go to stderr? Without this, it is much harder to quieten the output from ghc but still see actual errors, and various build system tools incorrectly identify the progress output as error messages.

Change History

Changed 4 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.14.1

Thanks for the report.

Changed 3 years ago by igloo

  • owner set to igloo
  • failure set to None/Unknown

Changed 3 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Fixed:

Sun Aug  8 15:25:42 BST 2010  Ian Lynagh <igloo@earth.li>
  * Send ghc progress output to stdout; fixes #3636
Note: See TracTickets for help on using tickets.