[Rock-dev] [rock] #158: autobuild-1.5.61: output error messages to stderr

rock noreply at opendfki.de
Thu Apr 26 19:42:21 CEST 2012


#158: autobuild-1.5.61: output error messages to stderr
-----------------------------+-----------------------------------
 Reporter:  Armin <armin@…>  |      Owner:  rock-dev-mailing-list
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:
Component:  toolchain        |   Keywords:  autoproj
-----------------------------+-----------------------------------
 Error messages from the compiler are written to a logfile. If the build
 fails, the last 10 lines are displayed to the user.

 If for example an '#include' statement with a missing file is handled by a
 compiler, many lines of error messages can be written to the user/logfile.
 Only the first one is referring to the actual problem. This is quite
 helpful if you use an IDE (Emacs)  which parses the output of autoproj to
 'jump' to the problematic line.

 Adding 'puts line' after line 329 ('Subprocess.run(self, 'build' ...)
 in lib/autobuild/packages/cmake.rb will produce such output (for cmake
 packages).

-- 
Ticket URL: <http://rock.opendfki.de/ticket/158>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list