Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440982 - Please add --quiet-fail option
Summary: Please add --quiet-fail option
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 445274
  Show dependency tree
 
Reported: 2012-11-02 16:57 UTC by Agostino Sarubbo
Modified: 2015-03-26 00:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-11-02 16:57:38 UTC
As discussed on irc, if we use:
emerge -q foo

the option '--quiet' is respected only when there aren't build failure. I'd like to have an option to suppress entire build log in cases of failure.

If you want to do and advanced work, you can define another options that will show the number of lines of log you have defined e.g.: --quiet-fail-line 50 will show the last 50 lines of the log
Comment 1 Zac Medico gentoo-dev 2012-11-29 07:55:55 UTC
This is fixed in git:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c74a19691f5cbc0ec070d5fd4ffe1983bde05a09

(In reply to comment #0)
> If you want to do and advanced work, you can define another options that
> will show the number of lines of log you have defined e.g.:
> --quiet-fail-line 50 will show the last 50 lines of the log

Well, I don't think we need that much granularity. The path to the log is displayed, so it's easy enough to see it for yourself.
Comment 2 Zac Medico gentoo-dev 2012-11-29 23:53:33 UTC
This is fixed in 2.1.11.32 and 2.2.0_alpha143.
Comment 3 Zac Medico gentoo-dev 2015-03-26 00:50:32 UTC
*** Bug 544098 has been marked as a duplicate of this bug. ***